Fatal Error in WordPress, Cannot use object of type stdClass as array
-
Hello WordPress developers,
I noticed recently an issue on my WordPress site, when I click at the top bar of my admin. dashboard on the available updates, I get a list of the plugins require update and a message at the top of the list says:
“There has been critical error on this website.Pls. check your site admin email inbox for instructions”
and when I tick “Select All” to select all plugins to update actually none of the plugins is selected! it seems this option “Select All” is not functioning properly.I haven’t receive any Email in my admin mailbox, I tried to use the standard method of Debugging advised by WP procedure by turning on the false to true in my wp config.php and after I logged in again to my WP I got a notice at the top of my admin dashboard as follows:
“Notice: Undefined property: stdClass:$plugin in /home directory/domain/wp-includes/class-wp-list-util.php on line 159”I couldn’t know what is the exact problem, so I installed the plugin “Query Monitor” to investigate further, and I got the following notice:
“Fatal error: Uncaught error: cannot use object of type stdClass as array in home directory/domain/wp-admin/update-core.php on line 472Call stack:
list_plugin_updates()
wp-admin/update-core.php:1019
”I don’t understand the problem here!
Please help me
Thank you
- The topic ‘Fatal Error in WordPress, Cannot use object of type stdClass as array’ is closed to new replies.