• Resolved mo7900

    (@mo7900)


    Hi, Since the latest update the below doesn’t go off. It’s been about 20 hours now. Clicking it to run now doesn’t do anything either. Thank you!

    “WC Vendors data update – Your database is being updated in the background. Taking a while? Click here to run it now.”

Viewing 10 replies - 1 through 10 (of 10 total)
  • This is happening on my store as well

    Same for me.

    Jamie

    (@digitalchild)

    Hello,

    This is fixed and I’ll be pushing 2.1.7 later today, once I address 2 other issues.

    cheers,

    Jamie.

    Jamie

    (@digitalchild)

    Hello,

    2.1.7 has been released to fix the update issue and various other issues. Be sure to check the changelog.

    cheers,

    Jamie.

    Hello,

    This is still occurring on my install (WC_Vendors 2.1.7 WP 5.1.1).
    “Click here to run it now.” link does not do anything.

    Thanks,
    Adrian

    Jamie

    (@digitalchild)

    Hi @adriangheorghehalo

    Do you have any cache plugins running, are you hosting with SiteGround by any chance?

    cheers,

    Jamie.

    Hi @digitalchild

    I don’t have any cache plugins running. Don’t have hosting with SiteGround, this is occurring on my local docker environment. I Haven’t deployed to any environment yet.

    Is there a way for me to run the data update programmatically?

    Thanks,
    Adrian

    Jamie

    (@digitalchild)

    Hi Adrian @adriangheorghehalo,

    Yes the update message is just looking for the updated version number in the database.

    Are you getting any details in the wcvendors_dbupdate log in WooCommerce > Status > Logs?

    You can call this static method in your themes functions.php

    
    wcv_add_vendor_caps();
    WCVendors_Install::update_db_version();

    That’ll force the update. None of our recent db updates do anything beyond adding default settings values.

    It seems on some installs the background updater isn’t working as expected and we’re having trouble replicating the issues to address them.

    cheers,

    Jamie

    Hi Jamie @digitalchild ,

    Sorry for my late reply. I couldn’t manage to find anything relevant in the logs, but running the code you provided in the theme functions.php after plugins are loaded worked

    function manual_install_wcvendors(){
        wcv_add_vendor_caps();
        WCVendors_Install::update_db_version();
    }
    add_action('plugins_loaded', 'manual_install_wcvendors');

    Thank you,
    Adrian

    Jamie

    (@digitalchild)

    HI @adriangheorghehalo

    Glad you got that sorted, happy selling!

    cheers,

    Jamie.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘DB Update Message’ is closed to new replies.