WooCommerce database update required WooCommerce has been updated! [CONTINUES]
-
Hello there,
Could you please share a copy of your site’s
System Status
? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.WordPress environment WordPress address (URL): https://???.??? Site address (URL): https://???.??? WooCommerce version: 6.1.0 WooCommerce REST API package: ? 6.1.0 /wp-content/plugins/woocommerce/includes WooCommerce Blocks package: ? 6.5.1 /wp-content/plugins/woocommerce/packages/woocommerce-blocks/ Action Scheduler package: ? 3.4.0 /wp-content/plugins/woocommerce/packages/action-scheduler WooCommerce Admin package: ? 3.0.3 /wp-content/plugins/woocommerce/packages/woocommerce-admin Log directory writable: ? /wp-content/uploads/wc-logs/ WordPress version: 5.8.3 WordPress multisite: – WordPress memory limit: 256 MB WordPress debug mode: ? WordPress cron: ? Language: en_US External object cache: – Server environment Server info: Apache PHP version: 7.4.27 PHP post max size: 516 MB PHP time limit: 30 PHP max input vars: 1000 cURL version: 7.81.0, OpenSSL/1.1.1m SUHOSIN installed: – MySQL version: 5.6.41-84.1 Max upload size: 512 MB Default timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte string: ? Remote post: ? Remote get: ? Database WooCommerce database version: 3.1.0 Database prefix wp_ Total Database Size 14.67MB Database Data Size 9.44MB Database Index Size 5.23MB wp_woocommerce_sessions Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_api_keys Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_order_items Data: 0.08MB + Index: 0.04MB + Engine MyISAM wp_woocommerce_order_itemmeta Data: 0.44MB + Index: 0.31MB + Engine MyISAM wp_woocommerce_tax_rates Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_tax_rate_locations Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions Data: 1.50MB + Index: 0.75MB + 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.36MB + Index: 0.28MB + Engine InnoDB wp_commentmeta Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_comments Data: 0.13MB + Index: 0.07MB + Engine MyISAM wp_icl_content_status Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_core_status Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_flags Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_languages Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_icl_languages_translations Data: 0.10MB + Index: 0.10MB + Engine MyISAM wp_icl_locale_map Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_message_status Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_mo_files_domains Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_icl_node Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_reminders Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_strings Data: 1.37MB + Index: 1.20MB + Engine MyISAM wp_icl_string_batches Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_string_packages Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_string_pages Data: 0.17MB + Index: 0.28MB + Engine InnoDB wp_icl_string_positions Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_string_status Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_string_translations Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_icl_string_urls Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_translate Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_icl_translate_job Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_translations Data: 0.04MB + Index: 0.08MB + Engine MyISAM wp_icl_translation_batches Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_icl_translation_downloads Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_translation_status Data: 0.15MB + Index: 0.02MB + Engine MyISAM wp_ju_queue Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_links Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options Data: 1.78MB + Index: 0.16MB + Engine MyISAM wp_postmeta Data: 2.16MB + Index: 1.00MB + Engine MyISAM wp_posts Data: 0.32MB + Index: 0.12MB + Engine MyISAM wp_termmeta Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_terms Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_term_relationships Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_term_taxonomy Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_usermeta Data: 0.17MB + Index: 0.12MB + Engine MyISAM wp_users Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_wc_admin_notes Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup Data: 0.05MB + 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.00MB + Index: 0.00MB + Engine MyISAM wp_wpfd_statistics Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_wpfd_tokens Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpforms_tasks_meta Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts amn_wpforms-lite 1 attachment 443 custom_css 1 customize_changeset 4 nav_menu_item 19 page 19 post 3 product 49 product_variation 126 revision 31 shop_order 442 wpfd_file 2 Security Secure connection (HTTPS): ? Hide errors from visitors Error messages should not be shown to visitors. Active plugins (11) WPML Multilingual CMS by OnTheGoSystems – 4.5.2 Woo Store Vacation by MyPreview – 1.4.3 WooCommerce Dropbox by Vadiem Janssens – 1.2.5 WooCommerce PayPal Checkout Gateway by WooCommerce – 2.1.3 WooCommerce Multilingual by OnTheGoSystems – 4.12.4 WooCommerce by Automattic – 6.1.0 WPForms Lite by WPForms – 1.7.2 WPML Media by OnTheGoSystems – 2.7.0 WPML String Translation by OnTheGoSystems – 3.2.0 Inactive plugins (5) Akismet Anti-Spam by Automattic – 4.2.1 CSS & JavaScript Toolbox by Wipeout Media – 11.5 WP File Download by Joomunited – 5.3.0 WP File Download Addon by Joomunited – 4.5.10 WPML Translation Management by OnTheGoSystems – 2.10.8 Settings API enabled: ? Force SSL: – Currency CHF (CHF) 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: – WooCommerce pages Shop base: #5 - /shop/ Cart: #23 - /einkaufswagen/?lang=de Checkout: #24 - /zur-kasse/?lang=de My account: #8 - /my-account/ Terms and conditions: Page not set Theme Name: Twenty Seventeen Version: 2.8 Author URL: https://www.ads-software.com/ Child theme: X – 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: ? Templates Overrides: – Action Scheduler Version: 3.4.0 Data store: ActionScheduler_DBStore Action Status Count Oldest Scheduled Date Newest Scheduled Date Complete 1,544 2021-12-19 14:54:12 +0000 2022-01-19 01:42:57 +0000 Failed 2 2022-01-18 13:18:16 +0000 2022-01-18 13:19:15 +0000 Pending 4 2022-01-19 16:46:07 +0000 2022-01-21 17:17:35 +0000 Status report information Generated at: 2022-01-19 13:19:53 +00:00
Thanks for the status report.
Can you share the action performed that triggers this error? Can you also share a screenshot of the error via https://imgbb.com or https://snipboard.io? For better assistance, please share your WooCommerce error logs and System Status on this thread so we can take a look at your configuration and check the issue further: Error Log: Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if available).
this issue is(was) not opened predicated upon any error message. please review the message chain for details.
the fatal error you are referencing as being noted in the status report is a collateral issue that just began very recently (perhaps the last three-to-four days)
this is that recent fatal error (both the same, 1 minute apart);
CRITICAL Cannot redeclare filter_created_pages() (previously declared in /wp-content/plugins/woocommerce/includes/wc-update-functions.php:2281) in /wp-content/plugins/woocommerce/includes/wc-update-functions.php on line 2281
regards,
-DJ
- This reply was modified 2 years, 10 months ago by damelco.
Hi @damelco,
Please disable all your plugins (except WooCommerce) and run again a database update from WooCommerce -> Status -> Tools -> Update database.
Let us know how it goes.
with all other plugins deactivated, update completes as usual.
however, no change in result … within 24 hours the update notice has returned.Hi @damelco
Previously, your database version wasn’t up to date as seen in your system status:
WooCommerce database version: 3.1.0
Could you go back to WooCommerce > Status, and check if the current version is 6.1.0?
that was covered in the original message chain … check the first message in this chain for the link!
-DJ
Hi @damelco,
Hmmm…that’s definitely one I haven’t run across before. Are there any other changes to the database when this happens or is it only the WooCommerce database version that changes?
When the update database routine is triggered, it will create pending scheduled actions to handle the update. Let’s do this. Run the tool to update the database again. Then go to WooCommerce > Status > Scheduled Actions and click on the pending actions.
See if all of the actions for updating the database run successfully. After they run, make sure there aren’t any new ones created.
If that’s not it, I wonder if there is some type of cron task or other server event that is doing this. Something has to change it back that’s scheduled in some way or another. Otherwise it wouldn’t revert hours after the change is made.
You might need to get some assistance from your web host about this too. They may be able to find anything happening on your site that’s causing this.
Hi there,
It’s been a while since we last heard back from you. I’m going to mark this thread as resolved.
Hopefully, you were able to find a way forward with the issue – we’ll be here if and/or when you are ready to continue.
nope … not resolved … still borked!!
-DJ
Hi @damelco,
Did you contact your host as recommended by 3sonsdevelopment?
You mentioned earlier that the database version was automatically rolled back to 3.1.0 which is pretty strange as WooCommerce doesn’t do this. It could be a cron process or event running on the server that is triggering that action.
Your hosting company is also able to check the server logs to see if anything strange appears there.
Let us know how it goes.
right after an update runs and reports it is complete … I am seeing additional Scheduled Actions run and marked as Complete
woocommerce_run_update_callback Complete 'update_callback' => 'wc_update_340_state' woocommerce-db-updates Non-repeating
though they are marked “Non-repeating” I see groups of these occurring, sometimes several per second … seems suspicious … or is that normal?
thanks
-DJ
Hi @damelco,
‘update_callback’
It sounds like this instruction is causing the database to revert back although the action is set to non-repeating, it would happen each time there is an update.
There is a plugin called WP Crontrol that enables you to view and control what’s happening in the WP-Cron system and locate what tool is triggering this action.
Thanks.
I was sorta focusing on the part after that …
wc_update_340_state
is the 340 significant to anything??
if that is an indication of a version/revision number, it makes the impression there has been an issue for a pretty long time … right?-DJ
- This reply was modified 2 years, 9 months ago by damelco.
- The topic ‘WooCommerce database update required WooCommerce has been updated! [CONTINUES]’ is closed to new replies.