ActionScheduler in continuous loop and database update needed constantly
-
Hi since updating the website to woocommerce 4 and 4.01 we have had issues with the woocommerce database update in that it continuously shows that it is in progress, when you click to view the progress there are over a 1000 pendng but in the table it says no itenms found yet 645 pages. I contacted our server company and they told me to contact you as the error logs show:
I can see quite a lot of dB errors in the log located at /public_html/error_log which look to appear when attempting to update the database.
Unfortunately, we are not database administrators and have limited knowledge of the internals of WooCommerce, I would recommend you submit a ticket with WooCommerce Support and provide them with the following log entries which may be the cause of the issue.
[27-Apr-2020 20:08:32 UTC] WordPress database error Table ‘literart_wp2.a’ doesn’t exist for query SELECT a.action_id FROM a WHERE a.hook=’action_scheduler/migration_hook’ AND a.status=’in-progress’ ORDER BY scheduled_date_gmt DESC LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Action_Scheduler\Migration\Controller->schedule_migration, Action_Scheduler\Migration\Scheduler->is_migration_scheduled, as_next_scheduled_action, ActionScheduler_HybridStore->find_action, ActionScheduler_DBStore->find_action
[27-Apr-2020 20:08:32 UTC] WordPress database error Table ‘literart_wp2.a’ doesn’t exist for query SELECT a.action_id FROM a WHERE a.hook=’action_scheduler/migration_hook’ AND a.status=’pending’ ORDER BY scheduled_date_gmt ASC LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Action_Scheduler\Migration\Controller->schedule_migration, Action_Scheduler\Migration\Scheduler->is_migration_scheduled, as_next_scheduled_action, ActionScheduler_HybridStore->find_action, ActionScheduler_DBStore->find_action
[27-Apr-2020 20:08:32 UTC] WordPress database error Table ‘literart_wp2.a’ doesn’t exist for query SELECT a.action_id FROM a WHERE a.hook=’action_scheduler/migration_hook’ AND a.status=’in-progress’ ORDER BY scheduled_date_gmt DESC LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Action_Scheduler\Migration\Controller->schedule_migration, Action_Scheduler\Migration\Scheduler->schedule_migration, as_next_scheduled_action, ActionScheduler_HybridStore->find_action, ActionScheduler_DBStore->find_action
[27-Apr-2020 20:08:32 UTC] WordPress database error Table ‘literart_wp2.a’ doesn’t exist for query SELECT a.action_id FROM a WHERE a.hook=’action_scheduler/migration_hook’ AND a.status=’pending’ ORDER BY scheduled_date_gmt ASC LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Action_Scheduler\Migration\Controller->schedule_migration, Action_Scheduler\Migration\Scheduler->schedule_migration, as_next_scheduled_action, ActionScheduler_HybridStore->find_action, ActionScheduler_DBStore->find_action
[27-Apr-2020 20:08:32 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE slug=’action-scheduler-migration” at line 1 for query SELECT group_id FROM WHERE slug=’action-scheduler-migration’ made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Action_Scheduler\Migration\Controller->schedule_migration, Action_Scheduler\Migration\Scheduler->schedule_migration, as_schedule_single_action, ActionScheduler_ActionFactory->single, ActionScheduler_ActionFactory->store, ActionScheduler_HybridStore->save_action, ActionScheduler_DBStoreMigrator->save_action, ActionScheduler_DBStore->save_action, ActionScheduler_DBStore->get_group_id
[27-Apr-2020 20:08:32 UTC] WordPress database error Incorrect table name ” for query SHOW FULL COLUMNS FROMmade by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Action_Scheduler\Migration\Controller->schedule_migration, Action_Scheduler\Migration\Scheduler->schedule_migration, as_schedule_single_action, ActionScheduler_ActionFactory->single, ActionScheduler_ActionFactory->store, ActionScheduler_HybridStore->save_action, ActionScheduler_DBStoreMigrator->save_action, ActionScheduler_DBStore->save_action, ActionScheduler_DBStore->get_group_id, ActionScheduler_DBStore->create_group
And below is the status logs:
### WordPress Environment ### WordPress address (URL): https://www.ruggles-horse-rugs.co.uk Site address (URL): https://www.ruggles-horse-rugs.co.uk WC Version: 4.0.1 REST API Version: ? 1.0.7 WC Blocks Version: ? 2.5.14 Action Scheduler Version: ? 3.1.4 WC Admin Version: ? 1.1.0 Log Directory Writable: ? WP Version: 5.4 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: ? Language: en_GB External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.2.30 PHP Post Max Size: 512 MB PHP Time Limit: 3000 PHP Max Input Vars: 1000 cURL Version: 7.62.0 OpenSSL/1.0.2k SUHOSIN Installed: – MySQL Version: 5.7.29-cll-lve Max Upload Size: 512 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected. DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.9.3 WC Database Prefix: wp_ Total Database Size: 397.90MB Database Data Size: 274.70MB Database Index Size: 123.20MB wp_woocommerce_sessions: Data: 21.02MB + Index: 1.02MB + 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: 2.52MB + Index: 0.48MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 15.55MB + Index: 12.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: 4.52MB + Index: 2.45MB + 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: 3.52MB + Index: 3.03MB + Engine InnoDB wp_aelia_exchange_rates_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 12.52MB + Index: 9.09MB + Engine InnoDB wp_ebay_accounts: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp_ebay_auctions: Data: 9.52MB + Index: 0.14MB + Engine InnoDB wp_ebay_categories: Data: 1.52MB + Index: 0.69MB + Engine InnoDB wp_ebay_jobs: Data: 0.14MB + Index: 0.00MB + Engine InnoDB wp_ebay_log: Data: 0.28MB + Index: 0.08MB + Engine InnoDB wp_ebay_messages: Data: 0.42MB + Index: 0.00MB + Engine InnoDB wp_ebay_orders: Data: 14.52MB + Index: 0.05MB + Engine InnoDB wp_ebay_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ebay_profiles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ebay_shipping: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_ebay_sites: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_ebay_stocks_log: Data: 8.02MB + Index: 0.00MB + Engine InnoDB wp_ebay_store_categories: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_ebay_transactions: Data: 12.52MB + Index: 0.08MB + Engine InnoDB wp_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gf_entry: Data: 0.14MB + Index: 0.03MB + Engine InnoDB wp_gf_entry_meta: Data: 1.52MB + Index: 0.31MB + Engine InnoDB wp_gf_entry_notes: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gf_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_litespeed_img_optm: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_litespeed_optimizer: Data: 1.52MB + Index: 0.19MB + Engine InnoDB wp_mailchimp_carts: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_mailchimp_jobs: Data: 0.22MB + Index: 0.00MB + Engine InnoDB wp_mcloud_post_map: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mcloud_task: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_mcloud_task_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mcloud_task_schedule: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 6.44MB + Index: 0.33MB + Engine InnoDB wp_pmxe_exports: Data: 0.23MB + Index: 0.00MB + Engine InnoDB wp_pmxe_google_cats: Data: 0.38MB + Index: 0.00MB + Engine InnoDB wp_pmxe_posts: Data: 3.52MB + Index: 0.00MB + Engine InnoDB wp_pmxe_templates: Data: 0.03MB + Index: 0.00MB + 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.20MB + Index: 0.00MB + Engine InnoDB wp_pmxi_imports: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_pmxi_posts: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_pmxi_templates: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 111.64MB + Index: 68.17MB + Engine InnoDB wp_posts: Data: 11.52MB + Index: 3.88MB + Engine InnoDB wp_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_redirection_404: Data: 2.02MB + Index: 1.45MB + Engine InnoDB wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_redirection_logs: Data: 0.06MB + Index: 0.08MB + Engine InnoDB wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.13MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.09MB + Index: 0.09MB + Engine InnoDB wp_term_relationships: Data: 1.52MB + Index: 0.44MB + Engine InnoDB wp_term_taxonomy: Data: 0.11MB + Index: 0.11MB + Engine InnoDB wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Data: 6.52MB + Index: 6.03MB + Engine InnoDB wp_users: Data: 0.52MB + Index: 0.36MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + 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.02MB + Index: 0.03MB + Engine InnoDB wp_wc_gpf_render_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB 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.28MB + Index: 0.45MB + 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_woocommerce_exported_csv_items: Data: 0.39MB + Index: 0.13MB + Engine InnoDB wp_woocommerce_gpf_google_taxonomy: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_table_rates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmelon_advbedit_temp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wsal_metadata: Data: 9.52MB + Index: 10.06MB + Engine InnoDB wp_wsal_occurrences: Data: 1.52MB + Index: 0.63MB + Engine InnoDB wp_wsal_options: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_seo_links: Data: 0.41MB + Index: 0.11MB + Engine InnoDB wp_yoast_seo_meta: Data: 1.52MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### acf-field: 2 acf-field-group: 2 attachment: 1139 custom_css: 1 nav_menu_item: 87 page: 20 popup: 1 popup_theme: 6 post: 17 product: 238 product_variation: 1523 revision: 13 scheduled-action: 82 shop_coupon: 20 shop_order: 15751 shop_order_refund: 838 wcpcsu-custom-post: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (43) ### ManageWP - Worker: by GoDaddy – 4.9.6 Gravity Forms: by Gravity Forms – 2.4.17.22 Admin Menu Editor Pro: by Janis Elsts – 2.11 Advanced Custom Fields: by Elliot Condon – 5.8.9 Disable Comments: by Samir Shah – 1.10.2 Duplicate Page: by mndpsingh287 – 4.2 Easy Tables (vc): by WPBakery – 1.0.10 Media Cloud (Premium): by interfacelab – 3.3.21 WPBakery Page Builder: by Michael M - WPBakery.com – 6.2.0 LiteSpeed Cache: by LiteSpeed Technologies – 2.9.9.2 PixelYourSite PRO: by PixelYourSite – 7.5.2 PixelYourSite Super Pack: by PixelYourSite – 2.1.1 Popup Maker: by Popup Maker – 1.10.1 Product Catalog Feed by PixelYourSite: by PixelYourSite – 1.0.5 – Not tested with the active version of WooCommerce Really Simple SSL: by Rogier Lankhorst Mark Wolters – 3.3.1 Redirection: by John Godley – 4.7.1 SendGrid: by SendGrid – 1.11.8 Storefront Pro: by pootlepress – 5.10.1 Category Order and Taxonomy Terms Order: by Nsp-Code – 1.5.7.2 WooCommerce Product Carousel, Slider and Grid Ultimate: by AazzTech – 1.7.2 WooCommerce Address Validation: by SkyVerge – 2.6.2 – Not tested with the active version of WooCommerce WooCommerce Admin: by WooCommerce – 1.1.0 WooCommerce Advanced Bulk Edit: by George Iron – 4.4.4 – Not tested with the active version of WooCommerce WooCommerce Cost of Goods: by SkyVerge – 2.9.5 WooCommerce Customer/Order/Coupon Export: by SkyVerge – 5.0.9 WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.21 WooCommerce Stripe Gateway: by WooCommerce – 4.3.3 WooCommerce Google Analytics Pro: by SkyVerge – 1.8.9 WooCommerce Nested Category Layout: by SkyVerge – 1.14.3 WooCommerce Print Invoices/Packing Lists: by SkyVerge – 3.8.3 WooCommerce Google Product Feed: by Ademti Software Ltd. – 8.0.0 WooCommerce Product SKU Generator: by SkyVerge – 2.4.4 WooCommerce Sequential Order Numbers: by SkyVerge – 1.9.4 WooCommerce Shop as Customer: by cxThemes – 2.16 – Not tested with the active version of WooCommerce WooCommerce Table Rate Shipping: by WooCommerce – 3.0.22 WooCommerce: by Automattic – 4.0.1 Yoast SEO: by Team Yoast – 13.5 WP All Export Pro: by Soflyy – 1.5.11-beta-1.14 WP-Lister Pro for eBay: by WP Lab – 2.5.2 WP-Optimize Premium - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.0.16 WP Sitemap Page: by Tony Archambeau – 1.6.2 Smush Pro: by WPMU DEV – 3.6.1 WPMU DEV Dashboard: by WPMU DEV – 4.8.1 ### Inactive Plugins (6) ### Force Regenerate Thumbnails: by Pedro Elsner – 2.0.6 Mailchimp for WooCommerce: by Mailchimp – 2.3.6 Official Facebook Pixel: by Facebook – 2.0.2 Query Monitor: by John Blackbourn – 3.5.2 WP Security Audit Log: by WP White Security – 4.0.3 Yoast SEO Premium: by Team Yoast – 13.4.1 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (2) ### installatron_hide_status_test.php: by – ManageWP - Worker Loader: by GoDaddy – ### Settings ### API Enabled: – Force SSL: – Currency: GBP (£) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: simple (simple) grouped (grouped) variable (variable) external (external) Taxonomies: Product Visibility: exclude-from-search (exclude-from-search) exclude-from-catalog (exclude-from-catalog) 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: – ### WC Pages ### Shop base: #81180 - /shop/ Basket: #81181 - /cart/ Checkout: #81182 - /checkout/ My account: #81183 - /my-account/ Terms and conditions: #81188 - /terms-conditions/ ### Theme ### Name: Ruggles 2019 Version: 1.0.0 Author URL: https:cagedfish.co.uk Child Theme: ? Parent Theme Name: Storefront Parent Theme Version: 2.5.5 Parent Theme Author URL: https://woocommerce.com/ WooCommerce Support: ? ### Templates ### Overrides: – ### WooCommerce Google Product Feed fields ### Product description: Main product description (full preferred) plus variation description. Availability: Defaults to "in stock". Brand: Manufacturer Part Number (MPN): Product Type: Google Product Category: Global Trade Item Number (GTIN): Size system: ### WooCommerce Google Product Feed options ### Include variations in feed: Enabled Send item_group_id: No ### Address Validation ### Active Provider: Loqate (legacy - UK) Configured: ? API username: Debug Mode: No Geocode Addresses: No Classify Addresses: No Force Customer to look-up address via Postcode: No ### WooCommerce Customer/Order/Coupon Export ### Automated exports: 2 Custom formats: 1 Next export: Not scheduled
Any help would be appreciated
- The topic ‘ActionScheduler in continuous loop and database update needed constantly’ is closed to new replies.