Title: WooCommerce Database Query &#8211; Causing 502
Last modified: July 19, 2022

---

# WooCommerce Database Query – Causing 502

 *  Resolved [squidgydesigns](https://wordpress.org/support/users/squidgydesigns/)
 * (@squidgydesigns)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-database-query-causing-502/)
 * Hi,
 * After the last update (6.7.0), we found that using the CMS we were intermittently
   getting 502 errors.
 * Having deactivated all plugins, and moving to Storefront, we have located the
   issue and this is the WooCommerce plugin. It happens when WooCommerce makes a
   Database Query.
 * We have tried downgrading WooCommerce to 6.6.1 but this has not resolved the 
   issue.
 * I am unsure whether or not it is related, but we have over 450 pending tasks 
   within the Action Scheduler. Whenever we try to manually ‘Run’ these tasks we
   are once again met with a 502 error.
 * Any guidance you can provide in relation to this would be greatly appreciated.
 * Cheers,
    Andy

Viewing 12 replies - 1 through 12 (of 12 total)

 *  [Roxy](https://wordpress.org/support/users/roxannestoltz/)
 * (@roxannestoltz)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-database-query-causing-502/#post-15838132)
 * Hi [@squidgydesigns](https://wordpress.org/support/users/squidgydesigns/) ,
 * Thanks for reaching out!
 * I understand that you are intermittently receiving a `502 error`, and have identified
   the cause to be **WooCommerce** after performing a conflict test.
 * In order to get a better understanding of your site setup, could you please share
   a copy of the following:
 * **>** System Status report – which you can find via **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.
 * Thanks!
 *  Thread Starter [squidgydesigns](https://wordpress.org/support/users/squidgydesigns/)
 * (@squidgydesigns)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-database-query-causing-502/#post-15838214)
 * Hi [@roxannestoltz](https://wordpress.org/support/users/roxannestoltz/)
 * Thank you.
 * Status Report:
 *     ```
       ### WordPress Environment ###
   
       WordPress address (URL): https://www.mrmunro.co.uk
       Site address (URL): https://www.mrmunro.co.uk
       WC Version: 6.6.1
       REST API Version: ✔ 6.6.1
       WC Blocks Version: ✔ 7.6.2
       Action Scheduler Version: ✔ 3.4.0
       Log Directory Writable: ✔
       WP Version: 6.0.1
       WP Multisite: –
       WP Memory Limit: 2 GB
       WP Debug Mode: ✔
       WP Cron: ✔
       Language: en_GB
       External object cache: –
   
       ### Server Environment ###
   
       Server Info: Apache
       PHP Version: 8.1.6
       PHP Post Max Size: 2 GB
       PHP Time Limit: 300
       PHP Max Input Vars: 2500
       cURL Version: 7.79.1
       OpenSSL/1.1.1g-fips
   
       SUHOSIN Installed: –
       MySQL Version: 10.4.22-MariaDB-log
       Max Upload Size: 128 MB
       Default Timezone is UTC: ✔
       fsockopen/cURL: ✔
       SoapClient: ✔
       DOMDocument: ✔
       GZip: ✔
       Multibyte String: ✔
       Remote Post: ✔
       Remote Get: ✔
   
       ### Database ###
   
       WC Database Version: 6.4.0
       WC Database Prefix: wp_
       Total Database Size: 637.49MB
       Database Data Size: 504.35MB
       Database Index Size: 133.14MB
       wp_woocommerce_sessions: Data: 66.11MB + Index: 3.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: 1.52MB + Index: 0.23MB + Engine InnoDB
       wp_woocommerce_order_itemmeta: Data: 7.52MB + Index: 7.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: 76.31MB + Index: 48.27MB + 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: 24.17MB + Index: 17.09MB + Engine InnoDB
       wp_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_aioseo_cache: Data: 0.22MB + Index: 0.03MB + Engine InnoDB
       wp_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
       wp_aioseo_posts: Data: 1.52MB + Index: 0.02MB + Engine InnoDB
       wp_commentmeta: Data: 0.09MB + Index: 0.11MB + Engine InnoDB
       wp_comments: Data: 4.52MB + Index: 3.73MB + Engine InnoDB
       wp_ee_products_sync_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_ee_product_sync_call: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_ee_product_sync_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_expm_maker: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_ezoic_endpoints: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_gf_addon_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_gf_entry: Data: 0.31MB + Index: 0.06MB + Engine InnoDB
       wp_gf_entry_meta: Data: 1.52MB + Index: 0.97MB + Engine InnoDB
       wp_gf_entry_notes: Data: 0.31MB + Index: 0.11MB + Engine InnoDB
       wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_gf_form_meta: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
       wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_gf_form_view: Data: 0.17MB + Index: 0.19MB + Engine InnoDB
       wp_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_grp_google_place: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_grp_google_review: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_grp_google_stats: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_imagify_files: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
       wp_imagify_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_mailchimp_carts: Data: 1.02MB + Index: 0.00MB + Engine InnoDB
       wp_mailchimp_jobs: Data: 31.56MB + Index: 0.00MB + Engine InnoDB
       wp_mail_bank: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_mail_bank_logs: Data: 0.10MB + Index: 0.00MB + Engine MyISAM
       wp_mail_bank_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_mc4wp_log: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
       wp_monsterinsights_pageinsights_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_options: Data: 10.38MB + Index: 1.31MB + Engine InnoDB
       wp_postmeta: Data: 48.58MB + Index: 34.13MB + Engine InnoDB
       wp_posts: Data: 4.52MB + Index: 3.50MB + Engine InnoDB
       wp_psu_redirects: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_psu_terms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_redirection_404: Data: 1.52MB + Index: 0.34MB + Engine InnoDB
       wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_redirection_items: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
       wp_redirection_logs: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
       wp_shipment_batch_process: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_social_users: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_termmeta: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
       wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_term_relationships: Data: 1.52MB + Index: 1.52MB + Engine InnoDB
       wp_term_taxonomy: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
       wp_trackship_shipment: Data: 0.17MB + Index: 0.47MB + Engine InnoDB
       wp_trackship_shipment_meta: Data: 1.52MB + Index: 0.02MB + Engine InnoDB
       wp_trackship_shipping_provider: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_usermeta: Data: 2.52MB + Index: 3.03MB + Engine InnoDB
       wp_users: Data: 0.16MB + Index: 0.14MB + Engine InnoDB
       wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wc_admin_note_actions: Data: 0.03MB + Index: 0.02MB + Engine InnoDB
       wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wc_customer_lookup: Data: 0.27MB + Index: 0.22MB + 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_bundle_lookup: Data: 0.14MB + Index: 0.28MB + Engine InnoDB
       wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_wc_order_product_lookup: Data: 1.52MB + Index: 0.63MB + Engine InnoDB
       wp_wc_order_stats: Data: 0.34MB + Index: 0.39MB + Engine InnoDB
       wp_wc_order_tax_lookup: Data: 0.17MB + Index: 0.17MB + Engine InnoDB
       wp_wc_product_attributes_lookup: Data: 0.36MB + Index: 0.52MB + Engine InnoDB
       wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wc_product_meta_lookup: Data: 0.45MB + Index: 0.84MB + 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_woocommerce_bundled_itemmeta: Data: 0.20MB + Index: 0.28MB + Engine InnoDB
       wp_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_woocommerce_gpf_google_taxonomy: Data: 1.52MB + Index: 0.13MB + Engine InnoDB
       wp_woo_shipment_status_email: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_woo_shippment_provider: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
       wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpil_keywords: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpil_keyword_links: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpil_report_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
       wp_wpil_urls: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpil_url_links: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpmailsmtp_debug_events: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
       wp_wpmailsmtp_tasks_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
       wp_wpml_mails: Data: 203.55MB + Index: 0.00MB + Engine InnoDB
       wp_wpr_rucss_resources: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
       wp_wpr_rucss_used_css: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
       wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_yoast_indexable: Data: 3.52MB + Index: 1.89MB + Engine InnoDB
       wp_yoast_indexable_hierarchy: Data: 0.39MB + Index: 0.64MB + Engine InnoDB
       wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_yoast_primary_term: Data: 0.11MB + Index: 0.11MB + Engine InnoDB
       wp_yoast_seo_links: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
       wp_yoast_seo_meta: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
       wp_zettle_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_zettle_woocommerce_id_map: Data: 0.27MB + Index: 0.00MB + Engine InnoDB
       wp_zorem_email_sms_log: Data: 0.06MB + Index: 0.11MB + Engine InnoDB
   
       ### Post Type Counts ###
   
       attachment: 2017
       blocks: 11
       custom_css: 1
       customize_changeset: 4
       mc4wp-form: 1
       nav_menu_item: 101
       oembed_cache: 4
       page: 42
       post: 11
       product: 550
       product_variation: 3252
       revision: 197
       shop_coupon: 24
       shop_order: 2879
       shop_order_refund: 714
       sidebar: 1
       woo_mb_template: 10
       wpb-rs-global: 9
       wpcf7_contact_form: 2
       wpforms: 1
       ywctm-button-label: 4
   
       ### Security ###
   
       Secure connection (HTTPS): ✔
       Hide errors from visitors: ✔
   
       ### Active Plugins (30) ###
   
       Gravity Forms: by Gravity Forms – 2.6.4
       Classic Editor: by WordPress Contributors – 1.6.2
       Customer Reviews for WooCommerce: by CusRev – 4.46
       MonsterInsights - eCommerce Addon: by MonsterInsights Team – 8.3.5
       Head, Footer and Post Injections: by Stefano Lissa – 3.2.5
       Klarna Order Management for WooCommerce: by klarna
       krokedil – 1.6.10
   
       MC4WP: Mailchimp for WordPress: by ibericode – 4.8.7
       MC4WP: Mailchimp for WordPress Premium: by ibericode – 4.8.21
       Perfect Brands for WooCommerce: by QuadLayers – 2.1.4
       Redirection: by John Godley – 5.2.3
       WooCommerce Estimated Shipping Date Per Product: by Magerips – 4.8
       TrackShip for WooCommerce: by TrackShip – 1.4.2
       Use Any Font: by Dnesscarkey – 6.2.94
       WC Hide Shipping Methods: by Rynaldo Stoltz – 1.5
       Advanced Shipment Tracking for WooCommerce: by zorem – 3.4.4
       Checkout Field Editor for WooCommerce: by ThemeHigh – 1.6.1
       Variation Swatches for WooCommerce: by Emran Ahmed – 2.0.4
       Print Invoice & Delivery Notes for WooCommerce: by Tyche Softwares – 4.6.5
       Braintree for WooCommerce Payment Gateway: by WooCommerce – 2.6.5
       WooCommerce Perfect SEO Url: by Perfect SEO Url – 2.9.1
       WooCommerce Product Bundles: by WooCommerce – 6.16.0
       WooCommerce Google Product Feed: by Ademti Software Ltd. – 10.7.3
       WooCommerce: by Automattic – 6.6.1 (update to version 6.7.0 is available)
       WooCommerce Email Customizer with Drag and Drop Email Builder: by Flycart Technologies LLP – 1.5.16
       WooSidebars: by WooCommerce – 1.4.6
       Yoast SEO: by Team Yoast – 19.3
       WP Font Awesome: by Zayed Baloch – 1.7.8
       WP Mail Logging: by Wysija – 1.10.4
       WP Mail SMTP: by WPForms – 3.5.1
       WP show more: by JAMOS Web Service – 1.0.7
   
       ### Inactive Plugins (31) ###
   
       Advanced Order Export For WooCommerce: by AlgolPlus – 3.3.1
       Backup Duplicator & Migration - WP STAGING: by WP-STAGING
       WPStagingBackup – 2.9.15
   
       Contact Form 7: by Takayuki Miyoshi – 5.6
       Copysmith AI: by  – 1.0.0
       Custom Backorders for Woocommerce: by gregbast1994 – 1.12
       Envato Market: by Envato – 2.0.7
       Facebook for WooCommerce: by Facebook – 2.6.17
       Gravity Forms Mailchimp Add-On: by Gravity Forms – 5.1
       Imagify: by WP Media – 1.10
       Klarna On-Site Messaging for WooCommerce: by krokedil
       klarna – 1.8.0
   
       Klarna Payments for WooCommerce: by krokedil
       klarna
       automattic – 2.11.1
   
       Mailchimp for WooCommerce: by Mailchimp – 2.7
       MonsterInsights - Dimensions Addon: by MonsterInsights Team – 2.0.4
       MonsterInsights - Forms Tracking Addon: by MonsterInsights Team – 2.2.3
       MonsterInsights - Page Insights Addon: by MonsterInsights Team – 1.5.0
       MonsterInsights Pro: by MonsterInsights – 8.7.0
       Payment Plugins Braintree For WooCommerce: by Payment Plugins
       support@paymentplugins.com – 3.2.33
   
       PayPal Zettle POS: by PayPal – 1.5.3
       Product Filter for WooCommerce: by 7VX LLC
       USA CA – 7.2.9
   
       Query Monitor: by John Blackbourn – 3.9.0
       Safe SVG: by 10up – 2.0.2
       Server IP & Memory Usage Display: by Apasionados
       Apasionados del Marketing – 2.1.0
   
       snip - The Rich Snippets & Structured Data Plugin: by wpbuddy – 2.19.4
       UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
       DavidAnderson – 1.22.14
   
       WooCommerce: by Automattic – 6.7.0
       WooCommerce Admin: by WooCommerce – 3.3.1
       WooCommerce Parcelforce Integration: by Digital Duck – 1.3.4
       WooCommerce RMA | Return-Refund-Exchange: by MakeWebBetter <webmaster@makewebbetter.com> – 4.1.1
       WooCommerce Speed Drain Repair - WP Fix It: by WP Fix It – 2.0
       WP Rocket: by WP Media – 3.11.4.2
       Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5
   
       ### Dropin Plugins (1) ###
   
       advanced-cache.php: advanced-cache.php
   
       ### Must Use Plugins (1) ###
   
       StackCache: by Stack CP –
   
       ### Settings ###
   
       API Enabled: ✔
       Force SSL: ✔
       Currency: GBP (£)
       Currency Position: left
       Thousand Separator: ,
       Decimal Separator: .
       Number of Decimals: 2
       Taxonomies: Product Types: bundle (bundle)
       external (external)
       grouped (grouped)
       mix and match (mix-and-match)
       simple (simple)
       variable (variable)
       woosb (woosb)
       yith_bundle (yith_bundle)
   
       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: ✔
       Enforce Approved Product Download Directories: –
   
       ### WC Pages ###
   
       Shop base: #63 - /shop/
       Basket: #62 - /cart/
       Checkout: #61 - /checkout/
       My account: #60 - /my-account/
       Terms and conditions: #2404 - /sale-terms-and-conditions/
   
       ### Theme ###
   
       Name: Flatsome Child
       Version: 3.0
       Author URL: 
       Child Theme: ✔
       Parent Theme Name: Flatsome
       Parent Theme Version: 3.15.7
       Parent Theme Author URL: http://www.uxthemes.com/
       WooCommerce Support: ✔
   
       ### Templates ###
   
       Overrides: flatsome/woocommerce/archive-product.php
       flatsome/woocommerce/cart/cart-empty.php
       flatsome/woocommerce/cart/cart-shipping.php
       flatsome/woocommerce/cart/cart.php
       flatsome/woocommerce/checkout/form-checkout.php
       flatsome/woocommerce/checkout/form-coupon.php
       flatsome/woocommerce/checkout/terms.php
       flatsome/woocommerce/checkout/thankyou.php
       flatsome/woocommerce/content-product-cat.php
       flatsome/woocommerce/content-product.php
       flatsome/woocommerce/content-single-product.php
       flatsome/woocommerce/content-widget-product.php
       flatsome/woocommerce/global/breadcrumb.php
       flatsome/woocommerce/global/quantity-input.php
       flatsome/woocommerce/global/wrapper-end.php
       flatsome/woocommerce/global/wrapper-start.php
       flatsome/woocommerce/loop/loop-end.php
       flatsome/woocommerce/loop/loop-start.php
       flatsome/woocommerce/loop/pagination.php
       flatsome/woocommerce/loop/result-count.php
       flatsome/woocommerce/loop/sale-flash.php
       flatsome/woocommerce/myaccount/form-login.php
       flatsome/woocommerce/myaccount/navigation.php
       flatsome/woocommerce/notices/error.php
       flatsome/woocommerce/notices/notice.php
       flatsome/woocommerce/notices/success.php
       flatsome/woocommerce/product-searchform.php
       flatsome/woocommerce/single-product/photoswipe.php
       flatsome/woocommerce/single-product/price.php
       flatsome/woocommerce/single-product/product-image.php
       flatsome/woocommerce/single-product/product-thumbnails.php
       flatsome/woocommerce/single-product/rating.php
       flatsome/woocommerce/single-product/related.php
       flatsome/woocommerce/single-product/review.php
       flatsome/woocommerce/single-product/sale-flash.php
       flatsome/woocommerce/single-product/share.php
       flatsome/woocommerce/single-product/short-description.php
       flatsome/woocommerce/single-product/tabs/tabs.php
       flatsome/woocommerce/single-product/title.php
       flatsome/woocommerce/single-product/up-sells.php
       flatsome/woocommerce/single-product-reviews.php
       flatsome/woocommerce/single-product.php
       flatsome/woocommerce/content-product_cat.php
   
       ### WooCommerce Google Product Feed feeds ###
   
       google: Google merchant centre product feed
         Type: google
         Category filter: -
         Categories: -
       googlereview: Google merchant centre product review feed
         Type: googlereview
         Category filter: -
         Categories: -
       bing: Bing merchant centre feed
         Type: bing
         Category filter: -
         Categories: -
       googleinventory: Google merchant centre product inventory feed (legacy)
         Type: googleinventory
         Category filter: -
         Categories: -
   
       ### WooCommerce Google Product Feed options ###
   
       Include variations in feed: Enabled
       Send "item group ID": Enabled
       Expanded schema markup: -
       Debug key: 5dcf3264-4284-4b9e-8cc3-bc7fa47a7865
   
       ### WooCommerce Google Product Feed fields ###
   
       Title: Pre-populates from product product_title.
       Product description: Main product description only (short preferred)
       Availability (in stock products): Defaults to "in stock".
       Availability (backordered products): Defaults to "in stock".
       Availability (out of stock products): Defaults to "out of stock".
       Bundle indicator (is_bundle): 
       Condition: Defaults to "new".
       Brand: Pre-populates from pwb-brand taxonomy.
       Manufacturer Part Number (MPN): Pre-populates from product sku.
       Product Type: Pre-populates from product_cat taxonomy.
       Google Product Category: 
       Gender: Defaults to "male".
       Age Group: Defaults to "adult".
       Colour: Pre-populates from pa_colour taxonomy.
       Size: Pre-populates from pa_chest-size taxonomy.
       Size system: Defaults to "UK".
       Pattern: Pre-populates from pa_pattern taxonomy.
   
       ### WooCommerce Google Product Feed DB status ###
   
       Database version: 15
       Active database version: 15
       wc_gpf_render_cache: Empty
       woocommerce_gpf_google_taxonomy (en-GB): 5595 items
   
       ### Product Bundles ###
   
       Database Version: 6.16.0
       Loopback Test: ✔
       Template Overrides: –
   
       ### Braintree (Credit Card) ###
   
       Environment: Production
       Tokenization Enabled: –
       Debug Mode: Off
   
       ### Admin ###
   
       Enabled Features: activity-panels
       analytics
       coupons
       customer-effort-score-tracks
       experimental-products-task
       experimental-import-products-task
       experimental-fashion-sample-products
       homescreen
       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
       wc-pay-promotion
       wc-pay-welcome-page
       wc-pay-subscriptions-page
   
       Disabled Features: minified-js
       settings
   
       Daily Cron: ✔ Next scheduled: 2022-07-06 12:29:30 +01:00
       Options: ✔
       Notes: 32
       Onboarding: completed
   
       ### Action Scheduler ###
   
       Complete: 156,490
       Oldest: 2022-06-06 10:32:34 +0100
       Newest: 2022-07-18 21:58:01 +0100
   
       Pending: 533
       Oldest: 2022-07-05 20:28:54 +0100
       Newest: 2022-07-19 11:33:45 +0100
   
       Failed: 446
       Oldest: 2019-12-12 17:34:30 +0000
       Newest: 2021-07-10 03:14:14 +0100
   
       Canceled: 211
       Oldest: -0001-11-29 23:58:45 -0001
       Newest: -0001-11-29 23:58:45 -0001
   
       ### Status report information ###
   
       Generated at: 2022-07-19 11:37:26 +01:00
       ```
   
 * Status Log:
 *     ```
       2022-07-18T08:24:16+00:00 WARNING Stock management at variation level is not supported from PayPal Zettle. ID:22405
       2022-07-18T08:24:16+00:00 DEBUG Executed Job 'set-inventory-tracking' with ID 6151.
       2022-07-18T08:24:16+00:00 DEBUG Removed 1 jobs from the queue
       2022-07-18T08:24:16+00:00 INFO Remote UUID of product with ID 22405 not found
       2022-07-18T08:24:16+00:00 DEBUG Executed Job 'delete-product' with ID 6152.
       2022-07-18T08:24:16+00:00 DEBUG Removed 1 jobs from the queue
       2022-07-18T08:24:16+00:00 WARNING No remote ID found for local ID 22405
       2022-07-18T08:24:16+00:00 DEBUG Executed Job 'unlink-product' with ID 6153.
       2022-07-18T08:24:16+00:00 DEBUG Removed 1 jobs from the queue
       2022-07-18T08:24:16+00:00 DEBUG Added 1 jobs to the queue
       2022-07-18T08:24:16+00:00 NOTICE Job 'unlink-product' with ID 6153
                       failed 1/3 times and will run again
       2022-07-18T08:24:17+00:00 INFO Attempting to sync inventory of WC_Product_Variation 22405 with PayPal Zettle UUID 6081d9dc-0000-1000-8000-004762cfeadb
       2022-07-18T08:24:17+00:00 DEBUG Executed Job 'sync-product-stock' with ID 6154.
       2022-07-18T08:24:17+00:00 DEBUG Removed 1 jobs from the queue
       2022-07-18T08:24:18+00:00 DEBUG Executed Job 'sync-product' with ID 6155.
       2022-07-18T08:24:18+00:00 DEBUG Removed 1 jobs from the queue
       2022-07-18T08:24:18+00:00 WARNING No remote ID found for local ID 22405
       2022-07-18T08:24:18+00:00 DEBUG Executed Job 'unlink-product' with ID 6156.
       2022-07-18T08:24:18+00:00 DEBUG Removed 1 jobs from the queue
       2022-07-18T08:24:18+00:00 DEBUG Added 1 jobs to the queue
       2022-07-18T08:24:18+00:00 NOTICE Job 'unlink-product' with ID 6156
                       failed 2/3 times and will run again
       2022-07-18T08:24:18+00:00 WARNING No remote ID found for local ID 22405
       2022-07-18T08:24:18+00:00 DEBUG Executed Job 'unlink-product' with ID 6157.
       2022-07-18T08:24:18+00:00 DEBUG Removed 1 jobs from the queue
       2022-07-18T08:24:18+00:00 DEBUG Added 1 jobs to the queue
       2022-07-18T08:24:18+00:00 NOTICE Job 'unlink-product' with ID 6157
                       failed 3/3 times and will run again
       2022-07-18T08:24:18+00:00 WARNING No remote ID found for local ID 22405
       2022-07-18T08:24:18+00:00 DEBUG Executed Job 'unlink-product' with ID 6158.
       2022-07-18T08:24:18+00:00 DEBUG Removed 1 jobs from the queue
       2022-07-18T08:24:18+00:00 NOTICE Job 'unlink-product' with ID 6158
                    has failed 3 times and will NOT run again
       ```
   
 *  [Roxy](https://wordpress.org/support/users/roxannestoltz/)
 * (@roxannestoltz)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-database-query-causing-502/#post-15838540)
 * Hi [@squidgydesigns](https://wordpress.org/support/users/squidgydesigns/) ,
 * Thanks for sharing the above.
 * `WC Database Version: 6.4.0`
 * I am able to see that the WooCommerce Database is outdated, which could possibly
   be the cause of the issue. Please clarify if you have tried to update the WC 
   Database after updating to WooCommerce version 6.7.0?
 * If not, please could you update WooCommerce to the latest version, and then update
   the WC Database to match the core version by navigating to **WooCommerce** → **
   Status** → **Tools** → **Update database**.
 * Below is more detail documentation on this:
    [https://woocommerce.com/document/how-to-update-woocommerce/#woocommerce-data-update-notice](https://woocommerce.com/document/how-to-update-woocommerce/#woocommerce-data-update-notice)
 * Kindly note that it is recommended to make a [backup ](https://woocommerce.com/document/backup-wordpress-content/)
   of your [full site and database](https://wordpress.org/support/article/wordpress-backups/)
   before performing any updates, so that, should something go wrong, you are able
   to easily restore your site to a functioning state.
 * Please let me know if this makes any difference?
 *  Thread Starter [squidgydesigns](https://wordpress.org/support/users/squidgydesigns/)
 * (@squidgydesigns)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-database-query-causing-502/#post-15838634)
 * Thanks [@roxannestoltz](https://wordpress.org/support/users/roxannestoltz/)
 * I’ll try that, as I don’t believe it has been updated.
 * Can you confirm, should the Database Version number match the plugin version 
   number? Should I expect to see WC Database Version: 6.7.0?
 * Also, how long should a database update expect to take? There’s about 250 products
   on the site.
 * Cheers,
    Andy
 *  [Roxy](https://wordpress.org/support/users/roxannestoltz/)
 * (@roxannestoltz)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-database-query-causing-502/#post-15838685)
 * Hi [@squidgydesigns](https://wordpress.org/support/users/squidgydesigns/)
 * > Can you confirm, should the Database Version number match the plugin version
   > number? Should I expect to see WC Database Version: 6.7.0?
 * Correct, these should be an exact match 🙂
 * > Also, how long should a database update expect to take? There’s about 250 products
   > on the site.
 * I cannot give an exact answer, however, this should take a couple of minutes.
 * Please let me know if you run into any issues along the way or if this does not
   resolve the current issue you are experiencing, and I will gladly help you further.
 * Thanks!
 *  Thread Starter [squidgydesigns](https://wordpress.org/support/users/squidgydesigns/)
 * (@squidgydesigns)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-database-query-causing-502/#post-15838699)
 * Thanks [@roxannestoltz](https://wordpress.org/support/users/roxannestoltz/)
 * I have a feeling this may be part of the issue.
 * There are 535 pending updates in the Action Scheduler.
 * Requesting to manually ‘Run’ them results in a 502. Some of these tasks are also
   from early July.
 * Is there a way to identify what may be causing this not to update?
 * Cheers,
    Andy
 *  [Roxy](https://wordpress.org/support/users/roxannestoltz/)
 * (@roxannestoltz)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-database-query-causing-502/#post-15838727)
 * Hi [@squidgydesigns](https://wordpress.org/support/users/squidgydesigns/) ,
 * WooCommerce uses a system called `WP-CRON` that runs automated actions inside
   WordPress. There may be times when it doesn’t work as expected, and they are 
   stuck in a pending state.
 * I would recommend installing the [WP Crontrol ](https://wordpress.org/plugins/wp-crontrol)
   plugin to see if there are any errors.
 * Hope this helps!
 *  [Margaret S. woo-hc](https://wordpress.org/support/users/margaretwporg/)
 * (@margaretwporg)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-database-query-causing-502/#post-15839217)
 * Hi [@squidgydesigns](https://wordpress.org/support/users/squidgydesigns/)
 * From the conversation I understand that it has been identified that the problem
   happens when WooCommerce makes a Database Query.
 * In this situation, updating the database to match the WooCommerce version is 
   the priority. A mismatch here sends incorrect signals and that can give rise 
   to all sorts of problems. [@roxannestoltz](https://wordpress.org/support/users/roxannestoltz/)
   has already provided you the steps to update the database, so kindly make it 
   a priority. (Please update WooCommerce to its latest version first, and then 
   update the database.)
 * Once that is taken care of, you can go for managing the pending tasks through
   the WP Crontrol plugin.
 * Keep us posted on how it goes.
 * Thanks
 *  Thread Starter [squidgydesigns](https://wordpress.org/support/users/squidgydesigns/)
 * (@squidgydesigns)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-database-query-causing-502/#post-15839394)
 * Hi,
 * I’ve tried updating the Database but getting nowhere.
 * I tried it via the steps outlined above, and the only way I get the site to go
   through the necessary actions is to click ‘Run’ on each step.
 * This all goes fine (previously encountered 502 errors). Then once it all completes,
   it goes back to the beginning. i.e. I get another prompt at the top stating ‘
   WooCommerce database update required’.
 * So in a nutshell, it’s detecting that the database is out of date and needs updating.
   I’ve tried letting the automated updater run, and I’ve tried doing this manually.
   Neither are working.
 * Any advice is hugely appreciated.
 * Cheers,
    Andy
 *  [Roxy](https://wordpress.org/support/users/roxannestoltz/)
 * (@roxannestoltz)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-database-query-causing-502/#post-15839959)
 * Hi [@squidgydesigns](https://wordpress.org/support/users/squidgydesigns/) ,
 * Thanks for providing an update.
 * Please could you share your System status report once again, in order to check
   if the `WC Database` has perhaps successfully updated, and is simply displaying
   the update prompt as a result of `Object caching`.
 * Thanks!
 *  [Ron Drake](https://wordpress.org/support/users/nuflush/)
 * (@nuflush)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-database-query-causing-502/#post-15839968)
 *     ```
       ### WordPress Environment ###
   
       WordPress address (URL): https://nuflush.com
       Site address (URL): https://nuflush.com
       WC Version: 6.7.0
       REST API Version: ✔ 6.7.0
       WC Blocks Version: ✔ 8.1.0
       Action Scheduler Version: ✔ 3.4.0
       Log Directory Writable: ✔
       WP Version: 6.0.1
       WP Multisite: –
       WP Memory Limit: 512 MB
       WP Debug Mode: –
       WP Cron: ✔
       Language: en_US
       External object cache: –
   
       ### Server Environment ###
   
       Server Info: Apache
       PHP Version: 7.4.28
       PHP Post Max Size: 516 MB
       PHP Time Limit: 60
       PHP Max Input Vars: 1000
       cURL Version: 7.81.0
       OpenSSL/1.1.1n
   
       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 ###
   
       WC Database Version: 6.7.0
       WC Database Prefix: wp_
       Total Database Size: 272.10MB
       Database Data Size: 247.26MB
       Database Index Size: 24.84MB
       wp_woocommerce_sessions: Data: 76.66MB + Index: 2.90MB + Engine MyISAM
       wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
       wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_woocommerce_order_items: Data: 0.55MB + Index: 0.23MB + Engine MyISAM
       wp_woocommerce_order_itemmeta: Data: 2.39MB + Index: 1.68MB + 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: 0.66MB + Index: 0.31MB + Engine MyISAM
       wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
       wp_actionscheduler_logs: Data: 0.50MB + Index: 0.33MB + Engine MyISAM
       wp_amazon_accounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_amazon_btg: Data: 0.45MB + Index: 0.33MB + Engine InnoDB
       wp_amazon_categories: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_amazon_feeds: Data: 22.50MB + Index: 0.08MB + Engine InnoDB
       wp_amazon_feed_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_amazon_feed_tpl_data: Data: 0.16MB + Index: 0.08MB + Engine InnoDB
       wp_amazon_feed_tpl_values: Data: 1.52MB + Index: 0.25MB + Engine InnoDB
       wp_amazon_jobs: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
       wp_amazon_listings: Data: 1.48MB + Index: 0.19MB + Engine InnoDB
       wp_amazon_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_amazon_markets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_amazon_orders: Data: 8.25MB + Index: 0.19MB + Engine InnoDB
       wp_amazon_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_amazon_profiles: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_amazon_reports: Data: 40.52MB + Index: 0.00MB + Engine InnoDB
       wp_amazon_shipping: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_amazon_stock_log: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
       wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine MyISAM
       wp_comments: Data: 1.33MB + Index: 0.78MB + Engine MyISAM
       wp_ebay_accounts: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
       wp_ebay_auctions: Data: 6.44MB + Index: 0.33MB + Engine InnoDB
       wp_ebay_categories: Data: 1.52MB + Index: 3.30MB + Engine InnoDB
       wp_ebay_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_ebay_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_ebay_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_ebay_orders: Data: 9.13MB + Index: 0.03MB + 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.06MB + Index: 0.00MB + Engine InnoDB
       wp_ebay_sites: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_ebay_stocks_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_ebay_store_categories: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_ebay_transactions: Data: 7.52MB + Index: 0.05MB + Engine InnoDB
       wp_fusion_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_fusion_form_entries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_fusion_form_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_fusion_form_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_mclean_refs: Data: 0.21MB + Index: 0.08MB + Engine MyISAM
       wp_mclean_scan: Data: 0.25MB + Index: 0.08MB + Engine MyISAM
       wp_options: Data: 20.82MB + Index: 0.24MB + Engine MyISAM
       wp_postmeta: Data: 36.27MB + Index: 10.10MB + Engine MyISAM
       wp_posts: Data: 5.69MB + Index: 1.40MB + Engine MyISAM
       wp_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM
       wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_revslider_navigations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
       wp_revslider_slides: Data: 0.12MB + Index: 0.00MB + Engine MyISAM
       wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_termmeta: Data: 0.23MB + Index: 0.19MB + Engine MyISAM
       wp_terms: Data: 0.09MB + Index: 0.16MB + Engine MyISAM
       wp_term_relationships: Data: 0.17MB + Index: 0.37MB + Engine MyISAM
       wp_term_taxonomy: Data: 0.07MB + Index: 0.06MB + Engine MyISAM
       wp_usermeta: Data: 0.11MB + Index: 0.08MB + Engine MyISAM
       wp_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
       wp_wc_admin_notes: Data: 0.04MB + Index: 0.00MB + Engine MyISAM
       wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
       wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_wc_customer_lookup: Data: 0.17MB + Index: 0.14MB + Engine MyISAM
       wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_wc_order_product_lookup: Data: 0.25MB + Index: 0.27MB + Engine MyISAM
       wp_wc_order_stats: Data: 0.19MB + Index: 0.12MB + Engine MyISAM
       wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       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.09MB + Index: 0.10MB + Engine MyISAM
       wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
       wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
   
       ### Post Type Counts ###
   
       amn_mi-lite: 2
       amn_om: 1
       amn_wpforms-lite: 4
       attachment: 4835
       avada_portfolio: 10
       nav_menu_item: 19
       oembed_cache: 2
       page: 16
       post: 4
       product: 1077
       revision: 725
       shop_coupon: 1
       shop_order: 3810
       shop_order_refund: 20
       slide: 17
       themefusion_elastic: 2
       wmpc-trash: 2153
       wpforms: 1
   
       ### Security ###
   
       Secure connection (HTTPS): ✔
       Hide errors from visitors: ✔
   
       ### Active Plugins (12) ###
   
       Database Cleaner and Optimizer (Built for 2022+): by Jordy Meow – 0.5.4
       Avada Builder: by ThemeFusion – 3.3
       Avada Core: by ThemeFusion – 5.3
       Media Cleaner (Pro): by Jordy Meow – 6.4.0
       Optimize Images Resizing: by OriginalEXE – 1.4.1
       WooCommerce Blocks: by Automattic – 8.1.0
       WooCommerce Payments: by Automattic – 4.4.0
       WooCommerce PayPal Payments: by WooCommerce – 1.9.0
       WooCommerce Shipping & Tax: by WooCommerce – 1.26.2
       WooCommerce: by Automattic – 6.7.0
       WP-Lister Pro for Amazon: by WP Lab – 2.2.3
       WP-Lister Lite for eBay: by WP Lab – 3.2.11
   
       ### Inactive Plugins (1) ###
   
       WooCommerce Admin: by WooCommerce – 3.3.2
   
       ### Settings ###
   
       API Enabled: ✔
       Force SSL: ✔
       Currency: USD ($)
       Currency Position: left
       Thousand Separator: ,
       Decimal Separator: .
       Number of Decimals: 2
       Taxonomies: Product Types: external (external)
       grouped (grouped)
       simple (simple)
       subscription (subscription)
       variable (variable)
       variable subscription (variable-subscription)
   
       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: –
       Enforce Approved Product Download Directories: –
   
       ### WC Pages ###
   
       Shop base: #3813 - /nuflush-home/
       Cart: #4098 - /cart-2/
       Checkout: #4099 - /checkout/
       My account: #4100 - /my-account-2/
       Terms and conditions: ❌ Page not set
   
       ### Theme ###
   
       Name: Avada
       Version: 7.3
       Author URL: https://themeforest.net/user/ThemeFusion
       Child Theme: ❌ – 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: Avada/woocommerce/cart/cart.php
       Avada/woocommerce/checkout/form-pay.php
       Avada/woocommerce/checkout/review-order.php
       Avada/woocommerce/checkout/thankyou.php
       Avada/woocommerce/loop/loop-start.php
       Avada/woocommerce/single-product/add-to-cart/variable.php version 3.5.5 is out of date. The core version is 6.1.0
       Avada/woocommerce/single-product/short-description.php
       Avada/woocommerce/single-product/tabs/additional-information.php
       Avada/woocommerce/single-product/tabs/description.php
   
       Outdated Templates: ❌
   
   
       						Learn how to update
   
       ### Subscriptions ###
   
       WCS_DEBUG: ✔ No
       Subscriptions Mode: ✔ Live
       Subscriptions Live URL: https://nuflush.com
       Subscription Statuses: –
       WooCommerce Account Connected: ❌ No
   
       ### Store Setup ###
   
       Country / State: United States (US) — Colorado
   
       ### Payment Gateway Support ###
   
       PayPal: refunds
   
       ### WooCommerce PayPal Payments ###
   
       Onboarded: ✔
       Shop country code: US
       WooCommerce currency supported: ✔
       PayPal card processing available in country: ✔
       Pay Later messaging available in country: ✔
       Webhook status: –
       Vault enabled: ✔
       Logging enabled: –
       Reference Transactions: –
       Used PayPal Checkout plugin: –
   
       ### Admin ###
   
       Enabled Features: activity-panels
       analytics
       coupons
       customer-effort-score-tracks
       experimental-products-task
       experimental-import-products-task
       experimental-fashion-sample-products
       experimental-product-tour
       homescreen
       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
       wc-pay-promotion
       wc-pay-welcome-page
       wc-pay-subscriptions-page
   
       Disabled Features: minified-js
       settings
   
       Daily Cron: ✔ Next scheduled: 2022-07-19 20:08:59 +00:00
       Options: ✔
       Notes: 92
       Onboarding: completed
   
       ### WooCommerce Payments ###
   
       Version: 4.4.0
       Connected to WPCOM: No
       Blog ID: -
       Account ID: -
   
       ### Action Scheduler ###
   
       Complete: 1,933
       Oldest: 2022-07-13 15:24:38 +0000
       Newest: 2022-07-19 18:51:46 +0000
   
       Failed: 11
       Oldest: 2022-05-25 19:19:15 +0000
       Newest: 2022-06-04 19:19:16 +0000
   
       Pending: 4
       Oldest: 2022-07-19 19:51:46 +0000
       Newest: 2022-07-20 16:40:45 +0000
   
       ### Status report information ###
   
       Generated at: 2022-07-19 19:02:23 +00:00
       ```
   
 *  [Roxy](https://wordpress.org/support/users/roxannestoltz/)
 * (@roxannestoltz)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-database-query-causing-502/#post-15839979)
 * Hi [@nuflush](https://wordpress.org/support/users/nuflush/) ,
 * It appears that you may be experiencing a similar issue.
 * Since you’re not the person who originally started this topic, as per the [forum guidelines](https://wordpress.org/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too),
   would you please create your own topic [here](https://wordpress.org/support/plugin/woocommerce/#new-topic-0)?
 * Further help will be provided there.
 * Thanks 🙂

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘WooCommerce Database Query – Causing 502’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 13 replies
 * 4 participants
 * Last reply from: [Roxy](https://wordpress.org/support/users/roxannestoltz/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-database-query-causing-502/#post-15839979)
 * Status: resolved