Support » Plugin: Redis Object Cache » Product Attributes Disappearing

  • Resolved marv2

    (@marv2)


    Hi, I imported a few (WooCommerce) product attributes from a spreadsheet (with WP All Import), and for some reason if I disable Redis via the plugin, they disappear. I also deleted some attributes, and when I disable Redis they re-appear. It basically seems like the changes were only made to the object cache. (Is this possible?) I tried clearing the redis cache as well as nginx cache and I have the same problem. I also used “redis-cli flushall” via console, and still have the same issue. I am not sure where to turn next. Any help is greatly appreciated!!

    Here is the plugins diagnostics info:
    Status: Connected
    Client: PhpRedis (v4.3.0)
    Drop-in: Valid
    Ping: +PONG
    Redis Extension: 4.3.0
    Predis Client: 1.1.1
    PHP Version: 7.3.6-1+ubuntu18.04.1+deb.sury.org+1
    Multisite: No

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    That’s strange, a cache flush should fix this issue. If it doesn’t, please reach out to the WooCommerce support about it, since they have control over what being cached.

    Alternatively you could ignore the WC groups from being cached.

    Thank you for your prompt reply Till!

    I already tried flushing redis cache, nginx cache, and cloudflare cache. Browser cache too 😉

    I really need to get this working and disabling WC groups from being cached isn’t really an option for me as that’s the main thing I’m caching.

    Any other ideas on what I should try?

    Plugin Author Till Krüss

    (@tillkruess)

    I’d definitivly speak with the WC support first.

    You or your web developer needs to dig into why the data isn’t cached properly.

    If your business is highly dependent on object caching, you might want to get the business edition of this plugin, which makes debugging issues like this much easier.

    Ok thank you, and I will check out the business edition. Take care.

    Plugin Author Till Krüss

    (@tillkruess)

    @marv2: Alright 👍🏻

    The sales page is still a work in progress, I’ve been onboarding businesses individually. Feel free to email me anytime with questions.

    I contacted WooCommerce and they said I should contact you 🙂

    I checked my MySQL database and the info IS there. I’m just not sure why it disappears when I disable redis cache via your plugin….
    Another thing to note, when I disable your plugin entirely, the attributes disappear as well.

    EDIT:
    I uninstalled redis from my server using apt-get purge --auto-remove redis-server and then checked my website and the info was still missing. But when when I activated your plugin, the info came back. Even though redis is no longer on the server.

    Here is the diagnostic info from the plugin now:
    Status: Not Connected
    Client: PhpRedis (v4.3.0)
    Drop-in: Valid
    Connection Exception: Connection refused (RedisException)
    Redis Extension: 4.3.0
    Predis Client: 1.1.1
    PHP Version: 7.3.6-1+ubuntu18.04.1+deb.sury.org+1

    • This reply was modified 2 weeks, 2 days ago by marv2.
    • This reply was modified 2 weeks, 2 days ago by marv2.
    Plugin Author Till Krüss

    (@tillkruess)

    That particular case is because the data is only stored in Redis and not MySQL.

    The only reason for that being the case is WC or another plugin itself. Remember this plugin is just a backend and doesn’t do anything by itself.

    WooCommerce is quite the shitshow, hence the Redis Cache Pro for business that need reliable cache insights.

    The info does show up in mysql.

    Also, did you see my last edit?

    Plugin Author Till Krüss

    (@tillkruess)

    What’s the actual issue you’re having?

    Sorry if I wasn’t clear in my original post.

    I imported many attributes to WooCommerce products. However I find that when I disable your plugin, they all seem to disappear (But MYSQL still shows them). When I reactivate your plugin they re-appear.

    I tried flushing my Nginx Cache, Redis Cache, Cloudflare Cache, Browser cache, and the issue persists.

    I even tried un-installing Redis from my server, and the issue is still there. If I enable your plugin, the attributes show up properly, and when I disable you plugin, the attributes disappear.

    Clearing all caches, de-activating and re-activating all plugins seems to have fixed it.

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