• Resolved studioczyz

    (@studioczyz)


    Jetpack started reporting my site down at 6:33pm on 6/24/24, which was right after my Woocommerce updated to version is 9.0.2.

    WooCommerce is currently deactivated since my site fails as soon as I activate it.

    I am seeing numerous other reports of Woocommerce causing critical failures so this isn’t unique to my website.

    Please let me know what the fix is.

    Very disappointed in Woocommerce’s QA to say the least. ??

    • This topic was modified 5 months, 1 week ago by studioczyz.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @studioczyz,

    Thank you for reaching out to WooCommerce.com Support!

    I understand you are seeing a critical error after the WooCommerce update to version 9.0.2. This is unusual as we have not heard of any similar report.

    This kind of problem is usually caused by a conflict with your theme or with another plugin. The best way to determine this is to:

    • Temporarily switch your theme to Storefront or Twenty Twenty-Four
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you do not see 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.

    Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality or consider using a service like Jetpack. If something goes wrong, you will be able to restore it.

    If you’ve tried all these steps and the problem persists, we would appreciate it if you could share a copy of the following:

    • System Status Report?which you can find via WooCommerce > Status > Get system report > Copy for support.
    • Fatal error logs?(if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here. 

    Let us know how that goes.

    Thanks! 

    Thread Starter studioczyz

    (@studioczyz)

    All of my plugins are off. I’ve changed my theme to Twenty Twenty-Four.

    When I activate the WooCommerce plugin, I see an error at the top of the plugins page saying “Plugin could not be activated because it triggered a fatal error.”

    I can’t run the WooCommerce status reports that you requested because, duh, WooCommerce won’t run.

    My WordPress version is 6.5.5. PHP is 7.4.33. I can send the rest of my Site Health report if that helps.

    In the meantime, how do I downgrade to an earlier WooCommerce version? My site was working fine up until WooCommerce updated to 9.0.2.

    • This reply was modified 5 months, 1 week ago by studioczyz. Reason: additional info
    Thread Starter studioczyz

    (@studioczyz)

    I turned on debugging and tried to activate WooCommerce again. Looks like WooCommerce 9.0.2 is missing the file Autoloader.php.

    [25-Jun-2024 11:28:18 UTC] PHP Warning: require(/home/customer/www/studio-celia.com/public_html/wp-content/plugins/woocommerce/src/Autoloader.php): failed to open stream: No such file or directory in /home/customer/www/studio-celia.com/public_html/wp-content/plugins/woocommerce/woocommerce.php on line 28
    [25-Jun-2024 11:28:18 UTC] PHP Fatal error: require(): Failed opening required ‘/home/customer/www/studio-celia.com/public_html/wp-content/plugins/woocommerce/src/Autoloader.php’ (include_path=’.:/usr/local/php74/pear’) in /home/customer/www/studio-celia.com/public_html/wp-content/plugins/woocommerce/woocommerce.php on line 28

    Thank you for reaching back, with further details on this @studioczyz .

    ?how do I downgrade to an earlier WooCommerce version?

    Feel free to scroll to the advanced options section of this page, and select the version of WooCommerce you’d like to activate on your site. Once downloaded from there, upload and activate on your site via the plugins screen.

    Below, I’d also like to attach a screenshot of a test site of mine, where things work as expected with WordPress version 6.5.5 and WooCommerce version 9.0.2, for reference.

    Direct link to image: https://snipboard.io/fQL2HX.jpg

    I hope this is helpful! We look forward to your response. In the meantime, please let us know if you have any further questions or concerns.

    Thread Starter studioczyz

    (@studioczyz)

    In comparing my staging site to my live site, I found that most of the folders were missing from the live site’s WooCommerce install.

    The live site has these folders: includes, vendor.

    The staging site has these folders: assets, client, i18n, includes, lib, packages, patterns, sample-data, src, templates, vendor.

    The plugin update on the live site obviously failed, but was not caught and the corrupted plugin crashed my site.

    The questions for your developers are 1) why didn’t all the folders get installed (or why were they erroneously removed) and 2) why didn’t the plugin do a self-verification and rollback when the update failed?

    I’ve rolled back to 9.0.1 and all appears to be working again. Once the trauma resides, I will attempt 9.0.2 again.

    Thank you for the help.

    Hey, @studioczyz!

    I’m glad to know you found the issue.

    1) why didn’t all the folders get installed (or why were they erroneously removed)?

    Plugin updates are designed to replace the old files with new ones provided in the update package. However, there are a few scenarios that could lead to incomplete updates such as network interruptions or server issues, for example.

    The solution is typically reinstalling the update ??

    why didn’t the plugin do a self-verification and rollback when the update failed?

    Currently, WooCommerce does not include a built-in self-verification or automatic rollback feature in the event of an update failure, so that’s why this didn’t happen.

    I hope this was clarifying.

    Please let us know if there’s anything else we can do to help or if you have any questions.

    Have a wonderful day!

    RobWord

    (@robword)

    Sorry, I had the same issue and it was only WooCommerce activated with default theme.
    I even downloaded the new whole version and installed manually via FTP (which caused 6 install errors) which I had to redo manually. AND it still does the same error!
    I still have the RestAPI on, so not sure if that is what is doing it?

    RobWord

    (@robword)

    I can confirm that after deleting the whole of 9.0.2 and installing 9.0.1 all is working fine!

    @carolm29

    You said you have not had any other error reports? well here is one from me

    This update created error messages about deprecated lines in php etc etc on the cart page which is visible in the public view , which I cannot remove and which I have no clue what to do about!!

    I had to put my website in the maintenance mode until this is resolved. As soon as I did – There is yet another error message about some unresolved lines in the maintenance mode.

    This update is clearly creating a lot of issues , looks like it hasn’t been properly tested.

    I’m now rolling it back to the previous version until you release a corrected update.

    Can you please reply ASAP.

    • This reply was modified 4 months, 3 weeks ago by magicpowers.
    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @magicpowers,

    Sorry to hear that you are experiencing the same issue.

    However, to align with?forum best practices, please create a new topic so that we can address your issue(s) separately.

    Thanks for understanding!

    @ckadenge

    I did create a new topic. You will see it in the recent posts.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.