• dyin

    (@dyin)


    Hello,

    I have been having an issue with Redis & Woocommerce since the summer but can’t figure out the solution. Could you help me understand it?

    This is what they send me via mail:

    Thanks for getting back to us on this. From what I can see, the product attribute lookup table is still constantly regenerating. At times, the database entries and the number of products listed in the regeneration button (that is the?(120)?shown in your screenshot) do not match unless the Redis Object Cache is cleared.

    It appears that you may need to add options to your Redis ignored groups. I would do this only as a test.

    Please enable?WP_DEBUG?and?WP_DEBUG_LOG?at the start of the test. (https://www.ads-software.com/documentation/article/debugging-in-wordpress/#example-wp-config-php-for-debugging)

    Redis?object cache allows?WordPress?users to exclude certain groups from being cached, which would cause the keys of the ignored groups never to be stored in?Redis. It can be done by using the?WP_REDIS_IGNORED_GROUPS?WordPress constant in the?wp-config.php?file.

    define( 'WP_REDIS_IGNORED_GROUPS', [ 'options']);

    This does not address the issue of the regeneration being generated on every page load, but it may give us an indication of why the process is not completing. Once we have run the test and have some results, please re-enable options, as this is a key component to Redis caching.

Viewing 4 replies - 16 through 19 (of 19 total)
  • Plugin Support Julie

    (@julieadrienne)

    Sorry, WPML is so bad when it comes to WordPress persistent object caching that we stopped providing support for it. The WPML support team might be able to give you the cache groups to ignore.

    That said, ignoring options really reduces the benefits of using an object cache in the first place.

    Thread Starter dyin

    (@dyin)

    @julieadrienne thank you for the reply. Do the others also have the issue because of WPML? The other post I refer to doesn’t mention of it. Please leave it as “unresolved” for the time being. It needs some further investigation, I think.

    Plugin Support Julie

    (@julieadrienne)

    Yes, many people have issues with WPML.

    Thread Starter dyin

    (@dyin)

    i mean the people on the other post don’t mention WPML

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Redis and Woo / WPML bug’ is closed to new replies.