• Resolved scouts6270

    (@scouts6270)


    Hi,

    I was testing updating to PHP 8.1 from 7.4 and when I do my site throws this error. I cannot locate the issue as to why as I'm not the woocommerce dev. Can anyone help?
    
    
    
    Error Details
    
    =============
    
    An error of type E_ERROR was caused in line 72 of the file /home/paperalc/public_html/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php. Error message: Uncaught Error: Attempt to modify property "response" on null in /home/paperalc/public_html/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php:72
    
    Stack trace:
    
    #0 /home/paperalc/public_html/wp-includes/class-wp-hook.php(310): WC_Helper_Updater::transient_update_plugins()
    
    #1 /home/paperalc/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    
    #2 /home/paperalc/public_html/wp-includes/option.php(2036): apply_filters()
    
    #3 /home/paperalc/public_html/wp-includes/update.php(391): set_site_transient()
    
    #4 /home/paperalc/public_html/wp-includes/update.php(1020): wp_update_plugins()
    
    #5 /home/paperalc/public_html/wp-includes/class-wp-hook.php(308): _maybe_update_plugins()
    
    #6 /home/paperalc/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    #7 /home/paperalc/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    #8 /home/paperalc/public_html/wp-admin/admin.php(175): do_action()
    
    #9 /home/paperalc/public_html/wp-admin/edit.php(10): require_once('/home/paperalc/...')
    
    #10 {main}
    
    ? thrown
Viewing 1 replies (of 1 total)
  • Hi,

    I understand you are receiving an error when updating PHP on your site from 7.4 to 8.1.

    Can you temporarily switch the site theme to Storefront and disable all plugins except WooCommerce to see if the issue persists after that? If not, it means a conflict was affecting the site, and you can switch back to the original theme and then reactivate the plugins one by one, and checking after each reactivation, until you find the cause of the issue. More info is in this documentation: https://woocommerce.com/document/how-to-test-for-conflicts/

    Let us know if there are any questions.

Viewing 1 replies (of 1 total)
  • The topic ‘E_ERROR Help’ is closed to new replies.