class-wc-helper-updater.php causing critical error
-
I’ve been getting the following critical error at least once a day on a client’s site and am having trouble tracking down the root cause.
Here’s the error I’m getting (domain details removed):
Error Details
=============
An error of type E_ERROR was caused in line 81 of the file /www/*****/public/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php. Error message: Uncaught Error: Attempt to assign property “translations” on bool in /www/*****/public/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php:81
Stack trace:
#0 /www/*****/public/wp-includes/class-wp-hook.php(312): WC_Helper_Updater::transient_update_plugins(true)
#1 /www/*****/public/wp-includes/plugin.php(205): WP_Hook->apply_filters(true, Array)
#2 /www/*****/public/wp-includes/option.php(2053): apply_filters(‘pre_set_site_tr…’, Object(stdClass), ‘update_plugins’)
#3 /www/*****/public/wp-includes/update.php(393): set_site_transient(‘update_plugins’, Object(stdClass))
#4 /www/*****/public/wp-includes/update.php(1022): wp_update_plugins()
#5 /www/*****/public/wp-includes/class-wp-hook.php(310): _maybe_update_plugins(”)
#6 /www/*****/public/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
#7 /www/*****/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#8 /www/*****/public/wp-admin/admin.php(175): do_action(‘admin_init’)
#9 /www/*****/public/wp-admin/edit.php(10): require_once(‘/www/*****’)
#10 {main}
thrown in /www/*****/public/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php on line 81I’m running WordPress 6.3.2 and WooCommerce 8.2.1. The site will be running normally and then out of nowhere I get the critical error notification. I haven’t been able to determine exactly what triggers the error. If I log in and resume WooCommerce, everything appears to be fine for a few hours, maybe a day or so. Because of this random pattern, doing the typical theme/plugin deactivation sequence to pinpoint the problem is difficult or impossible.
- The topic ‘class-wc-helper-updater.php causing critical error’ is closed to new replies.