• Resolved localwebstrategies

    (@localwebstrategies)


    I have currently disabled the plugin because I get nothing but error messages on my site and when I try to log into the backend.

    Here is a screenshot of what I see on my site when I enable WooCommerce (I have also copy/pasted the errors below): https://www.screencast.com/t/FR7LmSaoxE

    I already tried disabling all plugins and only activating WooCommerce and it still gives the same errors. So I know that it is not another plugin interfering with it.

    I also tried changing the theme to a built in WordPress theme and then enabling WooCommerce – same error. So I know it’s not the theme interfering.

    Additionally, when I look at the details for WooCommerce when I click “view details” from my plugins page, it says Warning: This plugin has not been tested with your current version of WordPress. so it looks like maybe it is not compatible?

    Please advise

    ————————————————-

    Here are the error messages:

    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=’.:’) 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=’.:’) 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 5768

    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 5768

    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 5768

    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 5768
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

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

Viewing 1 replies (of 1 total)
  • I’ve downloaded a fresh copy of WooCommerce 6.2.1.

    class-woocommerce.php line 509 is trying to include action-scheduler.php, and this file is present in the right location in the woocommerce download. So it looks like your WooCommerce files are incomplete or corrupted. You have other files missing.

    I would load up FileZilla, and delete the woocommerce directory at
    wp-content/plugins/woocommerce
    and upload a fresh unzipped copy in its place.

    There are other methods but that’s what I would find easiest.

    Your settings and data are in the database and will not be affected.

    I don’t think you will need a backup but best to ensure you have a recent one before starting.

    I have WC 6.2.1 on WP 5.9.1 and it runs fine with no warnings.

    Please note if this was a general problem this board would be buzzing with the issue, and its not, so it looks like its specific to your install.

Viewing 1 replies (of 1 total)
  • The topic ‘WooCommerce 6.2.1 Breaks WordPress 5.9 Site’ is closed to new replies.