• Resolved pduclo

    (@pduclo)


    I had an issue with TaxCloud yesterday where it wasn’t responding to requests and customers were not able to checkout. So I updated taxcloud plugin to latest. That did not change it so I had to disable Simple Sales Tax temporarily. But it looks like the database update in 7.0.0 was not complete when I deactivated it. Now that I have reactivated Simple Sales Tax, I am getting the
    Simple Sales Tax data update.?Your database is being updated in the background. This notice will disappear when the update is complete.

    Is there anything I can run to requeue the database updates?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter pduclo

    (@pduclo)

    The last entries in the stt database update log are a bunch of…
    05-31-2023 @ 16:32:56 – Running sst_update_700_compress_packages callback
    05-31-2023 @ 16:32:59 – Finished sst_update_700_compress_packages callback

    No entries since I have reactivated it, but the notice is there.

    Plugin Author Brett Porcelli

    (@bporcelli)

    Hi,

    The best thing to do here would be to trigger the sst_update_700_compress_packages update routine to run again, just in case some data remains to be processed. Once the routine completes it should hide the banner automatically.

    The best way to do this would be to run this code once on your server:

    <?php
    
    $updater = SST_Install::init_background_updater();
    
    $updater->push_to_queue( 'sst_update_700_compress_packages' );
    $updater->save()->dispatch();

    For example you could upload this in a file named dispatch-update.php and then execute the script with WP CLI using wp eval-file dispatch-update.php. Any other method to execute this code only once would also work.

    Hope that helps!

    Thread Starter pduclo

    (@pduclo)

    Nice. Running now. Thanks.

    Thread Starter pduclo

    (@pduclo)

    That worked.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Simple Sales Tax data update. Your database is being updated in the background.’ is closed to new replies.