Critical error on your website After Updating WooCommerce
-
Critical error after updating wooCommerce. When deactivated the website works, but with woocommerce active there is Fatal Error.
Updated Themes templates.
https://wordpressplugs.com/shop/
The page I need help with: [log in to see the link]
-
Howdy!
Do you have any specific information about the error you received? It may have been included in the email, or you could look under
WooCommerce > Status > Logsto see if there are any “fatal error” logs available.My guess is the update conflicted with one of your other plugins installed, as we’ve seen some reports of third party plugins causing issues after the update.
Getting same error with WP 5.5 and WooCommerce 4.4.0.
[18-Aug-2020 18:44:42 UTC] PHP Fatal error: Declaration of Automattic\WooCommerce\Internal\DependencyManagement\ExtendedContainer::get($id, bool $new = false) must be compatible with League\Container\Container::get($alias, array $args = Array) in /wp-content/plugins/woocommerce/src/Internal/DependencyManagement/ExtendedContainer.php on line 18
Also noticed this in download results:
The authenticity of woocommerce.4.4.0.zip could not be verified as no signature was found.
same here Fatal error cannot even log into the website dashboard
Fatal error: Uncaught Error: Call to undefined function wc_get_loop_prop() in /home/bg4ghub1/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php:376 Stack trace: #0 /home/bg4ghub1/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php(363): WC_Query->adjust_total_pages() #1 /home/bg4ghub1/public_html/wp-includes/class-wp-hook.php(289): WC_Query->handle_get_posts(Array) #2 /home/bg4ghub1/public_html/wp-includes/plugin.php(249): WP_Hook->apply_filters(Array, Array) #3 /home/bg4ghub1/public_html/wp-includes/class-wp-query.php(3190): apply_filters_ref_array(‘the_posts’, Array) #4 /home/bg4ghub1/public_html/wp-includes/class-wp-query.php(3448): WP_Query->get_posts() #5 /home/bg4ghub1/public_html/wp-includes/class-wp-query.php(3559): WP_Query->query(Array) #6 /home/bg4ghub1/public_html/wp-content/themes/gauge/lib/framework/extensions/metaboxes/extension_metaboxes.php(680): WP_Query->__construct(Array) #7 /home/bg4ghub1/public_html/wp-content/themes/gauge/lib/framework/extensions/metaboxes/exte in /home/bg4ghub1/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php on line 376
Same error here, what is going on? I had to totally deactivate woocommerce plugin
Stack trace:
wp-content/plugins/woocommerce/includes/class-wc-query.php(363): WC_Query->adjust_total_pages()
/wp-includes/class-wp-hook.php(289): WC_Query->handle_get_posts(Array)
#2 /wp-includes/plugin.php(249): WP_Hook->apply_filters(Array, Array)
#3 /wp-includes/class-wp-query.php(3190): apply_filters_ref_array(‘the_posts’, Array)
#4 /wp-includes/class-wp-query.php(3448): WP_Query->get_posts()
#5 //wp-includes/query.php(98): WP_Query->query(Array)
#6 /wp-content/plugins/notificationx/extensions/form/class-cf7.php(94): query_post in /home1/circlej4/public_html//plugins/woocommerce/includes/class-wc-query.php on line 376I just did a roll back to 4.3.3. It works. Temporary Solution
-
This reply was modified 5 years, 9 months ago by
illuminateme.
Hello.
We confirm the problem with different themes. After update to the WooCommerce 4.4.0 the error:
Fatal error: Uncaught Error: Call to undefined function wc_get_loop_prop()
in \wp-content\plugins\woocommerce\includes\class-wc-query.php on line 376I was able to get the site working again by deactivating the Woocommerce Order Status Manager Plugin (which we really need for our site to work properly). But We are seeing the same error as soon as we try to reactivate that plugin.
Howdy!
If you use WP Rocket plugin, please update WP Rocket plugin to version 3.6.4.
If you are not using WP Rocket plugin, this kind of problem is usually caused by either a conflict with your theme or with another plugin.
The best way to determine this is to:- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
Alternatively, you can downgrade back to version
4.3.3of WooCommerce and that will resolve the issue (as mentioned by @aimaatigari above). More info on that here: https://github.com/woocommerce/woocommerce/issues/27389@dynamiczach Just so you know, @humanitymedia is correct. This problem is being caused by Order Status Manager. This item is found in the woocommerce store and is developed by Sky Verge. I too require this plugin for my site orders to work correctly.
I had to manually go through every plugin and that is the only one causing issues after the new release of woocommerce.
How do we get a fix for this ASAP?
@humanitymedia and @josephcondon: If you both have the
Order Status Managerplugin installed and activated on your site, I’d recommend contacting us at WooCommerce.com > My Account > Tickets through the account that purchased the extension.SkyVerge will be able to help you further after opening a ticket. Please include a link to this forum thread, so that that SkyVerge can keep track of this conversation.
Thanks @dynamiczach and @josephcondon … I did reach out to Woocommerce support. I will report back when I hear from them.
@humanitymedia thanks! I’m curious to see what caused this issue with that particular plugin. Hopefully you will get a response soon.
I got the site working by removing the notification plugin from the site.
-
This reply was modified 5 years, 9 months ago by
mohitmahajan077.
As an update, we should be releasing WooCommerce version
4.4.1sometime today that should resolve these issues.We highly recommend that you test any updates on a staging site first.
If you don’t currently have a staging site, the
WP Stagingplugin https://wordpress.org/plugins/wp-staging/ is perfect for making a clone of your live site so you can set up a staging site and test for issues without influencing your live site in any way.If you need help setting it up, you can find the step by step documentation here: https://wordpress.org/plugins/wp-staging/#description under “HOW TO INSTALL AND SETUP?”
Here is a screencast showing the setup process after the install: https://cld.wthms.co/HC1pdz
Once the staging site is ready to go, you will see a blue
Open staging sitebutton like this: https://cld.wthms.co/77o0FXClick on that and login to the staging site with the same credentials that you use to login to your main website.
Then, you can follow the information here to test for conflicts with your theme, plugins, and settings:
https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4
The new Woocommerce 4.4.1 update has just been released and I installed it and the issue is fixed for me now.
I hope it works well for everybody who was having these issues now.
-
This reply was modified 5 years, 9 months ago by
The topic ‘Critical error on your website After Updating WooCommerce’ is closed to new replies.