There has been a critical error on this website
-
I have a problem with woocomerse, I try to activate it and it generates the error:There has been a critical error on this website. Please check your site admin email inbox for instructions.”…
PREVIUS TICKET : https://www.ads-software.com/support/topic/there-has-been-a-critical-error-on-this-website-63/#post-14793426
DEBUG LOG:https://paste.ofcode.org/3c3ZgFGsM3eXB2z6zjUHsGF
I already tried to reinstall the plugin but I keep getting the error- This topic was modified 3 years, 3 months ago by phoenixsoldier.
- This topic was modified 3 years, 3 months ago by phoenixsoldier.
The page I need help with: [log in to see the link]
-
To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.8
Current theme: Astra (version 3.6.8)
Current plugin: WooCommerce (version 5.3.0)
PHP version 8.0.7Error Details
=============
An error of type E_ERROR was caused in line 81 of the file /home/phoenixbuilds.net/public_html/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php. Error message: Uncaught Error: Attempt to assign property “translations” on null in /home/phoenixbuilds.net/public_html/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php:81
Stack trace:
#0 /home/phoenixbuilds.net/public_html/wp-includes/class-wp-hook.php(305): WC_Helper_Updater::transient_update_plugins()
#1 /home/phoenixbuilds.net/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /home/phoenixbuilds.net/public_html/wp-includes/option.php(1977): apply_filters()
#3 /home/phoenixbuilds.net/public_html/wp-includes/update.php(357): set_site_transient()
#4 /home/phoenixbuilds.net/public_html/wp-includes/update.php(899): wp_update_plugins()
#5 /home/phoenixbuilds.net/public_html/wp-includes/class-wp-hook.php(303): _maybe_update_plugins()
#6 /home/phoenixbuilds.net/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#7 /home/phoenixbuilds.net/public_html/wp-includes/plugin.php(470): WP_Hook->do_action()
#8 /home/phoenixbuilds.net/public_html/wp-admin/admin.php(175): do_action()
#9 /home/phoenixbuilds.net/public_html/wp-admin/index.php(10): require_once(‘…’)
#10 {main}
thrownHi @phoenixsoldier,
In such a case, I would recommend first doing a conflict test to see if the issue is coming from a conflict between WooCommerce and either your plugins or theme.
In the conflict test, be sure to:
* Switch to a default WP theme like Twenty Twenty-One
* Deactivate all plugins
* Activate WooCommerce and check if the error recurs
* Activate the theme and plugins one by one, checking if the issue recursLet us know how it goes.
Thanks.Hello, I followed your instructions to the letter, the plugin that fails is Woocomerce (I reached this conclusion because if I leave this plugin disabled it is the only one that ruins the web). Also install another theme, to see if it is incompatible, but it is not, it does it with all themes … Please I need your help, I will attach the error log again:
To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires. When seeking help with this issue, you may be asked for some of the following information: WordPress version 5.8 Current theme: Astra (version 3.6.8) Current plugin: WooCommerce (version 5.3.0) PHP version 8.0.7 Error Details =============
[24-Aug-2021 00:04:00 UTC] PHP Deprecated: Required parameter $country follows optional parameter $original_fieldset in /home/phoenixbuilds.net/public_html/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php on line 205
[24-Aug-2021 00:05:20 UTC] PHP Fatal error: Uncaught Error: Attempt to assign property “translations” on null in /home/phoenixbuilds.net/public_html/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php:81
Stack trace:
#0 /home/phoenixbuilds.net/public_html/wp-includes/class-wp-hook.php(305): WC_Helper_Updater::transient_update_plugins()
#1 /home/phoenixbuilds.net/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /home/phoenixbuilds.net/public_html/wp-includes/option.php(1977): apply_filters()
#3 /home/phoenixbuilds.net/public_html/wp-includes/update.php(357): set_site_transient()
#4 /home/phoenixbuilds.net/public_html/wp-includes/class-wp-hook.php(303): wp_update_plugins()
#5 /home/phoenixbuilds.net/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#6 /home/phoenixbuilds.net/public_html/wp-includes/plugin.php(470): WP_Hook->do_action()
#7 /home/phoenixbuilds.net/public_html/wp-admin/admin.php(374): do_action()
#8 /home/phoenixbuilds.net/public_html/wp-admin/update-core.php(10): require_once(‘…’)
#9 {main}
thrown in /home/phoenixbuilds.net/public_html/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php on line 81
[24-Aug-2021 00:06:32 UTC] PHP Fatal error: Uncaught Error: Attempt to assign property “translations” on null in /home/phoenixbuilds.net/public_html/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php:81
Stack trace:
#0 /home/phoenixbuilds.net/public_html/wp-includes/class-wp-hook.php(305): WC_Helper_Updater::transient_update_plugins()
#1 /home/phoenixbuilds.net/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /home/phoenixbuilds.net/public_html/wp-includes/option.php(1977): apply_filters()
#3 /home/phoenixbuilds.net/public_html/wp-includes/update.php(357): set_site_transient()
#4 /home/phoenixbuilds.net/public_html/wp-includes/class-wp-hook.php(303): wp_update_plugins()
#5 /home/phoenixbuilds.net/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#6 /home/phoenixbuilds.net/public_html/wp-includes/plugin.php(470): WP_Hook->do_action()
#7 /home/phoenixbuilds.net/public_html/wp-admin/admin.php(374): do_action()
#8 /home/phoenixbuilds.net/public_html/wp-admin/update-core.php(10): require_once(‘…’)
#9 {main}
thrown in /home/phoenixbuilds.net/public_html/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php on line 81
[24-Aug-2021 00:06:55 UTC] PHP Deprecated: Required parameter $country follows optional parameter $original_fieldset in /home/phoenixbuilds.net/public_html/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php on line 205
[24-Aug-2021 00:08:16 UTC] PHP Fatal error: Uncaught Error: Attempt to assign property “translations” on null in /home/phoenixbuilds.net/public_html/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php:81
Stack trace:
#0 /home/phoenixbuilds.net/public_html/wp-includes/class-wp-hook.php(305): WC_Helper_Updater::transient_update_plugins()
#1 /home/phoenixbuilds.net/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /home/phoenixbuilds.net/public_html/wp-includes/option.php(1977): apply_filters()
#3 /home/phoenixbuilds.net/public_html/wp-includes/update.php(357): set_site_transient()
#4 /home/phoenixbuilds.net/public_html/wp-includes/class-wp-hook.php(303): wp_update_plugins()
#5 /home/phoenixbuilds.net/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#6 /home/phoenixbuilds.net/public_html/wp-includes/plugin.php(470): WP_Hook->do_action()
#7 /home/phoenixbuilds.net/public_html/wp-admin/admin.php(374): do_action()
#8 /home/phoenixbuilds.net/public_html/wp-admin/update-core.php(10): require_once(‘…’)
#9 {main}
thrown in /home/phoenixbuilds.net/public_html/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php on line 81`Thanks for getting back @phoenixsoldier.
I took interest in the following:
WordPress version 5.8
Current theme: Astra (version 3.6.8)
Current plugin: WooCommerce (version 5.3.0)
PHP version 8.0.7+
[24-Aug-2021 00:04:00 UTC] PHP Deprecated: Required parameter $country follows optional parameter $original_fieldset in /home/phoenixbuilds.net/public_html/wp-content/plugins/woo-checkout-field-editor-pro/public/class-thwcfd-public-checkout.php on line 205
Seems the active theme during this crash was Astra. Also, it also seems that the Woo Checkout Field Editor Pro plugin was running.
As mentioned in steps 1 & 2 in the previous reply, is it possible to try the conflict test by activating WooCommerce only after switching to a default WordPress theme like Twenty Twenty-One and deactivating all other plugins? From there you can activate the other plugins and theme one by one. The conflict could be with the active theme or the other plugins.
Also, before trying the above, I see you’re using an outdated WooCommerce version with an update WP 5.8 and PHP 8. Could you try updating from 5.3 to WooCommerce 5.6? I’d recommend following this guide – https://docs.woocommerce.com/document/how-to-update-woocommerce/
Thanks.
- The topic ‘There has been a critical error on this website’ is closed to new replies.