Title: Terms counting doesnt work
Last modified: January 12, 2023

---

# Terms counting doesnt work

 *  Resolved [drachires](https://wordpress.org/support/users/drachires/)
 * (@drachires)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/terms-counting-doesnt-work/)
 * Hello,
 * firstly it appeared only on one value of Color attribute, but now I found out
   it happened also on 2 entire new attributes I created just few days ago.
 * Although products have those attribute terms, the total count of them in Products-
   >Attributes->”Specific attribute” is 0 for every term, although every term is
   added to 1 product.
 * Result of this (and thats why it is a problem for me) is also that my Product
   Linked Variations plugin malfunctions and doesnt show variations on product pages.
 * I tried Recounting terms and regenerating everything with your tools that could
   potentially help this, but nothing helps. I know its a issue that can somehow
   happen over time, because firstly I saw variations on those products, and now
   they disappeared.
 * Do you know what can be causing this please?

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

 *  Thread Starter [drachires](https://wordpress.org/support/users/drachires/)
 * (@drachires)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/terms-counting-doesnt-work/#post-16368145)
 * One thing I found out now is that when I open the products under that term that
   shows 0 products, it will actually show the product that has that attribute term
 *  [xue28 (woo-hc)](https://wordpress.org/support/users/xue28/)
 * (@xue28)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/terms-counting-doesnt-work/#post-16377532)
 * Hi [@drachires](https://wordpress.org/support/users/drachires/)
 * Thanks for reaching out!
 * > firstly it appeared only on one value of Color attribute, but now I found out
   > it happened also on 2 entire new attributes I created just few days ago.
 * Can you please share with us a clear screenshot of what you see on your end so
   that we could address you more effectively?
 * If you don’t already have a screenshot service installed, you can try [https://snipboard.io](https://snipboard.io)
   or [http://skitch.com/](http://skitch.com/). You can share the direct link to
   the image as a response to this topic.
 * Meanwhile, can you please try to switch to the [default Storefront theme](https://woocommerce.com/storefront/)
   and only WooCommerce plugin is enabled and see if this works?
 * If so, then this kind of problem is usually caused by your theme or a third-party
   plugin present on your site. We can run a conflict test to verify this. I’d recommend
   cloning your site to a staging environment and performing the tests described
   on this [guide](https://woocommerce.com/document/how-to-test-for-conflicts/) 
   without modifying your live site or impacting customers. Many hosts provide staging
   facilities, so it’s worth checking in with them. It’s also possible to do it 
   using the free [WP Staging](https://wordpress.org/plugins/wp-staging/) plugin.
 * If this was caused by a third-party plugin present on your site, it would be 
   best to reach out to the developers for further assistance here.
 * If this did not resolve the issue, please share your **System Status Report**,
   that will help us further troubleshoot.
 * You can find it via `WooCommerce > Status`. Select `Get system report` and then`
   Copy for support`. Once you’ve done that, you can paste it into your reply here.
 * If you could also provide the **fatal error logs** (if any) under `WooCommerce
   > Status > Logs`.
 * Let us know how it goes!
 *  Thread Starter [drachires](https://wordpress.org/support/users/drachires/)
 * (@drachires)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/terms-counting-doesnt-work/#post-16395987)
 * I think something is broken with the database … because I tried disabling the
   plugins that could interfere with this but nothing helped, I also tried to check
   the logs for you, for many days there are no errors and if I found any in past
   it wasnt rellevant at all, here is the system report (I could not insert it as
   a plain text, nothing happened after ctrl+v, so I sent it as a code, just letting
   you know that some people can be having the same problem):
 *     ```wp-block-code
       `
       ### WordPress Environment ###
   
       WordPress address (URL): https://goldencloud.sk
       Site address (URL): https://goldencloud.sk
       WC Version: 7.3.0
       REST API Version: ✔</img> 7.3.0
       WC Blocks Version: ✔</img> 9.1.5
       Action Scheduler Version: ✔</img> 3.5.2
       Log Directory Writable: ✔</img>
       WP Version: 6.1.1
       WP Multisite: –
       WP Memory Limit: 1 GB
       WP Debug Mode: ✔</img>
       WP Cron: –
       Language: sk_SK
       External object cache: –
   
       ### Server Environment ###
   
       Server Info: Apache/2.4.54 (Debian)
       PHP Version: 8.0.24
       PHP Post Max Size: 499 MB
       PHP Time Limit: 600
       PHP Max Input Vars: 10000
       cURL Version: 7.64.0
       OpenSSL/1.1.1n
   
       SUHOSIN Installed: –
       MySQL Version: 10.6.3-MariaDB-1:10.6.3+maria~buster-log
       Max Upload Size: 499 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_
       Celková veľkosť databázy: 188.02MB
       Veľkosť údajov v databáze: 137.03MB
       Veľkosť indexu databázy: 50.99MB
       wp_woocommerce_sessions: Dáta: 1.02MB + Index: 0.02MB + Engine InnoDB
       wp_woocommerce_api_keys: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_woocommerce_attribute_taxonomies: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_woocommerce_downloadable_product_permissions: Dáta: 0.02MB + Index: 0.06MB + Engine InnoDB
       wp_woocommerce_order_items: Dáta: 0.06MB + Index: 0.02MB + Engine InnoDB
       wp_woocommerce_order_itemmeta: Dáta: 0.39MB + Index: 0.36MB + Engine InnoDB
       wp_woocommerce_tax_rates: Dáta: 0.02MB + Index: 0.06MB + Engine InnoDB
       wp_woocommerce_tax_rate_locations: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_woocommerce_shipping_zones: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_woocommerce_shipping_zone_locations: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_woocommerce_shipping_zone_methods: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_woocommerce_payment_tokens: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_woocommerce_payment_tokenmeta: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_woocommerce_log: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_actionscheduler_actions: Dáta: 1.34MB + Index: 0.56MB + Engine InnoDB
       wp_actionscheduler_claims: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_actionscheduler_groups: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_actionscheduler_logs: Dáta: 1.52MB + Index: 1.72MB + Engine InnoDB
       wp_ac_segments: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_admin_columns: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_adtribes_my_conversions: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_alp_pickup_location: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_atum_export_templates: Dáta: 0.16MB + Index: 0.03MB + Engine InnoDB
       wp_atum_inventories: Dáta: 0.09MB + Index: 0.08MB + Engine InnoDB
       wp_atum_inventory_files: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_atum_inventory_locations: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_atum_inventory_meta: Dáta: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_atum_inventory_orders: Dáta: 0.05MB + Index: 0.03MB + Engine InnoDB
       wp_atum_inventory_regions: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_atum_inventory_reserved_stock: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_atum_logs: Dáta: 2.52MB + Index: 0.66MB + Engine InnoDB
       wp_atum_logs_cache: Dáta: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_atum_logs_cache_var: Dáta: 0.41MB + Index: 0.28MB + Engine InnoDB
       wp_atum_order_itemmeta: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_atum_order_items: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_atum_product_data: Dáta: 0.08MB + Index: 0.06MB + Engine InnoDB
       wp_barcode_v3_dimension: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_barcode_v3_fields_matching: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_barcode_v3_label_sheets: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_barcode_v3_paper_formats: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_barcode_v3_profiles: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_barcode_v3_templates: Dáta: 0.05MB + Index: 0.00MB + Engine InnoDB
       wp_barcode_v3_template_to_user: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_barcode_v3_user_settings: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_bv_fw_requests: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_bv_ip_store: Dáta: 0.20MB + Index: 0.16MB + Engine InnoDB
       wp_bv_lp_requests: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_bwf_actions: Dáta: 0.02MB + Index: 0.09MB + Engine InnoDB
       wp_bwf_action_claim: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_bwf_contact: Dáta: 0.02MB + Index: 0.06MB + Engine InnoDB
       wp_bwf_contact_meta: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_bwf_wc_customers: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_cartbounty: Dáta: 28.56MB + Index: 0.00MB + Engine InnoDB
       wp_cartbounty_pro: Dáta: 0.20MB + Index: 0.00MB + Engine InnoDB
       wp_cart_notices: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_commentmeta: Dáta: 0.06MB + Index: 0.03MB + Engine InnoDB
       wp_comments: Dáta: 0.16MB + Index: 0.13MB + Engine InnoDB
       wp_commercekit_searches: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_commercekit_swatches_cache_count: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_commercekit_waitlist: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_commercekit_wishlist: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_commercekit_wishlist_items: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_dgwt_wcas_index: Dáta: 0.36MB + Index: 0.02MB + Engine InnoDB
       wp_dgwt_wcas_invindex_cache_cs: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_dgwt_wcas_invindex_cache_en: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_dgwt_wcas_invindex_cache_sk: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_dgwt_wcas_invindex_doclist_cs: Dáta: 0.34MB + Index: 0.39MB + Engine InnoDB
       wp_dgwt_wcas_invindex_doclist_en: Dáta: 0.33MB + Index: 0.34MB + Engine InnoDB
       wp_dgwt_wcas_invindex_doclist_sk: Dáta: 1.52MB + Index: 0.88MB + Engine InnoDB
       wp_dgwt_wcas_invindex_wordlist_cs: Dáta: 0.11MB + Index: 0.09MB + Engine InnoDB
       wp_dgwt_wcas_invindex_wordlist_en: Dáta: 0.09MB + Index: 0.05MB + Engine InnoDB
       wp_dgwt_wcas_invindex_wordlist_sk: Dáta: 0.17MB + Index: 0.14MB + Engine InnoDB
       wp_dgwt_wcas_tax_index: Dáta: 0.05MB + Index: 0.05MB + Engine InnoDB
       wp_e_events: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_e_submissions: Dáta: 0.02MB + Index: 0.27MB + Engine InnoDB
       wp_e_submissions_actions_log: Dáta: 0.02MB + Index: 0.11MB + Engine InnoDB
       wp_e_submissions_values: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_feedmanager_default_center: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_heureka_product_item_ids: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_icl_cms_nav_cache: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_icl_content_status: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_icl_core_status: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_icl_flags: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_icl_languages: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_icl_languages_translations: Dáta: 0.20MB + Index: 0.17MB + Engine InnoDB
       wp_icl_locale_map: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_icl_message_status: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_icl_mo_files_domains: Dáta: 0.06MB + Index: 0.02MB + Engine InnoDB
       wp_icl_node: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_icl_reminders: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_icl_strings: Dáta: 1.52MB + Index: 2.23MB + Engine InnoDB
       wp_icl_string_batches: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_icl_string_packages: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_icl_string_pages: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_icl_string_positions: Dáta: 0.33MB + Index: 0.11MB + Engine InnoDB
       wp_icl_string_status: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_icl_string_translations: Dáta: 1.52MB + Index: 1.77MB + Engine InnoDB
       wp_icl_string_urls: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_icl_translate: Dáta: 4.52MB + Index: 0.20MB + Engine InnoDB
       wp_icl_translate_job: Dáta: 0.05MB + Index: 0.02MB + Engine InnoDB
       wp_icl_translations: Dáta: 0.22MB + Index: 0.67MB + Engine InnoDB
       wp_icl_translation_batches: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_icl_translation_downloads: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_icl_translation_status: Dáta: 5.52MB + Index: 0.05MB + Engine InnoDB
       wp_iconic_woo_linked_variations: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_links: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_mergado_news: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_mobileassistant_failed_login: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_mobileassistant_push_settings: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_mobileassistant_session_keys: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_mobileassistant_users: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_options: Dáta: 25.50MB + Index: 0.70MB + Engine InnoDB
       wp_oses_attachments: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_oses_clicks: Dáta: 0.08MB + Index: 0.02MB + Engine InnoDB
       wp_oses_emails: Dáta: 2.39MB + Index: 0.02MB + Engine InnoDB
       wp_oses_email_attachments: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_oses_failures: Dáta: 0.11MB + Index: 0.00MB + Engine InnoDB
       wp_oses_jobs: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_podaci_harok_log: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_postmeta: Dáta: 37.55MB + Index: 25.08MB + Engine InnoDB
       wp_posts: Dáta: 8.52MB + Index: 4.25MB + Engine InnoDB
       wp_rank_math_404_logs: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_rank_math_analytics_gsc: Dáta: 0.02MB + Index: 0.06MB + Engine InnoDB
       wp_rank_math_analytics_keyword_manager: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rank_math_analytics_objects: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_rank_math_internal_links: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_rank_math_internal_meta: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rank_math_redirections: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_rank_math_redirections_cache: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_scalability_pro_cache: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_scalability_pro_profiling: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_seopress_significant_keywords: Dáta: 0.30MB + Index: 0.33MB + Engine InnoDB
       wp_sm_advanced_search_temp: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_sm_views: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_termmeta: Dáta: 0.25MB + Index: 0.33MB + Engine InnoDB
       wp_terms: Dáta: 0.17MB + Index: 0.45MB + Engine InnoDB
       wp_term_relationships: Dáta: 1.52MB + Index: 1.03MB + Engine InnoDB
       wp_term_taxonomy: Dáta: 0.27MB + Index: 0.95MB + Engine InnoDB
       wp_trp_gettext_en_us: Dáta: 1.52MB + Index: 0.67MB + Engine InnoDB
       wp_usermeta: Dáta: 0.42MB + Index: 0.70MB + Engine InnoDB
       wp_users: Dáta: 0.03MB + Index: 0.08MB + Engine InnoDB
       wp_wcpdf_invoice_number: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wc_admin_notes: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wc_admin_note_actions: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wc_category_lookup: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wc_customer_lookup: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_wc_download_log: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_wc_order_coupon_lookup: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_wc_order_product_lookup: Dáta: 0.02MB + Index: 0.06MB + Engine InnoDB
       wp_wc_order_stats: Dáta: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_wc_order_tax_lookup: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_wc_products: Dáta: 0.02MB + Index: 0.08MB + Engine InnoDB
       wp_wc_product_attributes: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_wc_product_attributes_lookup: Dáta: 0.11MB + Index: 0.08MB + Engine InnoDB
       wp_wc_product_attribute_values: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_wc_product_downloads: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wc_product_download_directories: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wc_product_meta_lookup: Dáta: 0.08MB + Index: 0.16MB + Engine InnoDB
       wp_wc_product_relationships: Dáta: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_wc_product_variation_attribute_values: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_wc_rate_limits: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wc_reserved_stock: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wc_sf_log: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wc_tax_rate_classes: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wc_webhooks: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wfco_report_views: Dáta: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_wfob_stats: Dáta: 0.02MB + Index: 0.08MB + Engine InnoDB
       wp_wfocu_event: Dáta: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_wfocu_event_meta: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wfocu_session: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_woocommerce_exported_csv_items: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_woocommerce_orders: Dáta: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_woocommerce_pickup_locations_geodata: Dáta: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_woocommerce_prl_deploymentmeta: Dáta: 0.17MB + Index: 0.03MB + Engine InnoDB
       wp_woocommerce_prl_deployments: Dáta: 0.02MB + Index: 0.06MB + Engine InnoDB
       wp_woocommerce_prl_frequencies: Dáta: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_woocommerce_prl_tracking_conversions: Dáta: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_woof_stat_buffer: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_woof_stat_tmp: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpfm_backup: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpify_woo_log: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpr_rocket_cache: Dáta: 1.52MB + Index: 1.75MB + Engine InnoDB
       wp_wpr_rucss_used_css: Dáta: 0.02MB + Index: 0.09MB + Engine InnoDB
       wp_wrc_caches: Dáta: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_wrc_relations: Dáta: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_yith_wcan_filter_sessions: Dáta: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_yith_wcdn_desktop_notification: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_yith_wc_stripe_blacklist: Dáta: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_yith_ywpar_points_log: Dáta: 0.02MB + Index: 0.00MB + Engine InnoDB
   
       ### Post Type Counts ###
   
       ae_global_templates: 4
       attachment: 1859
       atum_purchase_order: 1
       atum_supplier: 1
       b2bking_conversation: 1
       b2bking_custom_field: 10
       b2bking_custom_role: 2
       b2bking_group: 1
       b2bking_list: 1
       b2bking_offer: 1
       cpt_iconic_wlv: 17
       custom_css: 2
       customize_changeset: 41
       ec_woo_ddb_template: 12
       elegant_tab: 12
       elementor_library: 446
       ep-synonym: 1
       filter-field: 7
       filter-set: 1
       nav_menu_item: 119
       oembed_cache: 4
       page: 47
       polylang_mo: 3
       post: 1
       prl_engine: 7
       product: 436
       revision: 146
       seopress_404: 452
       seopress_bot: 2
       seopress_schemas: 2
       shop_order: 120
       shop_order_refund: 2
       user_request: 1
       wc_order_status: 8
       wc_pickup_location: 1
       wc_product_tab: 10
       wfob_bump: 1
       wfocu_funnel: 2
       wfocu_offer: 2
       wp_block: 1
       wp_global_styles: 1
       wpclv: 1
       xlwcty_thankyou: 1
       yaymail_template: 52
       yith_wcan_preset: 2
       ywcm_message: 2
   
       ### Security ###
   
       Secure connection (HTTPS): ✔</img>
       Hide errors from visitors: ✔</img>
   
       ### Active Plugins (70) ###
   
       Polylang Pro: – 3.3
       Barcode Printing for WooCommerce & Contact Form 7 - (demo): – 3.4.4
       Add Polylang support for Customizer: – 1.4.5
       Admin Columns Pro: – 6.0.3
       Address correction autocomplete for Woo: – 1.1
       Advanced Local Pickup for WooCommerce: – 1.5.1
       FiboSearch - AJAX Search for WooCommerce (Pro): – 1.21.1
       Checkout Countdown for WooCommerce: – 3.1.7
       Payment Gateway Based Fees and Discounts for WooCommerce: – 2.9.0
       Code Profiler Pro: – 1.5.3
       CommerceGurus Commercekit: – 2.1.1
       Cookie Notice & Compliance for GDPR / CCPA: – 2.4.5
       Disable Bloat for WordPress & WooCommerce: – 3.1.11
       Disable Gutenberg: – 2.8.1
       Disable All WordPress Updates: – 1.7.1
       EAN for WooCommerce: – 4.4.3
       Easy Theme and Plugin Upgrades: – 2.0.2
       Elegant Tabs for WooCommerce: – 3.1.2
       Elementor Pro: – 3.10.2
       Elementor: – 3.10.1
       Filter Everything PRO: – 1.7.3
       WP OPcache: – 4.1.4
       Freesoul Deactivate Plugins: – 1.9.4.1
       Astra Security Suite – Firewall & Malware Scan: – 0.2
       Happy Elementor Addons Pro: – 2.7.1
       Happy Elementor Addons: – 3.8.1
       Heureka: – 1.0.3
       WooCommerce Linked Variations by Iconic: – 1.4.1
       Kirki Customizer Framework: – 4.0.24
       MalCare WordPress Security Plugin - Malware Scanner, Cleaner, Security Firewall: – 4.84
       Mobile Assistant Connector: – 2.2.4
       Neoship: – 3.0.0
       Pdf Embed: – 0.2.7
       Perfect Brands for WooCommerce: – 2.5.5
       Polylang for WooCommerce: – 1.7
       Safe SVG: – 2.0.3
       Saved Addresses For WooCommerce: – 2.7.0
       Scalability Pro: – 5.07
       Smart Manager - WooCommerce Advanced Bulk Edit, Inventory Management & more...: – 7.4.0
       Smart Product Review For WooCommerce: – 2.0.3
       WooCommerce Thank You Page - NextMove: – 1.17.0
       Theme and plugin translation for Polylang (TTfP): – 3.3.2
       Product Gallery Slider for WooCommerce PRO: – 3.3.1
       WooCommerce Order Filters: – 1.7
       WebP Express: – 0.25.5
       Widget Logic: – 5.10.4
       CartBounty - Uloženie a obnovenie opustených košíkov pre WooCommerce: – 7.1.5
       WooCommerce Checkout Field Editor: – 1.7.7
       WOOCS - WooCommerce Currency Switcher: – 2.3.9.2
       WooCommerce Order Status Control: – 1.14.0
       WooCommerce Local Pickup Plus: – 2.10.0
       Woocommerce Trust Pay Gateway: – 1.2.8
       WooCommerce: – 7.3.0
       Kybernaut ICO DIC: – 1.6.7
       Asset CleanUp Pro: Page Speed Booster: – 1.2.2.9
       WP Offload SES: – 1.5.6
       WP Rocket: – 3.12.3.3
       SEOPress PRO: – 6.2
       SEOPress: – 6.2.0.2
       WPify Woo: – 3.9.1
       Sequential Order Numbers for WooCommerce: – 1.4.9
       YayMail Addon for B2BKing: – 1.1
       YayMail Addon for Conditional Logic: – 2.0
       YayMail Addon for Order Cancellation Email to Customer: – 1.2
       YayMail Addon for WooCommerce Smart Coupons: – 1.4
       YayMail Addon for WooCommerce Stripe Gateway: – 1.1
       YayMail Addon for YITH WooCommerce Stripe: – 1.3
       YayMail Pro - WooCommerce Email Customizer: – 3.1.5
       YITH Desktop Notifications for WooCommerce Premium: – 1.2.23
       YITH WooCommerce PDF Invoices & Packing Slips Premium: – 3.4.0
   
       ### Inactive Plugins (25) ###
   
       Advanced Order Export For WooCommerce: – 3.3.3
       ATUM Action Logs: – 1.2.4
       ATUM Export Pro: – 1.3.0
       ATUM Inventory Management for WooCommerce: – 1.9.26.2
       ATUM Multi-Inventory: – 1.7.2
       B2BKing Core: – 4.2.38
       B2BKing Pro: – 4.4.30
       CartBounty Pro - Save and recover abandoned carts for WooCommerce: – 9.7.2
       ePodací hárok: – 1.0.0
       Estimate delivery date for WooCommerce: – 4.9.99
       Live Chat by Customerly - FREE Live Chat & Video Live Chat for WP: – 2.5.2
       OrderBumps: WooCommerce Checkout Offers: – 1.12.0
       Query Monitor: – 3.11.1
       Stripe Payment Plugin for WooCommerce: – 3.7.5
       WooCommerce Pre-Orders: – 1.7.2
       WooCommerce Product Recommendations: – 2.2.0
       WooCommerce Shop as Customer: – 2.16
       WP Disable: – 1.6.1
       WP Hardening: – 1.2.6
       WP Sheet Editor - Post Types (Premium): – 2.25.0
       WP Sheet Editor - Taxonomy Terms Pro: – 1.7.2
       WP Sheet Editor - WooCommerce Products (Premium): – 1.7.21
       YITH Infinite Scrolling Premium: – 1.5.2
       YITH WooCommerce Points and Rewards Premium: – 3.7.0
       YITH WooCommerce Stripe Premium: – 3.2.0
   
       ### Dropin Plugins (1) ###
   
       advanced-cache.php: advanced-cache.php
   
       ### Must Use Plugins (5) ###
   
       Asset CleanUp Pro: Plugin Filtering: – 1.0
       Code Profiler (mu-plugin): – 1.0
       freesoul deactivate plugins [fdp]: – 1.9.4.1
       Health Check Troubleshooting Mode: – 1.8.1
       Object Cache Pro (MU): – 1.17.0
   
       ### Settings ###
   
       API Enabled: ✔</img>
       Force SSL: –
       Currency: EUR (€)
       Currency Position: right
       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 ###
   
       Slug pre obchod: #6658 - /obchod
       Košík: #6659 - /kosik
       Pokladňa: #6660 - /pokladna
       Môj účet: #6661 - /moj-ucet
       Všeobecné obchodné podmienky: #6796 - /vseobecne-obchodne-podmienky
   
       ### Theme ###
   
       Name: shoptimizer Child
       Version: 1.0.0
       Author URL: 
       Child Theme: ✔</img>
       Parent Theme Name: Shoptimizer
       Parent Theme Version: 2.6.2
       Parent Theme Author URL: https://www.commercegurus.com/
       WooCommerce Support: ✔</img>
   
       ### Templates ###
   
       Overrides: shoptimizer-child/woocommerce/cart/cart.php verzia 3.8.0 je zastaralá. Verzia jadra je 7.0.1
       shoptimizer-child/woocommerce/checkout/form-checkout.php
       shoptimizer-child/woocommerce/checkout/payment.php verzia 3.5.3 je zastaralá. Verzia jadra je 7.0.1
       shoptimizer-child/woocommerce/checkout/review-order.php
       /home/763140.cloudwaysapps.com/gnfnrvdfxc/public_html/wp-content/plugins/twist/inc/public/templates/default.php
   
       Outdated Templates: ❌</img>
   
   
       						Naučte sa ako aktualizovať
   
       ### WC Pages Translations ###
   
       Shop base: ✔</img>
       Cart: ✔</img>
       Checkout: ✔</img>
       My account: ✔</img>
   
       ### 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-01-22 14:45:36 +01:00
       Options: ✔</img>
       Notes: 21
       Onboarding: completed
   
       ### Local Pickup Plus ###
   
       Status: Disabled
       Geocoding: –
       Pickup Locations: 1
       Pickup Appointments: –
       Pickup Location Tax: ✔</img>
       Checkout Display: Pickup selection mode: per orderCart item handling mode: automatic groupingDefault cart item handling: ship items
   
       ### Action Scheduler ###
   
       Complete: 944
       Oldest: 2023-01-02 11:41:12 +0100
       Newest: 2023-01-21 16:01:09 +0100
   
       Failed: 140
       Oldest: 2022-10-13 03:20:19 +0200
       Newest: 2023-01-21 01:47:22 +0100
   
       Pending: 4
       Oldest: 2023-01-21 16:02:09 +0100
       Newest: 2023-01-25 03:00:00 +0100
   
   
       ### Status report information ###
   
       Generated at: 2023-01-21 16:01:10 +01:00
       `
       ```
   
 *  [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * (@anastas10s)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/terms-counting-doesnt-work/#post-16404030)
 * Howdy [@drachires](https://wordpress.org/support/users/drachires/)
 * Given the high degree of customization at your store, the best way to isolate
   the issue is to start by creating a staging copy of the live site.
 * On that staging copy, first make sure that no server-side, or CDN, caching is
   enabled. Then, kindly follow the steps outlined below:
    1. Temporarily switch your theme to [Storefront](https://woocommerce.com/storefront/?aff=10486&cid=1131038)
       or [Twenty Twenty](https://wordpress.org/themes/twentytwenty/) theme.
    2. Try to reproduce the problem: Check whether you still encounter the issue!
 * If the problem is resolved, it’s a theme conflict. If not, continue to the next
   steps.
    3. Temporarily deactivate all plugins except WooCommerce. You can do this manually
       or use a plugin to help (see below for tools).
    4. Try to reproduce the problem again. If the problem is resolved, it’s a plugin
       conflict. To figure out which plugin is causing the problem, continue to the
       next step.
    5. Reactivate your other plugins one by one, testing after each, until you find
       the one causing conflict.
 * For more detailed instructions, check out [How to test for plugin and theme conflicts](https://docs.woocommerce.com/document/how-to-test-for-conflicts).
 * **Tools to help with troubleshooting**
 * [Meks Quick Plugin Disabler](https://wordpress.org/plugins/meks-quick-plugin-disabler/)
   will remember what plugins you had active when you switch it back on.
 * You can clone your site to a staging environment and perform tests without modifying
   your live site or impacting customers. Many hosts provide staging facilities,
   so it’s worth checking in with them. It’s also possible to do it using the free
   [WP Staging](https://wordpress.org/plugins/wp-staging/) plugin.
 * Please let us know how that goes.
 *  Thread Starter [drachires](https://wordpress.org/support/users/drachires/)
 * (@drachires)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/terms-counting-doesnt-work/#post-16405770)
 * Hello,
 * I cloned to staging, tried Troubleshooting mode (with plugin), used all tools
   to recalculate values, didnt work
 * Tried to do it for real, activated Storefront, deactivated all plugins besides
   of only Woocommerce, tried to regenerate everything, still the counts are wrong…
 * although when I open the category or attribute term in backend or frontend, I
   see all products that I should, but the count is wrong and also the category 
   that has wrong count 0 isnt showed in shop pages (where I dynamically display
   categories with products in it)
 * Only way I see you can help me is to send you copy of my wp_posts table maybe
 * I will try to export and import products back, maybe it can help but I doubt 
   it little bit, it also will not explain what was wrong
 *  Thread Starter [drachires](https://wordpress.org/support/users/drachires/)
 * (@drachires)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/terms-counting-doesnt-work/#post-16405804)
 * Also exporting and importing didnt help, something is weirdly broken …
 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/terms-counting-doesnt-work/#post-16412448)
 * Hi,
 * `Although products have those attribute terms, the total count of them in Products-
   >Attributes->”Specific attribute” is 0 for every term, although every term is
   added to 1 product.`
 * This is odd.
 * May I ask if you clear the site cache and clear the transients? Do those actions
   make a difference?
 * If you create a new attribute, is this working as expected? Or does the same 
   wrong behavior is present?
 * Let us know what you find.
 *  Thread Starter [drachires](https://wordpress.org/support/users/drachires/)
 * (@drachires)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/terms-counting-doesnt-work/#post-16413031)
 * Okay so, I spent like years with finding something replicable and also being 
   able to fix it, and I think I got to the bottom of the reasons why and how it
   is not working. And its still not fixed 100%
 * I was (and hopefully I will be still) using plugin Scalability Pro and there 
   is definitely one problem … BUT … its somehow weird … maybe the problem is on
   both sides.
 * They have one function, that is said to be used for imports, I wasnt importing
   anything yet but still had it enabled because I didnt know its causing something
   bad … This is the function: [https://ibb.co/0sczXXM](https://ibb.co/0sczXXM)
 * The thing is … even when I disabled this option, deleted mentioned indexes, or
   even disabled the plugin, flushed Cache (although this has anything with frontend
   cache), flushed OP Cache, (I dont have redis, memcached or anything like that),
   used tool for recounting terms and other tools from woo to clear everything, 
   NOTHING CHANGES …. I could disable all plugins besides of woocommerce, I could
   switch to default theme, and again try everything, still the count for term or
   category was zero (the products that were under those categories or had those
   terms was added before this procedures).
 * BUT in the point this option was disabled, and I added new product with that 
   category, it finally recounted the count and it was correct …
 * My point is …
 * 1. You should definitely get to talk with that guy from Scalability Pro, he has
   great ideas, but obviously not perfect and dig to the bottom of this issue, so
   you can maybe implement few of his ideas
 * 2. You could probably check if the function to recount terms always works as 
   it should, because now it still does not work for me although the Scalability
   Pro is disabled … I can just make it to recount term/category by adding new product
   with that category, with terms it will be worse, because there is many … because
   it still recounts only the used one … The point I want to also make here is that
   this issue is maybe not easily recognized by people because you never check if
   count of products has increased in backend, you just check if the product appears
   on frontend and its enough…. so maybe also other people has problem with recounting
   on demand but they didnt notice…
 *  [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * (@anastas10s)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/terms-counting-doesnt-work/#post-16421198)
 * Hi there [@drachires](https://wordpress.org/support/users/drachires/)
 * Thank you for reaching back, with further information on this.
 * > BUT in the point this option was disabled, and I added new product with that
   > category, it finally recounted the count and it was correct …
 * From what I gather, this effectively verifies that the issue is with a plugin
   other than WooCommerce.
 * > 1. You should definitely get to talk with that guy from Scalability Pro, he
   > has great ideas, but obviously not perfect and dig to the bottom of this issue,
   > so you can maybe implement few of his ideas
 * Feel free to request new features and extensions and vote on existing suggestions
   on our official [feature request board](https://woocommerce.com/feature-requests/woocommerce?utm_medium=referral&utm_source=wordpress.org&utm_campaign=wp_org_repo_listing).
   Our Product teams regularly review requests and consider them valuable for product
   planning.
 * > 2. You could probably check if the function to recount terms always works as
   > it should, because now it still does not work for me although the Scalability
   > Pro is disabled […] The point I want to also make here is that this issue is
   > maybe not easily recognized by people because you never check if count of products
   > has increased in backend, you just check if the product appears on frontend
   > and its enough…. so maybe also other people has problem with recounting on 
   > demand but they didnt notice…
 * As I understand, you are suggesting that a count verify method should be available,
   correct? That would another idea to add on our official [feature request board](https://woocommerce.com/feature-requests/woocommerce?utm_medium=referral&utm_source=wordpress.org&utm_campaign=wp_org_repo_listing).
 * I hope that helps!

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

The topic ‘Terms counting doesnt work’ 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/)

 * 9 replies
 * 4 participants
 * Last reply from: [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/terms-counting-doesnt-work/#post-16421198)
 * Status: resolved