今天,我想删除一些垃圾邮件用户从我的管理仪表板上的WP和搜索,但提出了空白的屏幕。然后,我将define('WP_DEBUG', false)关闭为TRUE。我尝试删除一些插件和cgot白屏幕,也做了FTP,但他们仍然显示在WP插件列表。基本上,我得到了大量的白色屏幕,我不知道如何修复它。有什么想法吗?下面是我打开调试时遇到的问题:
严格标准:在第69行的/home/mutantsp/public_html/wp-content/plugins/flexo-archives-widget/flexo_archives_widget.php中重新定义FlexoArchives类的已定义构造函数 弃用:在第801行的/home/mutantsp/public_html/wp-content/plugins/flexo-archives-widget/flexo_archives_widget.php中不推荐通过引用分配新的返回值 注意:未定义的属性:第111行/home/mutantsp/public_html/wp-content/plugins/flexo-archives-widget/flexo_archives_widget.php中的FlexoArchives::$OPT_YRCOUNT_STANDALONE 注意:未定义的属性:第112行/home/mutantsp/public_html/wp-content/plugins/flexo-archives-widget/flexo_archives_widget.php中的FlexoArchives::$OPT_YRCOUNT 注意:未定义的属性:第124行中的/home/mutantsp/public_html/wp-content/plugins/flexo-archives-widget/flexo_archives_widget.php中的FlexoArchives::$OPT_YRCOUNT_STANDALONE 注意: register_uninstall_hook被错误地调用。在卸载钩子中只能使用静态类方法或函数。有关详细信息,请参阅WordPress中的调试。(此消息是在3.1版中添加的。)在第3547行的/home/mutantsp/public_html/wp-includes/functions.php中 注意: wp_enqueue_style被错误地调用。脚本和样式不应该在wp_enqueue_scripts、admin_enqueue_scripts或login_enqueue_scripts挂钩之前注册或排队。有关详细信息,请参阅WordPress中的调试。(此消息是在3.3版中添加的。)在第3547行的/home/mutantsp/public_html/wp-includes/functions.php中 注意:在调用load_plugin_textdomain时,使用了一个参数,该参数自2.7版本以来就不再受欢迎,没有其他可用的选项。在第3497行的/home/mutantsp/public_html/wp-includes/functions.php中 严格标准:第48行的/home/mutantsp/public_html/wp-content/themes/classipress/framework/kernel/page-edit-profile.php中的APP_User_Profile::get_id()声明应该与APP_Page_Template::get_id($template)兼容 严格标准:非静态方法APP_Updater::init()不应在第74行的/home/mutantsp/public_html/wp-content/themes/classipress/framework/admin/updater.php中静态调用。 严格标准:在第1770行的/home/mutantsp/public_html/wp-content/themes/classipress/includes/theme-functions.php中,cp_CategoryDropdown::start_el()的声明应该与Walker::start_el($output,$object,$depth = 0,$args = Array,$current_object_id = 0)兼容 注意: has_cap是用一个参数调用的,该参数自2.0版本以来就不再受欢迎了!不推荐通过插件和主题来使用用户级别。而是使用角色和功能。在第3495行的/home/mutantsp/public_html/wp-includes/functions.php中 严格标准: /home/mutantsp/public_html/wp-includes/plugin.php ()要求参数1是一个有效的回调,在第213行的call_user_func_array中不应该静态地调用非静态方法APP_Updater::exclude_themes()。 严格标准: /home/mutantsp/public_html/wp-includes/plugin.php ()要求参数1是一个有效的回调,非静态方法APP_Updater::check_updates()不应该在第213行的APP_Updater::check_updates()中静态地调用到主内容。 严格标准: /home/mutantsp/public_html/wp-includes/plugin.php ()要求参数1是有效的回调,在第496行的/home/mutantsp/public_html/wp-includes/plugin.php中不应该静态地调用非静态方法APP_Updater::display_warning()。
发布于 2015-03-28 10:39:49
您不需要使用define('WP_DEBUG', false);,这只是为了开发人员的调试目的。
然后,我尝试删除一些插件,并获得白色屏幕,所以通过FTP。
因为激活的插件是在数据库中存储的,当wordpress试图定位该插件并生成错误时。你应该删除该插件通过管理部门的。
这就是如何在数据库中找到激活的插件
SELECT * FROM `wp_options` WHERE `option_name` like '%active_plugins%'对于用户,请确保取消选中Settings > General Settings中的成员资格选项
还要确保您使用的是最新的WordPress版本。
https://stackoverflow.com/questions/29316086
复制相似问题