WooCommerce database update in progress
-
Ive had this error for many many months and its not going away. Can I please get some advice –
“WooCommerce is updating the database in the background. The database update process may take a little while, so please be patient.”
I have 6 scheduled items and tried running them manually but they keep coming back. Any advice would be great.
-
Hi @davidwjw ,
Thanks for reaching out!
If I understand correctly, you have had this notice display on your site for months now, and it will not disappear, is this correct?
In order to get a better understanding of your site setup, could you please share a copy of the following:
- System Status Report: navigate to?WooCommerce?→?Status. Select?Get system report?and then?Copy for support.
- Fatal Error log: Share a copy of any fatal error log found under?WooCommerce?→?Status?→?Logs.
Once you have these, please share them in your response here.
Additionally, please can you share a screenshot of where exactly you are seeing this notice.
Snipboard.io?can be used for easily sharing screenshots – please follow the instructions on that page, then paste the URL in this thread.
Cheers!
Thanks Roxy for your reply! System Report WordPress Environment WordPress address (URL): https://pizzaoven.co.nz Site address (URL): https://pizzaoven.co.nz WC Version: 7.3.0 REST API Version: ?</img> 7.3.0 WC Blocks Version: ?</img> 9.1.5 Action Scheduler Version: ?</img> 3.4.0 Log Directory Writable: ?</img> WP Version: 6.1.1 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ?</img> Language: en_NZ External object cache: ?</img> Server Environment Server Info: Apache/2.4.54 (Debian) PHP Version: 7.4.30 PHP Post Max Size: 256 MB PHP Time Limit: 899 PHP Max Input Vars: 5000 cURL Version: 7.64.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 5.5.5-10.4.20-MariaDB-1:10.4.20+maria~buster-log Max Upload Size: 256 MB Default Timezone is UTC: ?</img> fsockopen/cURL: ?</img> SoapClient: ?</img> DOMDocument: ?</img> GZip: ?</img> Multibyte String: ?</img> Remote Post: ?</img> Remote Get: ?</img> Database WC Database Version: 6.9.4 WC Database Prefix: wp_ Total Database Size: 241.75MB Database Data Size: 202.36MB Database Index Size: 39.39MB wp_woocommerce_sessions: Data: 117.61MB + Index: 2.50MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 1.52MB + Index: 0.19MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 4.52MB + Index: 5.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.30MB + Index: 0.42MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.20MB + Index: 0.17MB + Engine InnoDB wp_commentmeta: Data: 6.52MB + Index: 0.73MB + Engine InnoDB wp_comments: Data: 7.52MB + Index: 2.30MB + Engine InnoDB wp_elfsight_facebook_feed_widgets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_give_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_give_comments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_give_donationmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_give_donormeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_give_donors: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_give_formmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_give_logmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_give_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_give_revenue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_give_sequential_ordering: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_give_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mec_dates: Data: 0.09MB + Index: 0.14MB + Engine InnoDB wp_mec_events: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mec_occurrences: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mec_users: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mphb_sync_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mphb_sync_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mphb_sync_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mphb_sync_urls: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 2.34MB + Index: 0.06MB + Engine InnoDB wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_imports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 22.52MB + Index: 13.02MB + Engine InnoDB wp_posts: Data: 6.52MB + Index: 0.73MB + Engine InnoDB wp_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB wp_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders: Data: 0.03MB + Index: 0.02MB + Engine InnoDB wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_slides: Data: 0.11MB + Index: 0.02MB + Engine InnoDB wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_smush_dir_images: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 6.52MB + Index: 9.03MB + Engine InnoDB wp_users: Data: 0.38MB + Index: 0.39MB + Engine InnoDB wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.23MB + Index: 0.20MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.45MB + Index: 0.50MB + Engine InnoDB wp_wc_order_stats: Data: 0.27MB + Index: 0.25MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.11MB + Index: 0.11MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfblockediplog: Data: 0.14MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 0.47MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 6.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 8.52MB + Index: 0.58MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 4.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.09MB + Index: 0.03MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.19MB + Index: 0.13MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 1.52MB + Index: 0.72MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.20MB + Index: 0.25MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_prominent_words: Data: 0.06MB + Index: 0.11MB + Engine InnoDB wp_yoast_seo_links: Data: 0.34MB + Index: 0.27MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts attachment: 522 dt_gallery: 3 dt_testimonials: 18 global_product_addon: 2 mec_calendars: 15 mec-events: 5 mvvwb_bookings: 13 mvvwb_items: 1 nav_menu_item: 49 oembed_cache: 18 page: 25 post: 22 postman_sent_mail: 250 product: 97 product_variation: 26 revision: 164 shop_coupon: 1 shop_deposit: 54 shop_order: 2552 shop_order_refund: 10 templatera: 7 Security Secure connection (HTTPS): ?</img> Hide errors from visitors: ?</img> Active Plugins (19) Ultimate Addons for WPBakery Page Builder: by Brainstorm Force – 3.19.13 Addy's NZ Address Autocomplete for WooCommerce: by Addy Limited – 2.1.7 Akismet Anti-Spam: by Automattic – 5.0.2 Bayna - Deposits for WooCommerce PRO: by Codeixer – 2.1 The7 Elements: by Dream-Theme – 2.7.2 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5 Widget for Social Page Feeds: by Milap Patel – 6.2 WPBakery Page Builder: by Michael M - WPBakery.com – 6.10.0 Post SMTP: by Post SMTP – 2.3.2 Slider Revolution: by ThemePunch – 6.6.10 Templatera: by WPBakery – 2.0.4 WooCommerce Checkout Manager: by QuadLayers – 7.0.0 WooCommerce Product Add-ons: by WooCommerce – 5.0.3 WooCommerce: by Automattic – 7.3.0 Wordfence Security: by Wordfence – 7.8.2 Yoast SEO Premium: by Team Yoast – 20.1 Yoast SEO: by Team Yoast – 20.1 Smush: by WPMU DEV – 3.12.4 WPS Hide Login: by WPServeur NicolasKulka wpformation – 1.9.8 Inactive Plugins (0) Dropin Plugins (1) object-cache.php: Object Cache Pro (Drop-in) Must Use Plugins (1) Object Cache Pro (MU): by Rhubarb Group – 1.17.1 Settings API Enabled: – Force SSL: – Currency: NZD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: ?</img> Enforce Approved Product Download Directories: – Order datastore: WC_Order_Data_Store_CPT WC Pages Shop base: #8 - /shop Cart: #9 - /cart Checkout: #10 - /checkout My account: #11 - /my-account Terms and conditions: ?</img> Page not set Theme Name: The7 Version: 11.4.1.1 Author URL: https://dream-theme.com/ Child Theme: ?</img> – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ?</img> Templates Overrides: dt-the7/woocommerce/cart/cart.php dt-the7/woocommerce/cart/cross-sells.php dt-the7/woocommerce/cart/mini-cart.php dt-the7/woocommerce/checkout/form-billing.php dt-the7/woocommerce/checkout/form-checkout.php dt-the7/woocommerce/checkout/form-coupon.php dt-the7/woocommerce/checkout/form-login.php dt-the7/woocommerce/checkout/form-shipping.php dt-the7/woocommerce/checkout/review-order.php dt-the7/woocommerce/checkout/thankyou.php dt-the7/woocommerce/content-product.php dt-the7/woocommerce/content-widget-product.php dt-the7/woocommerce/content-widget-reviews.php dt-the7/woocommerce/global/breadcrumb.php dt-the7/woocommerce/global/form-login.php dt-the7/woocommerce/global/quantity-input.php dt-the7/woocommerce/loop/loop-end.php dt-the7/woocommerce/loop/loop-start.php dt-the7/woocommerce/loop/pagination.php dt-the7/woocommerce/myaccount/form-login.php dt-the7/woocommerce/notices/error.php dt-the7/woocommerce/notices/notice.php dt-the7/woocommerce/notices/success.php dt-the7/woocommerce/order/order-details-customer.php dt-the7/woocommerce/order/order-details.php dt-the7/woocommerce/single-product/meta.php dt-the7/woocommerce/single-product/price.php dt-the7/woocommerce/single-product/related.php dt-the7/woocommerce/single-product/up-sells.php dt-the7/woocommerce/content-product_cat.php Admin Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ?</img> Next scheduled: 2022-07-18 21:04:49 +12:00 Options: ?</img> Notes: 60 Onboarding: completed Action Scheduler Complete: 229 Oldest: 2022-06-20 09:41:28 +1200 Newest: 2023-02-10 12:11:38 +1300 Pending: 553 Oldest: 2022-07-19 08:32:15 +1200 Newest: 2023-02-13 22:41:30 +1300 Cancelled: 99 Oldest: -0001-11-30 11:39:04 +1139 Newest: -0001-11-30 11:39:04 +1139 Status report information Generated at: 2023-02-14 09:09:21 +13:00 `
Logs
2022-07-07T14:59:01+00:00 CRITICAL syntax error, unexpected ‘;’, expecting ‘)’ in /home/369258.cloudwaysapps.com/rgqnmnqssz/public_html/wp-content/plugins/bayna/src/Modules/pluginUpdater.php on line 71
2022-07-07T14:59:01+00:00 CRITICAL syntax error, unexpected ‘;’, expecting ‘)’ in /home/369258.cloudwaysapps.com/rgqnmnqssz/public_html/wp-content/plugins/bayna/src/Modules/pluginUpdater.php on line 71
2022-07-07T15:05:20+00:00 CRITICAL syntax error, unexpected ‘el_license_key’ (T_STRING), expecting ‘)’ in /home/369258.cloudwaysapps.com/rgqnmnqssz/public_html/wp-content/plugins/bayna/src/Modules/pluginUpdater.php on line 52
2022-07-07T15:06:55+00:00 CRITICAL syntax error, unexpected ‘;’, expecting ‘)’ in /home/369258.cloudwaysapps.com/rgqnmnqssz/public_html/wp-content/plugins/bayna/src/Modules/pluginUpdater.php on line 57
I get the bar up the top that hasn’t gone away in a long while saying:
WooCommerce database update
WooCommerce is updating the database in the background. The database update process may take a little while, so please be patient. View progress →Hi @davidwjw ,
Thanks for sharing that information!
CRITICAL syntax error, unexpected ‘;’, expecting ‘)’ in /home/369258.cloudwaysapps.com/rgqnmnqssz/public_html/wp-content/plugins/bayna/src/Modules/pluginUpdater.php on line 71
I am able to see that there are errors being caused by the Bayna plugin.
It’s possible that the syntax error in the
pluginUpdater.php
file could be causing issues with updating the WooCommerce database, especially if the error is preventing the plugin from executing as intended.As a next step, could you try temporarily disabling the Bayna plugin and see if this makes any difference?
Dropin Plugins (1) object-cache.php: Object Cache Pro (Drop-in) Must Use Plugins (1) Object Cache Pro (MU): by Rhubarb Group – 1.17.1
Additionally, it is possible that this could be originating from the?
object-cache.php
. Object caching involves storing database queries and it could be the possible cause of this.I’d recommend temporarily disabling any caching plugins, and if that makes no difference, you can try accessing your FTP or cPanel and locate the?
wp-content
?folder, and see if there is?object-cache.php
.If yes, please try renaming this and then try initiating another database update from WooCommerce > Status > Tools >
Update Database
Note: Please make a full backup of your site and database before making any changes to the WordPress installation files, so that you can install a backup should anything go wrong.
Let us know how this goes!
Thanks Roxy. I have tried all of the above but still no luck. I even deleted the Bayna plugin but nothing. I disabled the cache and also renamed it in FTP. I have this cache on other Woocommerce apps and it works fine.
This is what Im still seeing – snipboard.io/5fnKS0.jpg
Sorry its a confusing one!!Hi @davidwjw
I understand that deleting the Bayna plugin did not resolve the issue here.
This is what Im still seeing – snipboard.io/5fnKS0.jpg
Pending: 553
Checking on your site’s System Status Report, I can see that you have a lot of pending tasks. Can you please try to run them manually one by one and see if this resolves the issue?
Hi @davidwjw ,
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.
Cheers!
Sorry about the late reply.
So we managed to run all 500+ manually and it did get rid of the database notification. We will leave the website for a while and see if the scheduled actions re-appear.
I do think this was because of the 3rd party plugin. Thanks for all your help on this ??
- The topic ‘WooCommerce database update in progress’ is closed to new replies.