• Resolved unchd

    (@unchd)


    Hello,

    I have a problem about my woocommerce. Previous one, I had a problem related to my product variations not appearing, but now it’s about updating WooCommerce and its database.

    I made the update of WooCommerce correctly, nothing wrong but when I want to update the database by using the button, it shows me an error : “An error occurred when triggering the action in this note”
    https://gyazo.com/758f1802aa13804c2b706b4cb6ff9dc8

    I tried on my main website, with plugins and my theme enabled, but also on my staging website with no plugin and basic woocommerce theme (Storefront) but both has the same issue.

    Thank you for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have had the same issue with the last two updates that required a database upgrade. The fix for me was to use SSH to log in to the site, then run the following WordPress CLI command (your web host must have WordPress CLI installed):

    wp wc update

    After running the CLI command and getting a success message, check WooCommerce > Status to verify that both WooCommerce and the database were upgraded to 8.7.0, and you should be good to go.

    If your web host doesn’t have WordPress CLI installed and you can’t install it on your server yourself, you might ask them to set it up for you. It comes in very handy.

    Just to add, there is also a menu option for updating the WooCommerce Database Version, using the dedicated button found in the screen at ‘WooCommerce > Status > Tools’. I hope this helps!

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

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

The topic ‘Can’t update WC database’ is closed to new replies.