通过WordPress管理员删除插件

时间:2015-03-28 10:32:05

标签: php wordpress

今天我打算从WP中的管理信息中心删除一些垃圾邮件用户并搜索它们,但想出了空白屏幕。然后,我将define('WP_DEBUG', false)关闭为TRUE。我gthen试图删除一些插件和cgot白色屏幕所以它做了fia FTP但他们仍然出现在WP插件列表中。基本上我得到了很多白色屏幕,我不知道如何解决它。有任何想法吗?以下是我打开DEBUG时遇到的问题:

  

严格标准:在第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版以来不推荐使用的参数调用的。在/home/mutantsp/public_html/wp-includes/functions.php第3497行

     

严格标准:APP_User_Profile :: get_id()声明应与/ home / mutantsp / public_html / wp-content / themes / classipress / framework / kernel / page-edit-中的APP_Page_Template :: get_id($ template)兼容第48行的profile.php

     

严格标准:非静态方法APP_Updater :: init()不应在第74行的/home/mutantsp/public_html/wp-content/themes/classipress/framework/admin/updater.php中静态调用

     

严格标准:cp_CategoryDropdown :: start_el()声明应与/ home /中的Walker :: start_el(& $ output,$ object,$ depth = 0,$ args = Array,$ current_object_id = 0)兼容第1770行的mutantsp / public_html / wp-content / themes / classipress / includes / theme-functions.php

     

注意:使用自2.0版以来不推荐使用的参数调用has_cap!不推荐使用插件和主题来使用用户级别。请改用角色和功能。在第3495行的/home/mutantsp/public_html/wp-includes/functions.php

     

严格标准:call_user_func_array()期望参数1是有效的回调,非静态方法APP_Updater :: exclude_themes()不应在/home/mutantsp/public_html/wp-includes/plugin.php中静态调用213

     

严格标准:call_user_func_array()期望参数1是有效的回调,非静态方法APP_Updater :: check_updates()不应在/home/mutantsp/public_html/wp-includes/plugin.php中静态调用213   跳到主要内容

     

严格标准:call_user_func_array()期望参数1是有效的回调,非静态方法APP_Updater :: display_warning()不应在/home/mutantsp/public_html/wp-includes/plugin.php中静态调用496

1 个答案:

答案 0 :(得分:0)

您不需要引用define('WP_DEBUG', false);这只是为了开发人员的调试目的。

  

然后我尝试删除一些插件并获得白屏,所以这样做了   通过FTP

因为激活的插件在数据库中被屏蔽,并且当wordpress试图找到该插件并生成错误时。 您应该通过管理员部分删除该插件。

这是您在数据库中找到激活的插件的方法

SELECT * FROM `wp_options` WHERE `option_name` like '%active_plugins%'

对于用户,请确保取消选中Settings > General Settings

中的“成员资格”选项

还要确保使用的是最新的WordPress版本。