• 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 472

    Call stack:
    list_plugin_updates()
    wp-admin/update-core.php:1019

    I don’t understand the problem here!

    Please help me
    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Have you tried disabling your plugins and seeing if the message goes away. Most of the messages you listed are for core components. I would guess there probably something in a plugin or your theme that caused the problem. Try disabling the plugins and re-enable them one at a time until the message appears. If it appears on a specific plugin try contacting the developer for assistance.

    Thread Starter dragongate

    (@dragongate)

    Hello mrtom414,

    Thank you for your reply, yes of course I ran all the standard procedure of debugging I first changed the theme and the message still there. so it is not the theme.

    then I deactivated all the plugins and the message still there. so it is not the plugins.

    I even deleted all my WP website files and database (after backup of course) and reinstalled fresh copy of WP and then restored my WP site from the backup I created and same the message still there!!

    it is not because of my theme or plugins.. something related to WP core files.

    Please help.

    Thank you

    I saw this article seems similar to your problem maybe it will help.
    https://www.thetwopercent.co.uk/wordpress-error-solved-notice-undefined-property-stdclass-plugin/

    Thread Starter dragongate

    (@dragongate)

    Hello mrtom414,

    Nothing help the link you sent to me did not resolve my problem, the issue still there I did reinstall of WP still same I even tried to down grade my WP 5.6 to 5.5.3 and did not help!! don’t know what’s wrong with wordpress here!

    Please help.

    Thank you

    Thread Starter dragongate

    (@dragongate)

    Hello everybody,

    Just to update on my issue raised here in this thread, after long diagnosis, I found that the problem was with one of my plugins which was externally installed from zip file and it was requiring manual update..

    after removing this plugin completely, the error message disappeared and my WP site back to normal…

    so if someone got similar case, I advise they look into the installed plugin, and sometimes deactivating the culprit plugin won’t resolve the issue, you need to completely remove the plugin from your WP site.. that’s what had happened with my case.

    anyway, I thank all who have tried to help me with this issue here specially the user “mrtom414”

    thank you all,

    katie

    (@katiehartrick)

    Glad I found this post. I cloned a live site into a staging environment and after enabling wp_debug on the staging site I saw these errors. Deactivating plugins did not work, and neither did changing to a default WordPress theme.

    There are two plugins that I am unable to update on the staging site (even when I pull files in directly via FTP). Deleting these plugins fixed this issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal Error in WordPress, Cannot use object of type stdClass as array’ is closed to new replies.