wc_run_batch_process
-
Dear WooCommerce Support Team,
I am experiencing an issue with a pending order that remains stuck in my WooCommerce environment. The error message indicates that there is an action that cannot be processed, and it seems to be related to High-Performance Order Storage (HPOS).
Here are the details:
- The action in the Action Scheduler is “woocommerce_run_data_sync” and stays in ‘pending’ status.
- I have enabled compatibility mode to ensure my store functions properly with existing plugins.
- I have tried manually deleting the pending action, but it keeps reappearing.
My questions are:
- Is there a way to clear the pending order without disrupting the functionality of my store?
- Are there specific steps I can follow to disable HPOS and revert to traditional order storage without causing issues?
- Can you advise me on the best way to resolve this stuck order?
-
Hello isaaksan,
Thank you for contacting WooCommerce support.
To better understand the issue, could you please provide the following:
– A screenshot of your HPOS settings.
– A screenshot of the Scheduled Actions, especially the pending βwoocommerce_run_data_syncβ action.
– The System Status Report for a more comprehensive view of your setup.This will help me assist you in resolving the stuck order and provide further guidance on deciding where to stick with HPOS or switch to legacy order storage.
Looking forward to your response. π
WordPress Environment<br><br>WordPress address (URL): hidden<br>Site address (URL): hidden<br>WC Version: 9.3.3<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: β 3.8.1<br>Log Directory Writable: β<br>WP Version: 6.6.2<br>WP Multisite: β<br>WP Memory Limit: 2 GB<br>WP Debug Mode: β<br>WP Cron: β<br>Language: en<br>External object cache: β Server Environment<br><br>Server Info: LiteSpeed<br>PHP Version: 8.1.28<br>PHP Post Max Size: 2 GB<br>PHP Time Limit: 360<br>PHP Max Input Vars: 5000<br>cURL Version: 7.76.1<br>OpenSSL/3.0.7<br><br>SUHOSIN Installed: β<br>MySQL Version: 10.11.8-MariaDB-cll-lve<br>Max Upload Size: 2 GB<br>Default Timezone is UTC: β<br>fsockopen/cURL: β<br>SoapClient: β<br>DOMDocument: β<br>GZip: β<br>Multibyte String: β<br>Remote Post: β<br>Remote Get: β Database<br><br>WC Database Version: 9.3.3<br>WC Database Prefix: wp_<br>Total Database Size: 538.16MB<br>Database Data Size: 347.03MB<br>Database Index Size: 191.13MB<br>wp_woocommerce_sessions: Data: 0.11MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 0.27MB + Index: 0.20MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 77.63MB + Index: 36.70MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 255.83MB + Index: 148.27MB + Engine InnoDB<br>wp_blogmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_blogs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_blog_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 0.14MB + Index: 0.09MB + Engine InnoDB<br>wp_jetpack_sync_queue: Data: 5.52MB + Index: 1.03MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_litespeed_img_optming: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_options: Data: 1.47MB + Index: 0.16MB + Engine InnoDB<br>wp_pimwick_gift_card: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_pimwick_gift_card_activity: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_postmeta: Data: 3.52MB + Index: 1.83MB + Engine InnoDB<br>wp_posts: Data: 0.36MB + Index: 0.20MB + Engine InnoDB<br>wp_registration_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_signups: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_site: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_sitemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_usermeta: Data: 0.20MB + Index: 0.03MB + Engine InnoDB<br>wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_orders: Data: 0.08MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.34MB + Index: 0.44MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.05MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_gc_activity: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_gc_cards: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_gc_cardsmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpforms_entries: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_wpforms_entry_fields: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wpforms_entry_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>wp_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpml_mails: Data: 0.02MB + Index: 0.02MB + Engine InnoDB Post Type Counts<br><br>attachment: 622<br>blocks: 8<br>nav_menu_item: 14<br>page: 12<br>post: 3<br>product: 60<br>product_variation: 27<br>shop_coupon: 2<br>shop_order: 131<br>shop_order_placehold: 1<br>wapf_product: 3<br>wpforms: 1<br>wp_global_styles: 1<br>wp_navigation: 1 Security<br><br>Secure connection (HTTPS): β<br>Hide errors from visitors: β Active Plugins (13)<br><br>Advanced Product Fields Pro for WooCommerce: by StudioWombat β 2.7.3<br>Classic Editor: by WordPress Contributors β 1.6.5<br>Joinchat: by Creame β 5.1.8<br>Estimate delivery date for Woocommerce Pro: by PI Websolution β 4.7.21.16<br>LiteSpeed Cache: by LiteSpeed Technologies β 6.5.1<br>NinjaFirewall (WP Edition): by The Ninja Technologies Network β 4.6.1<br>PW WooCommerce Gift Cards Pro: by Pimwick<br>LLC β 1.470<br><br>WC Hide Shipping Methods: by Rynaldo Stoltz β 1.8<br>WooCommerce Stripe Gateway: by WooCommerce β 8.7.0<br>WooCommerce PayPal Payments: by WooCommerce β 2.9.1<br>WooCommerce: by Automattic β 9.3.3<br>WP Mail SMTP: by WP Mail SMTP β 4.1.1<br>WPForms Lite: by WPForms β 1.9.1.2 Inactive Plugins (3)<br><br>NinjaScanner: by The Ninja Technologies Network β 3.2.2<br>WP-Optimize - Clean, Compress, Cache: by David Anderson<br>Ruhani Rabin<br>Team Updraft β 3.6.0<br><br>YellowPencil Pro: by WaspThemes β 7.6.4 Dropin Plugins ()<br><br>object-cache.php: LiteSpeed Cache - Object Cache (Drop-in) Must Use Plugins (3)<br><br>Disable Auto Updates: by β<br>NinjaFirewall WP (mu-plugin): by The Ninja Technologies Network β 1.0<br>WordPress automation by Installatron: by β Settings<br><br>Legacy API Enabled: β<br>Force SSL: β<br>Currency: EUR (β¬)<br>Currency Position: left_space<br>Thousand Separator: .<br>Decimal Separator: ,<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>pw gift card (pw-gift-card)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: β<br>Enforce Approved Product Download Directories: β<br>HPOS feature enabled: β<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: β Logging<br><br>Enabled: β<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: β<br>Log directory size: 32 KB WC Pages<br><br>Shop base: #39 - /shop/<br>Cart: #40 - /cart/ - Contains the [woocommerce_cart] shortcode<br>Checkout: #41 - /checkout/ - Contains the [woocommerce_checkout] shortcode<br>My account: #42 - /my-account/<br>Terms and conditions: β Page not set Theme<br><br>Name: hidden child<br>Version: 3.0<br>Author URL:<br>Child Theme: β<br>Parent Theme Name: Flatsome<br>Parent Theme Version: 3.19.6<br>Parent Theme Author URL: https://uxthemes.com<br>WooCommerce Support: β Templates<br><br>Overrides: flatsome/woocommerce/archive-product.php<br>flatsome/woocommerce/cart/cart-empty.php<br>flatsome/woocommerce/cart/cart-shipping.php<br>flatsome/woocommerce/cart/cart.php<br>flatsome/woocommerce/cart/mini-cart.php<br>flatsome/woocommerce/checkout/form-checkout.php<br>flatsome/woocommerce/checkout/form-coupon.php<br>flatsome/woocommerce/checkout/order-received.php<br>flatsome/woocommerce/checkout/terms.php<br>flatsome/woocommerce/checkout/thankyou.php<br>flatsome/woocommerce/content-product-cat.php<br>flatsome/woocommerce/content-product.php<br>flatsome/woocommerce/content-single-product.php<br>flatsome/woocommerce/content-widget-product.php<br>flatsome/woocommerce/global/breadcrumb.php<br>flatsome/woocommerce/global/quantity-input.php<br>flatsome/woocommerce/global/wrapper-end.php<br>flatsome/woocommerce/global/wrapper-start.php<br>flatsome/woocommerce/loop/header.php<br>flatsome/woocommerce/loop/loop-end.php<br>flatsome/woocommerce/loop/loop-start.php<br>flatsome/woocommerce/loop/pagination.php<br>flatsome/woocommerce/loop/rating.php<br>flatsome/woocommerce/loop/result-count.php<br>flatsome/woocommerce/loop/sale-flash.php<br>flatsome/woocommerce/myaccount/form-login.php<br>flatsome/woocommerce/myaccount/navigation.php<br>flatsome/woocommerce/notices/error.php<br>flatsome/woocommerce/notices/notice.php<br>flatsome/woocommerce/notices/success.php<br>flatsome/woocommerce/product-searchform.php<br>flatsome/woocommerce/single-product/photoswipe.php<br>flatsome/woocommerce/single-product/price.php<br>flatsome/woocommerce/single-product/product-image.php<br>flatsome/woocommerce/single-product/product-thumbnails.php<br>flatsome/woocommerce/single-product/rating.php<br>flatsome/woocommerce/single-product/related.php<br>flatsome/woocommerce/single-product/review.php<br>flatsome/woocommerce/single-product/sale-flash.php<br>flatsome/woocommerce/single-product/share.php<br>flatsome/woocommerce/single-product/short-description.php<br>flatsome/woocommerce/single-product/tabs/tabs.php<br>flatsome/woocommerce/single-product/title.php<br>flatsome/woocommerce/single-product/up-sells.php<br>flatsome/woocommerce/single-product-reviews.php<br>flatsome/woocommerce/single-product.php Pimwick Plugins<br><br>PW WooCommerce Gift Cards Pro: WooCommerce PayPal Payments<br><br>Onboarded: β<br>Shop country code: NL<br>WooCommerce currency supported: β<br>Advanced Card Processing available in country: β<br>Pay Later messaging available in country: β<br>Webhook status: β<br>PayPal Vault enabled: β<br>ACDC Vault enabled: β<br>Logging enabled: β<br>Reference Transactions: β<br>Used PayPal Checkout plugin: β<br>Subscriptions Mode: Disabled<br>PayPal Shipping Callback: β<br>Apple Pay: β<br>Google Pay: β<br>Fastlane: β Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: experimental-blocks<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>blueprint<br>reactify-classic-payments-settings<br><br>Daily Cron: β Next scheduled: 2024-10-01 20:16:22 +02:00<br>Options: β<br>Notes: 63<br>Onboarding: completed Action Scheduler<br><br>Complete: 118,650<br>Oldest: 2024-09-30 15:46:24 +0200<br>Newest: 2024-10-01 13:25:02 +0200<br><br>Pending: 7<br>Oldest: 2024-10-01 13:25:02 +0200<br>Newest: 2024-10-07 15:39:58 +0200 Status report information<br><br>Generated at: 2024-10-01 13:25:10 +02:00<br>it has made in one day 123,592 Scheduled Actions items
Hello isaaksan,
Thank you for your reply.
To help us get to the bottom of the cron issue, I suggest installing the WP Crontrol plugin.
If there are any WP-Cron issues, this plugin will provide more details.Also, if you could share the following with me:
β A screenshot of your HPOS settings.
β A screenshot of the Scheduled Actions, especially the pending βwoocommerce_run_data_syncβ action.Looking forward to your response. π
The topic ‘wc_run_batch_process’ is closed to new replies.