简体   繁体   English

一个意料之外的问题发生了。 WordPress.org或此服务器的配置可能出了问题

[英]An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration

I am getting this error (Please check screenshot) 我收到此错误(请检查屏幕截图)

How can i solve this 我该如何解决

Please help. 请帮忙。

Thanks 谢谢 在此处输入图片说明

You may debug this issue by enabling WP_DEBUG from wp-config.php file and share us the response of it. 您可以通过从wp-config.php文件启用WP_DEBUG来调试此问题,并与我们分享它的响应。

Ref: https://www.technobezz.com/topics/threads/notice-has_cap-was-called-with-an-argument-that-is-deprecated.457/ 参考: https : //www.technobezz.com/topics/threads/notice-has_cap-被称为-with-an-argument-that-is- preprecated.457 /

More precisely as per the error you may do the following: 根据错误更准确地讲,您可以执行以下操作:

Also, find the plugin that is causing the problem. 另外,找到引起问题的插件。 by deactivating all of them one by one. 通过一一停用所有功能。

when you find the culprit 当您找到罪魁祸首

go to your root folder >wp-content>plugins> the culprit plugin open the Plugin php file with an editor, Notepad ++ 转到您的根文件夹> wp-content> plugins>罪魁祸首插件使用编辑器Notepad ++打开Plugin php文件

look for “add_options_page” in my case you will see in the same line 在我的情况下查找“ add_options_page”,您将在同一行中看到

add_options_page(“Popular Tags Options”, “Popular Tags”, 8, basename(__FILE__), “ads_admin_page_inc”);

remove the “8” and put 'activate_plugins' 删除“ 8”并放入“ activate_plugins”

so it will be 所以会的

add_options_page(“Popular Tags Options”, “Popular Tags”, ‘activate_plugins’, basename(__FILE__), “ads_admin_page_inc”);

with single colon 单结肠

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM