• Resolved annemadejewelry

    (@annemadejewelry)


    Hi, I have been using Woocommerce successfully for years, along with several other plugins. Recently my site went down with a note: “There has been a critical error on this website. Please check your site admin email inbox for instructions.” I clicked the associated link to troubleshoot.

    I disabled all of my plugins using phpMyAdmin on GoDaddy (host), then activated only WooCommerce and got the same critical error.

    I disabled plugins again, changed my theme from Boutique (by WooCommerce) to Twenty Nineteen, and got the same error after reactivating Woocommerce.

    Plugins and themes are all up to date, and I am running WordPress version
    5.8 and the latest php version that GoDaddy offers (7.3).

    What should I do? Thank you for your help!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support abwaita a11n

    (@abwaita)

    Hi @annemadejewelry,

    As per our server recommendations, WooCommerce requires PHP 7.4 and above to run smoothly. This might be the issue causing the critical error.

    Nonetheless, we’d like to view the full fatal error log. Kindly check if you can find it in any of the locations stated in this guide – https://docs.woocommerce.com/document/finding-php-error-logs/.

    Thanks.

    Thread Starter annemadejewelry

    (@annemadejewelry)

    Hi! Thanks for taking the time to reply.

    I can’t access any of the WooCommerce menu when it is deactivated, and when it is activated it takes the whole site down with it and I can’t access the dashboard. I tried unsuccessfully to find an error/debug log on the server, but did enable debugging and got this report after activating WooCommerce:

    Warning: include_once(/var/www/wp-content/plugins/woocommerce/packages/action-scheduler/action-scheduler.php): failed to open stream: No such file or directory in /var/www/wp-content/plugins/woocommerce/includes/class-woocommerce.php on line 509
    
    Warning: include_once(): Failed opening '/var/www/wp-content/plugins/woocommerce/packages/action-scheduler/action-scheduler.php' for inclusion (include_path='.:/opt/remi/php73/root/usr/share/pear:/opt/remi/php73/root/usr/share/php:/usr/share/pear:/usr/share/php') in /var/www/wp-content/plugins/woocommerce/includes/class-woocommerce.php on line 509
    
    Warning: require(/var/www/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Package.php): failed to open stream: No such file or directory in /var/www/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php on line 87
    
    Fatal error: require(): Failed opening required '/var/www/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Package.php' (include_path='.:/opt/remi/php73/root/usr/share/pear:/opt/remi/php73/root/usr/share/php:/usr/share/pear:/usr/share/php') in /var/www/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php on line 87
    
    Notice: is_page was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/wp-includes/functions.php on line 5535
    
    Notice: is_singular was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/wp-includes/functions.php on line 5535
    
    Notice: is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/wp-includes/functions.php on line 5535
    
    Notice: is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/wp-includes/functions.php on line 5535

    Thank you, @abwaita !

    Hi @annemadejewelry

    It looks like there are some missing files. Can you manually deactivate the WooCommerce plugin via FTP, and then reinstall it from https://wordpress.org/plugins/woocommerce/? If you are not familiar with FTP, you can contact GoDaddy for assistance – they should be able to help you.

    Here is a great tutorial on how to manually disable plugins: https://kinsta.com/knowledgebase/disable-wordpress-plugins/#how-to-disable-wordpress-plugins-via-ftp

    Thread Starter annemadejewelry

    (@annemadejewelry)

    That worked! Thank you, @maykato ! Each time the critical error happened I was able to deactivate all plugins using phpMyAdmin via Godaddy, so I was able to delete the deactivated WooCommerce plugin from the dashboard, no FTP needed.

    It’s requesting a WooCommerce database update, so I’m doing a site backup first. And then I’m hoping to go back to what I know, which is making jewelry. Thank you for your patience and willingness to help people like me, @maykato and @abwaita !

    Mirko P.

    (@rainfallnixfig)

    Hi @annemadejewelry,

    Glad to hear that @maykato’s suggestion was helpful! Now that the issue is resolved, feel free to create a new topic if you need assistance with anything else.

    Cheers.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘WooCommerce causing critical error’ is closed to new replies.