Support » Plugin: WooCommerce » Woocommerce broken since upgrade to 4.0

  • jd

    (@janedilkes)


    After upgrade to woocommerce 4.0, required database upgrade did not work, gives message:
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    No email is received.

    Now fundamental woocommerce functionality is missing, gives error: wp_actionscheduler_actions’ doesn’t exist

    • This topic was modified 1 year, 1 month ago by jd.

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Mike-bd

    (@mikekharisma)

    Had exactly the same issue, only I did get the email which puts the site into recovery mode.
    In the end I’ve had to delete v4 and re-install 3.9.
    I think your site has deactivated Woocommerce as well!

    Thread Starter jd

    (@janedilkes)

    Thanks Mike-bd.

    Where did you find 3.9 to reintall it?

    Thread Starter jd

    (@janedilkes)

    I have found 3.9 and installed it, but gives me a site error :
    There has been a critical error on your website.

    From log:
    PHP Fatal error: require_once(): Failed opening required ‘classes/ActionScheduler_Versions.php’

    I guess I couldn’t just copy up that version of woocommerce, something else changed?

    Could anyone point me to where I can find the definition for the wp_actionscheduler_actions table, so I can create it by hand?

    Thanks.

    Thread Starter jd

    (@janedilkes)

    I’ve created the tables, but still there are problems:

    PHP Fatal error: Uncaught RuntimeException: Error saving action: Error saving action: Database error. in /data/html/violetgreen.co.uk/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44\nStack trace:\n#0 /data/html/violetgreen.co.uk/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(225): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL)\n#1 /data/html/violetgreen.co.uk/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action))\n#2 /data/html/violetgreen.co.uk/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFactory->store(Object(ActionScheduler_Action))\n#3 /data/html/violetgreen.co.uk/wp-content/plugins/woocommerce/packages/action-scheduler/functions.php(30): ActionScheduler_ActionFacto in /data/html/violetgreen.co.uk/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44

    Can someone help?

    Mike-bd

    (@mikekharisma)

    All I did was put the site into recovery, delete 4.0 on-line, download 3.9 into my local folder, then up load via ftp and reactivate (recovery would have deactivated Woocommerce)

    I have the exact same problem. No folder action-scheduler in classes folder which the plugin expects as per the error:
    Uncaught Error: Class ‘ActionScheduler_Store’ not found in /home/admin/web/<site>/public_html/wp-content/plugins/woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler.php:20

    Does anyone has an idea how to fix this?

    Thread Starter jd

    (@janedilkes)

    Hi,
    I’ve ended up reinstalling wordpress, then woocommerce 4.1, then copying data over from the old database. It’s taken a while to get it sorted out.

    My website is working now, however, even though I’ve reinstalled everything:
    I was prompted again that the database needs updating, and clicked the link. It didn’t fail straight away as it was doing, but has been stuck at the 15th upgrade for the last couple of days, and keeps increasing the total number of changes still to upgrade. The website is still working.

    Does anyone support this plugin?
    It sounds like the upgrade to Woocommerce 4.0 has broken some websites?

    Is any Woocommerce developer able to help with this, it seems pretty important?
    Thanks.

    Moderator tobifjellner (Tor-Bjorn Fjellner)

    (@tobifjellner)

    @janedilkes As you requested, I’ve reviewed this topic with regards to security issues, but didn’t see any.

    Thread Starter jd

    (@janedilkes)

    There are references to my filesystem, please remove them.

    I am unable to do this but thought I would be able to.

    Moderator tobifjellner (Tor-Bjorn Fjellner)

    (@tobifjellner)

    The edit window is 60 minutes from publication.
    Ordinary file paths are not considered security information: Anyone on the same web host would be able to make a good guess, and if anyone would be able to place executable files on your file system, then they’d very quickly find out these details themselves.

    Thread Starter jd

    (@janedilkes)

    could you please just remove it for me?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Woocommerce broken since upgrade to 4.0’ is closed to new replies.