Different behaviour in variations drop down menu
-
Hello,
I have a different behaviour in the variation drop down menu in the front end. In the WooCommerce settings, I checked the option “Out of stock visibility” > Hide out of stock items from the catalogue.
So, the out of stock variations should not be displayed. However, on some product’s page, out of stock variations are displayed.
I’ve deactivated all plug-ins and changed theme to a standard one but it’s the same. I’ve checked if the stocks are 0 and it’s the case.
Here is 2 products with a different behaviour:
I would be happy if someone could give me some directions to investigate…
Best regards,
Micha?l
The page I need help with: [log in to see the link]
-
Hi @schemastudio ,
Thanks for reaching out!
I understand that you have set “out of stock visibility” to
Hide out of stock items from the catalog
, however, these items are still being displayed on the front end of your site, is this correct?After testing this on my staging site, I am unable to reproduce this issue, as out-of-stock items are not being displayed on the front end of my site when “out of stock visibility” is set to
Hide out of stock items from the catalog
.I also understand that performing a full conflict test made no difference, yes?
As a next step, can you please navigate to?WooCommerce?→?Status?→?Tools?and do the following to see if it makes any difference:
- Clear WooCommerce transients
- Clear expired transients
- Recount terms
- Regenerate Product lookup tables
If this makes no difference, please can you share a copy of the following:
- System Status: navigate to?WooCommerce?→?Status. Select?
Get system report
?and then?Copy for suppor
t. - Fatal Error log: Share a copy of any fatal error log found under?WooCommerce?→?Status?→?Logs.
Additionally, please can you share a screenshot of the
Product Data
>Inventory
for any one of the products that encounter this issue, example image below:Snipboard.io?can be used for easily sharing screenshots – please follow the instructions on that page, then paste the URL in this thread.
Once you have these, please share them in your response here.
Cheers!
Hi Roxy,
thank-you for your answer and sorry for the delay of my answer. I’m quite busy these days.
I’ve processed the different actions in WooCommerce tools but it doesn’t change anything.
Here is the system report:
` ### WordPress Environment ### WordPress address (URL): https://dev.pepecassius.ch Site address (URL): https://dev.pepecassius.ch WC Version: 7.3.0 REST API Version: ?</img> 7.3.0 WC Blocks Version: ?</img> 9.1.5 Action Scheduler Version: ?</img> 3.4.0 Log Directory Writable: ?</img> WP Version: 6.1.1 WP Multisite: – WP Memory Limit: 640 MB WP Debug Mode: – WP Cron: ?</img> Language: fr_FR External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 8.0.27 PHP Post Max Size: 300 MB PHP Time Limit: 60 PHP Max Input Vars: 10000 cURL Version: 7.74.0 OpenSSL/1.1.1k SUHOSIN Installed: – MySQL Version: 5.7.32-log Max Upload Size: 300 MB Default Timezone is UTC: ?</img> fsockopen/cURL: ?</img> SoapClient: ?</img> DOMDocument: ?</img> GZip: ?</img> Multibyte String: ?</img> Remote Post: ?</img> Remote Get: ?</img> ### Database ### WC Database Version: 7.3.0 WC Database Prefix: wp_609807_ Total Database Size: 367.85MB Database Data Size: 256.54MB Database Index Size: 111.31MB wp_609807_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_609807_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_609807_woocommerce_order_items: Data: 0.08MB + Index: 0.05MB + Engine InnoDB wp_609807_woocommerce_order_itemmeta: Data: 1.52MB + Index: 0.63MB + Engine InnoDB wp_609807_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_609807_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_609807_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_609807_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_609807_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_actionscheduler_actions: Data: 1.31MB + Index: 1.13MB + Engine InnoDB wp_609807_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_actionscheduler_logs: Data: 1.39MB + Index: 0.66MB + Engine InnoDB wp_609807_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_609807_comments: Data: 0.22MB + Index: 0.16MB + Engine InnoDB wp_609807_ee_products_sync_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_ee_product_sync_call: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_ee_product_sync_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_ee_product_sync_profile: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_ee_prouct_pre_sync_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_eum_logs: Data: 58.52MB + Index: 0.00MB + Engine InnoDB wp_609807_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB wp_609807_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_609807_e_submissions: Data: 1.52MB + Index: 1.58MB + Engine InnoDB wp_609807_e_submissions_actions_log: Data: 0.19MB + Index: 0.47MB + Engine InnoDB wp_609807_e_submissions_values: Data: 1.52MB + Index: 0.36MB + Engine InnoDB wp_609807_hfcm_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_import_detail_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_import_log_detail: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_import_postID: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_options: Data: 6.42MB + Index: 1.55MB + Engine InnoDB wp_609807_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_pmxi_hash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_pmxi_imports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_postmeta: Data: 74.56MB + Index: 48.14MB + Engine InnoDB wp_609807_posts: Data: 51.45MB + Index: 8.05MB + Engine InnoDB wp_609807_simple_history: Data: 6.52MB + Index: 4.03MB + Engine InnoDB wp_609807_simple_history_contexts: Data: 30.56MB + Index: 22.06MB + Engine InnoDB wp_609807_smackcsv_file_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_smackuci_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_termmeta: Data: 0.13MB + Index: 0.17MB + Engine InnoDB wp_609807_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_609807_term_relationships: Data: 4.52MB + Index: 2.47MB + Engine InnoDB wp_609807_term_taxonomy: Data: 0.09MB + Index: 0.03MB + Engine InnoDB wp_609807_ultimate_csv_importer_acf_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_ultimate_csv_importer_mappingtemplate: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_ultimate_csv_importer_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_ultimate_csv_importer_shortcode_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_ultimate_post_entries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_usermeta: Data: 1.50MB + Index: 0.63MB + Engine InnoDB wp_609807_users: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_609807_vod_folder: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_vod_player: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_vod_playlist: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_vod_upload: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_vod_video: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_609807_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_609807_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_wc_customer_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_609807_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_609807_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_609807_wc_order_product_lookup: Data: 0.08MB + Index: 0.06MB + Engine InnoDB wp_609807_wc_order_stats: Data: 0.05MB + Index: 0.05MB + Engine InnoDB wp_609807_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_609807_wc_product_attributes_lookup: Data: 0.22MB + Index: 0.33MB + Engine InnoDB wp_609807_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_wc_product_meta_lookup: Data: 1.52MB + Index: 2.88MB + Engine InnoDB wp_609807_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_wpf_filters: Data: 0.19MB + Index: 0.00MB + Engine InnoDB wp_609807_wpf_meta_data: Data: 4.52MB + Index: 9.50MB + Engine InnoDB wp_609807_wpf_meta_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_wpf_meta_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_609807_wpf_meta_values_bk: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_wpf_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_wpf_modules_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_wpf_statistics: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_wpf_statistics_det: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_wpf_statistics_sum: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_wpf_statistics_val: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_wpf_usage_stat: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_wpmelon_advbedit_temp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_609807_yoast_indexable: Data: 5.52MB + Index: 4.22MB + Engine InnoDB wp_609807_yoast_indexable_hierarchy: Data: 0.38MB + Index: 0.56MB + Engine InnoDB wp_609807_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_609807_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_609807_yoast_prominent_words: Data: 0.11MB + Index: 0.20MB + Engine InnoDB wp_609807_yoast_seo_links: Data: 0.17MB + Index: 0.11MB + Engine InnoDB ### Post Type Counts ### acf-field: 77 acf-field-group: 12 acf-options-page: 1 attachment: 5954 br_product_filter: 3 custom_css: 1 elementor_font: 1 elementor_library: 24 elementskit_content: 2 marques_produits: 4 nav_menu_item: 30 oembed_cache: 38 page: 14 plus-mega-menu: 2 post: 2 product: 2313 product_variation: 9534 revision: 236 shop_coupon: 1 shop_order: 210 slider_header: 8 valeurs: 4 wp_global_styles: 1 wp-rest-api-log: 15043 wpf_post_it: 3 ### Security ### Secure connection (HTTPS): ?</img> Hide errors from visitors: ?</img> ### Active Plugins (52) ### ACF Content Analysis for Yoast SEO: by Thomas Kr?ftner ViktorFroberg marol87 pekz0r angrycreative Team Yoast – 3.0.1 Adminimize: by Frank Bültge – 1.11.9 Advanced Custom Fields: Font Awesome: by Matt Keys – 4.0.4 Advanced Custom Fields PRO: by WP Engine – 6.0.7 Advanced Database Cleaner: by Younes JFR. – 3.1.1 Auto Image Attributes From Filename With Bulk Updater: by Arun Basil Lal – 4.1 Custom Post Type UI: by WebDevStudios – 1.13.4 Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5 Dynamic.ooo - Dynamic Content for Elementor: by Dynamic.ooo – 2.0.1 Elementor Pro: by Elementor.com – 3.10.3 Elementor: by Elementor.com – 3.10.2 ElementsKit Lite: by Wpmet – 2.8.1 Enable Media Replace: by ShortPixel – 4.0.2 Facebook for WooCommerce: by Facebook – 3.0.9 Favicon by RealFaviconGenerator: by Philippe Bernard – 1.3.27 Flexible Shipping: by Octolize – 4.18.6 Folders: by Premio – 2.8.8 Site Kit by Google: by Google – 1.93.0 Header Footer Code Manager: by 99robots – 1.1.32 Health Check & Troubleshooting: by La communauté WordPress – 1.5.1 Instant Images: by Darren Cooney – 5.1.0.1 Loco Translate: by Tim Whitlock – 2.6.3 MouseWheel Smooth Scroll: by KubiQ – 5.9 My Custom Functions: by Space X-Chimp – 4.51 ACF Options Page Admin: by John A. Huebner II – 3.10.0 Perfect Brands for WooCommerce: by QuadLayers – 2.5.5 Really Simple SSL: by Really Simple Plugins – 6.1.1 Show Net Revenue from WooCommerce Stripe Gateway: by Matt Rose – 1.1.0 Simple Custom Post Order: by Colorlib – 2.5.6 Simple History: by P?r Thernstr?m – 3.3.1 Easy Updates Manager: by Easy Updates Manager Team – 9.0.14 SVG Support: by Benbodhi – 2.5.5 Temporaire Login Without Password: by StoreApps – 1.8.1.1 The Plus Addons for Elementor: by POSIMYTH – 5.1.16 The Plus Addons for Elementor - Pro: by POSIMYTH – 5.0.10 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 2.22.25.1 User Role Editor: by Vladimir Garagulya – 4.63.2 Converter for Media: by matt plugins – 5.7.1 Product Feed ELITE for WooCommerce: by AdTribes.io – 3.2.9 Product Filter by WooBeWoo: by WooBeWoo – 2.2.7 WooCommerce Advanced Bulk Edit: by George Iron – 5.0.1 WooCommerce Stripe Gateway: by WooCommerce – 7.0.2 PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.3.2 WooCommerce: by Automattic – 7.3.0 Woo Product Filter PRO: by WooBeWoo – 2.2.7 Yoast SEO Premium: by Team Yoast – 17.9 Yoast SEO: by Team Yoast – 20.0 WP Extra File Types: by Davide Airaghi – 0.5.2 REST API Log: by Pete Nelson – 1.6.9 WP Super Cache: by Automattic – 1.9.3 WPCore Plugin Manager: by Stuart Starr – 1.9.1 WPDash Notes: by WPFormation NicolasKulka WPServeur – 1.3.2 ### Inactive Plugins (0) ### ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (1) ### Health Check Troubleshooting Mode: by – 1.8.0 ### Settings ### API Enabled: – Force SSL: – Currency: CHF (CHF) Currency Position: left_space 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: – Enforce Approved Product Download Directories: – Order datastore: WC_Order_Data_Store_CPT ### WC Pages ### Shop base: #8 - /shop Cart: ?</img> Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block. Checkout: ?</img> Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block. My account: ?</img> Page does not contain the [woocommerce_my_account] shortcode. Terms and conditions: #45 - /conditions-generales-de-vente ### Theme ### Name: Hello Elementor Child Version: 1.0.1 Author URL: https://elementor.com/ Child Theme: ?</img> Parent Theme Name: Hello Elementor Parent Theme Version: 2.6.1 Parent Theme Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash WooCommerce Support: ?</img> ### Templates ### Overrides: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ?</img> Next scheduled: 2023-02-07 11:11:21 +01:00 Options: ?</img> Notes: 117 Onboarding: completed ### Action Scheduler ### Complete: 3,456 Oldest: 2023-01-06 21:31:29 +0100 Newest: 2023-02-06 21:01:48 +0100 Failed: 3 Oldest: 2021-12-20 22:34:39 +0100 Newest: 2022-12-16 12:51:36 +0100 Pending: 1 Oldest: 2023-02-07 12:11:11 +0100 Newest: 2023-02-07 12:11:11 +0100 ### Status report information ### Generated at: 2023-02-06 21:01:50 +01:00 `
The last fatal error’s log:
2023-01-03T20:35:33+00:00 CRITICAL Maximum execution time of 300 seconds exceeded dans /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/updraftplus/backup.php à la ligne 4368
2023-01-10T20:35:32+00:00 CRITICAL Maximum execution time of 300 seconds exceeded dans /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/updraftplus/includes/ftp.class.php à la ligne 111
2023-01-17T20:36:19+00:00 CRITICAL Maximum execution time of 300 seconds exceeded dans /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/updraftplus/backup.php à la ligne 4368
2023-01-24T19:49:11+00:00 CRITICAL Uncaught Error: Class 'WPSEO_Abstract_Post_Filter' not found in /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/wordpress-seo-premium/classes/premium-orphaned-post-filter.php:13 Stack trace: #0 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/acf-content-analysis-for-yoast-seo/vendor/composer/ClassLoader.php(444): include() #1 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/acf-content-analysis-for-yoast-seo/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/clients/a...') #2 [internal function]: Composer\Autoload\ClassLoader->loadClass('WPSEO_Premium_O...') #3 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/wordpress-seo-premium/premium.php(96): spl_autoload_call('WPSEO_Premium_O...') #4 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/wordpress-seo-premium/src/initializers/plugin.php(53): WPSEO_Premium->__construct() #5 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-incl dans /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/wordpress-seo-premium/classes/premium-orphaned-post-filter.php à la ligne 13 2023-01-24T20:36:57+00:00 CRITICAL Maximum execution time of 300 seconds exceeded dans /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/updraftplus/includes/ftp.class.php à la ligne 111
2023-01-30T07:41:43+00:00 CRITICAL Uncaught Error: Call to a member function getModel() on null in /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/woofilter-pro/woofilterpro/mod.php:1056 Stack trace: #0 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-includes/class-wp-hook.php(308): WoofilterProWpf->addCustomAttributesSql('SELECT DISTINCT...', Array) #1 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-includes/plugin.php(205): WP_Hook->apply_filters('SELECT DISTINCT...', Array) #2 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/woo-product-filter/classes/dispatcher.php(43): apply_filters('wpf_addCustomAt...', 'SELECT DISTINCT...', Array) #3 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/woo-product-filter/modules/woofilters/mod.php(1552): DispatcherWpf::applyFilters('addCustomAttrib...', 'SELECT DISTINCT...', Array) #4 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/woo-product-filter/modules/woofilters/mod.php(1364): WoofiltersWpf->getTerms(Object(WP_Query), Array, Array) #5 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/woo-product-filter/modules/woofilters/views/woofilters.php(355): WoofiltersWpf->getFilterExistsItems(Array, Array, NULL, false, Array, false, Array) #6 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/woo-product-filter/modules/woofilters/views/woofilters.php(574): WoofiltersViewWpf->setFilterExistsItems(Array, false, Array) #7 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/woo-product-filter/modules/woofilters/views/woofilters.php(215): WoofiltersViewWpf->generateFiltersHtml('{"settings...', '4_915950', false, false, Array) #8 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/woo-product-filter/modules/woofilters/mod.php(1025): WoofiltersViewWpf->renderHtml(Array) #9 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-includes/shortcodes.php(355): WoofiltersWpf->render(Array, '', 'wpf-filters') #10 [internal function]: do_shortcode_tag(Array) #11 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(wpf\\-f...', 'do_shortcode_ta...', '[wpf-filters id...') #12 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/widgets/shortcode.php(130): do_shortcode('[wpf-filters id...') #13 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/controls-stack.php(2268): Elementor\Widget_Shortcode->render() #14 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode() #15 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/widget-base.php(750): Elementor\Widget_Base->render_content() #16 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Widget_Base->print_content() #17 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/element-base.php(1354): Elementor\Element_Base->print_element() #18 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Element_Base->print_content() #19 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/element-base.php(1354): Elementor\Element_Base->print_element() #20 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Element_Base->print_content() #21 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/core/base/document.php(1669): Elementor\Element_Base->print_element() #22 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/core/base/document.php(1095): Elementor\Core\Base\Document->print_elements(Array) #23 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/frontend.php(1153): Elementor\Core\Base\Document->print_elements_with_wrapper(Array) #24 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/frontend.php(1221): Elementor\Frontend->get_builder_content(13695, false) #25 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementskit-lite/modules/megamenu/walker-nav-menu.php(306): Elementor\Frontend->get_builder_content_for_display(13695) #26 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-includes/class-wp-walker.php(170): ElementsKit_Lite\ElementsKit_Menu_Walker->end_el('<li id="menu-it...', Object(WP_Post), 0, Object(stdClass)) #27 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-includes/class-wp-walker.php(247): Walker->display_element(Object(WP_Post), Array, 0, 0, Array, '<li id="menu-it...') #28 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-includes/nav-menu-template.php(622): Walker->walk(Array, 0, Object(stdClass)) #29 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-includes/nav-menu-template.php(242): walk_nav_menu_tree(Array, 0, Object(stdClass)) #30 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementskit-lite/widgets/nav-menu/nav-menu.php(1601): wp_nav_menu(Object(stdClass)) #31 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementskit-lite/widgets/nav-menu/nav-menu.php(1520): Elementor\ElementsKit_Widget_Nav_Menu->render_raw() #32 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/controls-stack.php(2268): Elementor\ElementsKit_Widget_Nav_Menu->render() #33 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode() #34 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/widget-base.php(750): Elementor\Widget_Base->render_content() #35 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Widget_Base->print_content() #36 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/element-base.php(1354): Elementor\Element_Base->print_element() #37 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Element_Base->print_content() #38 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/element-base.php(1354): Elementor\Element_Base->print_element() #39 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Element_Base->print_content() #40 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/core/base/document.php(1669): Elementor\Element_Base->print_element() #41 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(418): Elementor\Core\Base\Document->print_elements(Array) #42 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/includes/frontend.php(1153): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_elements_with_wrapper(Array) #43 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/core/base/document.php(1144): Elementor\Frontend->get_builder_content(13587, false) #44 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/modules/library/documents/library-document.php(76): Elementor\Core\Base\Document->get_content(false) #45 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(158): Elementor\Modules\Library\Documents\Library_Document->get_content(false) #46 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(173): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_content() #47 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(315): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_content() #48 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor-pro/modules/theme-builder/api.php(13): ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->do_location('header') #49 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/themes/hello-elementor/header.php(31): elementor_theme_do_location('header') #50 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-includes/template.php(783): require_once('/home/clients/a...') #51 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-includes/template.php(718): load_template('/home/clients/a...', true, Array) #52 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #53 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(9): get_header() #54 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-includes/template-loader.php(106): include('/home/clients/a...') #55 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-blog-header.php(19): require_once('/home/clients/a...') #56 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/index.php(17): require('/home/clients/a...') #57 {main} thrown dans /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/woofilter-pro/woofilterpro/mod.php à la ligne 1056 2023-01-30T08:56:45+00:00 CRITICAL Maximum execution time of 300 seconds exceeded in /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/updraftplus/backup.php on line 4368
2023-02-03T08:08:32+00:00 CRITICAL Maximum execution time of 60 seconds exceeded dans /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/dev/wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php à la ligne 0 2023-02-03T08:53:43+00:00 CRITICAL Maximum execution time of 60 seconds exceeded dans /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/dev/wp-includes/load.php à la ligne 1545
2023-02-04T07:52:26+00:00 CRITICAL Maximum execution time of 60 seconds exceeded dans /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/dev/wp-includes/class-wp-user.php à la ligne 194
2023-02-05T07:59:15+00:00 CRITICAL Maximum execution time of 60 seconds exceeded dans /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/dev/wp-includes/plugin.php à la ligne 205 2023-02-05T08:44:22+00:00 CRITICAL Maximum execution time of 60 seconds exceeded dans /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/dev/wp-includes/class-wp-hook.php à la ligne 296 2023-02-05T10:14:21+00:00 CRITICAL Maximum execution time of 60 seconds exceeded dans /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/dev/wp-includes/class-wpdb.php à la ligne 2108
and the screenshots:
Thanks a lot,
best regards,
Micha?l
- This reply was modified 1 year, 9 months ago by Micha?l Baillot.
Hi @schemastudio ,
Thanks for providing the error logs as well as the System Status report!
Elementor Pro: by Elementor.com – 3.10.3 Elementor: by Elementor.com – 3.10.2
I am able to see that you are using Elementor to design your site, correct?
#43 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/core/base/document.php(1144): Elementor\Frontend->get_builder_content(13587, false) #44 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor/modules/library/documents/library-document.php(76): Elementor\Core\Base\Document->get_content(false) #45 /home/clients/adf1f238ff0c89cdf93e0fcce1b4e5d3/web/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(158): Elementor\Modules\Library\Documents\Library_Document->get_content(false)
Additionally, I see that the Elementor plugin, as well as the Elementor Pro plugin, are producing quite a few errors.
I understand that you have performed a conflict test, however please could you confirm if disabling Elementor made no difference?
Additionally, kindly clarify that you performed a full conflict test by disabling all plugins AND changing the theme to Storefront simultaneously, and checking if the issue is still present. If not, I’d suggest performing a full conflict test to rule out any theme/plugin conflicts by doing the following:
- Clear the browser cache
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Check to see if the “Out of Stock” products are still being displayed on your site.
If the issue is no longer present, it means there was a conflict, and you can reactivate the theme or plugins one by one (gradually) until the cause of the issue is found, more info about running a conflict test is here.
You can clone your site to a staging environment and perform tests without modifying your live site or impacting customers. This is possible to do it using the free WP Staging plugin.
Also, please can you share a screenshot of the following pages:
- WooCommerce > Settings >
Products
>Inventory
Product Data
?>?Inventory
?for any one of the products that encounter this issue.
Snipboard.io?can be used for easily sharing screenshots – please follow the instructions on that page, then paste the URL in this thread.
Cheers!
Hi Roxy,
many thanks for answering.
Yes, I’m using Elementor to build the website.
Regarding the full conflict test:
Best regards,
Micha?l
I’ve passed all the recommanded tests but it’s not better for the moment,
best,
M.
Hi @schemastudio ,
This is indeed strange behavior!
From what I gather after further investigation, the
in-stock
products here are XS, S, M, L, and XL, while the remaining variations areout-of-stock
, is this correct?This being said, would you please share a screenshot of the variations settings for the out-of-stock variation, as well as the in-stock variation, for this particular product, example of this area can be seen in the screenshot below:
Also, please share a screenshot of the Attributes area, as seen below:
Additionally, please clarify if you are using any custom code on your site (via code snippets or custom CSS). If so, please can you try temporarily disabling this and check if it makes any difference, as custom code can also cause this type of issue.
Cheers!
Hi Roxy,
From what I gather after further investigation, the
in-stock
products here are XS, S, M, L, and XL, while the remaining variations areout-of-stock
, is this correct?Yes, you’re right.
would you please share a screenshot of the variations settings for the out-of-stock variation, as well as the in-stock variation, for this particular product
Also, please share a screenshot of the Attributes area, as seen below:
Additionally, please clarify if you are using any custom code on your site (via code snippets or custom CSS). If so, please can you try temporarily disabling this and check if it makes any difference, as custom code can also cause this type of issue.
As I changed the theme to Storefront and as I deactivated all plug-ins but WooCommerce, no custom code are running.
Thank-you very much for your kind support,
best regards,
Micha?l
Thanks for sharing the requested information above.
I was unable to reproduce the issue as well on my personal site. Out-of-stock products are hidden when I enable the option Hide out of stock items from the catalog under WooCommerce > Settings > Products > Inventory.
### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php
This could be due to caching. Can you please have your host purge cache and disable it temporarily?
Let us know how it goes!
Hi @xue28,
thanks for your help. I’ve tried to delete cache and to deactivated caching but it’s not better.
Best regards,
Micha?l
Hi @schemastudio ,
Thanks for providing an update!
WC Version: 7.3.0 WC Database Version: 7.3.0
The latest version of WooCommerce is 7.4.0, so as a next step, can you try updating WooCommerce to its latest version? Here is a guide on how to update WooCommerce.
Additionally, please check to make sure that the WooCommerce Database version matches the WooCommerce core version after the update is complete. This can be done via?WooCommerce?→?Status?→?Tools?→?Update database.
Here is more detailed documentation on updating the WooCommerce Database.
Please ensure that you have a good backup of your full site and database in place before doing the updates, so that, should something go wrong, you are able to easily restore your site to a functioning state.
Let us know if this makes any difference!
hi @roxannestoltz,
I’ve updated the plug-in and the DB but it’s not better…
I don’t know if it’s in your scope of support but, could I give you an temporary access to check if everything is on place? Parameters, …
Best regards,
Micha?l
hi @roxannestoltz @xue28,
I’d like to add an information regarding the products’ import. My client manage its shop with the online platform Hiboutik. I export a CSV file from Hiboutik and import it in WooCommerce.
Here is the file I used to import the products with stock bugs:
Hope it helps,
best regards,
Micha?l
Second information: I’ve tested to import products from the CSV with only WooCommerce activated and the Storefront theme activated. The results are the same.
Best regards,
Micha?l
Hello,
Please be sure to change the scientific notation columns, to avoid issues when importing products from CSV files.
To create a CSV properly, please refer to our documentation:
https://woocommerce.com/document/product-csv-importer-exporter/#how-to-create-the-csv
I was checking on my testing site that is using WooCommerce 7.4.0 and default Storefront theme and I could not reproduce the same issue with variable products.
Can you import the product again (the one that is having the issue) following this general guidelines, https://woocommerce.com/document/product-csv-importer-exporter/#general-guidelines
Then please check again to see if the issue persists.
Hi @schemastudio ,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.
Cheers!
- The topic ‘Different behaviour in variations drop down menu’ is closed to new replies.