• Resolved georgiedavies

    (@georgiedavies)


    Hey!
    Today I have had the below error come up. I was emailed to the admin email regarding this but it didn’t really give me any help on how to sort. I’m relatively tech savvy but have drawn a blank on this. Can someone please help how to solve?

    Website seems to be working fine

    Uncaught Error: Cannot use object of type stdClass as array in /home/q95yogip/public_html/wp-admin/update-core.php on line 333
    list_plugin_updates()
    wp-admin/update-core.php:767
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    The info in the email that it said I may need to report is:
    WordPress version 5.3.2
    Current theme: X (version 7.2.2)
    Current plugin: Query Monitor (version 3.5.2)
    PHP version 7.2.28

    Thanks in advance

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator t-p

    (@t-p)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    I received this error on 2 wordpress instances after upgrading WooCommerce Version 4.0.0. There don’t seem to be any ill effects – other than constantly seeing the message when debugging is enabled on the plugin updates page.

    Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /var/www/###/wp-admin/update-core.php:333 Stack trace: #0 /var/www/###/wp-admin/update-core.php(767): list_plugin_updates() #1 {main} thrown in /var/www/###/wp-admin/update-core.php on line 333

    I disabled all plugins and reactivated. Still get the error. If disable just WooCommerce the debug error disappears.

    Moderator t-p

    (@t-p)

    If disable just WooCommerce the debug error disappears.

    I recommend asking at https://www.ads-software.com/support/plugin/woocommerce so the plugin’s developers and support community can help you with this.

    Thread Starter georgiedavies

    (@georgiedavies)

    Hi, thanks for the advice above. I followed the advice and it didn’t solve anything but then actually came across another plug in that had lost its licence key and that was the issue so for me it is all sorted now

    Thanks

    Moderator t-p

    (@t-p)

    Glad it’s sorted ??

    My issue ended up being a stuck update for https://www.skyverge.com/product/woocommerce-shipping-estimates/ . Since it’s a Woocomerce extension, that explains why the error disappeared when WooCommerce was disabled. Just took a process of elimination (and some time).

    Moderator t-p

    (@t-p)

    Glad its sorted ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Uncaught Error – Critical Error’ is closed to new replies.