Support » Plugin: Redis Object Cache » Product Attributes not disappeared when Object Cache is enabled

  • Resolved Gomle


    Hello! I’m having the same issue – much like this post:

    All product attributes are visible in wp_terms, wp_terms_relationships and are connected to the correct product in wp_posts.

    But when disabling the Object Cache, all the attributes are gone from the shop admin and front-end, but they are still in the DB.

    When enabling the Object Cache from WP Dashboard – they are back again.

    It does not help to flush the cache. It only helps to enable the cache to be able to show the product attributes.

    I’ve seen a few posts about this lately, and since we have about 5000 products with MANY attributes – it is crucial for us to understand what is happening here, so it can be fixed.

    Do you have any ideas to why this happens, and how we can fix it?

    • This topic was modified 3 months ago by Gomle.
    • This topic was modified 3 months ago by Gomle. Reason: typo
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Till Krüss


    Hi Gomle,

    I’d reach out to whoever is responsive for your product attributes. Maybe the WooCommerce team?

    This plugin just provides an API for WordPress to communicate with Redis.

    I’d try running a redis-cli FLUSHALL to make sure you’re really flushing it all. Posting your diagnostics would help as well.


    I had this same problem. I don’t know what is the reason this happens but resolved it by temporary disabling get_transient for wc_attribute_taxonomies in plugins/woocommerce/includes/wc-attribute-functions.php by changing line in function wc_get_attribute_taxonomies from $raw_attribute_taxonomies = get_transient( 'wc_attribute_taxonomies' ); to $raw_attribute_taxonomies = false; and refreshed backend attributes list. Everything backs to normal thanks to wp_cache_set( $cache_key, $attribute_taxonomies, 'woocommerce-attributes' );

    Plugin Author Till Krüss


    Probably worth reporting to the Woo team.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.