简体   繁体   中英

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.

Ref: https://www.technobezz.com/topics/threads/notice-has_cap-was-called-with-an-argument-that-is-deprecated.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 ++

look for “add_options_page” in my case you will see in the same line

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

remove the “8” and put '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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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