Empty shop – Cache
-
I have exactly the same problem as in this article.
Absolutely all my WooCommerce stores are affected. Randomly, products on the “shop” page disappear. The problem is solved by clearing the cache on the hosting side, but the downside is that I have to do this every day.
It’s a real problem : if a customer visits the store and doesn’t see any products, I risk losing a sale.
I’ve even seen this problem on other WooCommerce stores that aren’t mine. I’ve disabled and deleted all caching plugins, and I’ve also disabled the cache on the hosting side, but nothing works.
I’m desperate.
The page I need help with: [log in to see the link]
-
Hi @mlcpro,
I can see how disruptive this is, especially when products randomly disappear from the shop page and clearing the host cache is the only short term workaround. That kind of behavior can directly impact sales, so it makes sense that this feels urgent and frustrating, and I want to help you get to the bottom of it.
When the shop page appears empty but products still exist in the admin, this is very often tied to cached queries or stale WooCommerce lookup tables rather than the products themselves being deleted. Even when caching plugins are removed, server level caching or object caching can still serve outdated results.
A few things that are worth checking carefully;
First, confirm whether your host is running object caching such as Redis or Memcached. If so, WooCommerce pages like the shop, product category pages, and any URLs using product queries should be excluded from caching. Many hosts enable this automatically, and it can still affect WooCommerce even when page cache is disabled.Second, try regenerating WooCommerce product lookup tables. These tables power the shop and catalog queries, and if they get out of sync the shop can appear empty. You can do this by going to WooCommerce, Status, Tools, and running the tools to regenerate product lookup tables and clear WooCommerce transients. More details here: https://woocommerce.com/document/understanding-the-woocommerce-system-status-report/tools/#product-lookup-tables
Third, check whether WP Cron is running reliably on your sites. If cron jobs are blocked or delayed by the host, WooCommerce background tasks that rebuild caches and lookup tables may never complete. Your host can usually confirm this quickly.
Finally, since this is affecting multiple stores, I would strongly recommend opening a ticket with your hosting provider and asking them specifically about WooCommerce compatibility, object caching, and whether any aggressive cache rules are applied to product archive queries.
If you are able to share your WooCommerce system status report, that would help confirm whether object cache or cron issues are showing up. You can paste it using https://pastebin.com and share the link here.
Let’s see how it goes, and we will keep working through this with you.
Thank you for your prompt reply.
1: Regarding the first point, the hosting provider confirmed that they had not enabled the default object cache.
2: I regenerated the lookup tables, but I saw no improvement.
Here is the system report for the store in question
Thank you for getting back @mlcpro,
I’ve encountered a similar issue a few months ago, and after reviewing your system status report, it seems to support my suspicion. At the time, the affected site was also hosted with either Hostinger or HostGator. I can’t recall exactly which one.
Could you please confirm whether all the websites you mentioned that are experiencing this issue are hosted with Hostinger or HostGator?
On your own site, please also temporarily disable the following plugins and monitor the issue again for a while:
- Hostinger AI by Hostinger, version 3.0.20
- Hostinger Tools by Hostinger, version 3.0.56
When you reply, please go to WooCommerce > Status > Logs, check for any fatal error logs, open them, and share their contents using pastebin.com.
Hi @mosesmedh,
Yes, I can confirm that all sites are hosted with Hostinger. I’ve deactivated the requested extensions, but the problem persists. I’ll clear the cache as usual and wait to see if it reappears.
I don’t have a “status” tab in the WooCommerce section.
Thank you for the clarification @mlcpro,
I believe this issue might be related to Hostinger, as the previous cases I’ve seen all appear to involve Hostinger or Hostigator.
You can go ahead and clear the cache, then continue monitoring the situation with those plugins disabled.
Could you provide a screenshot of what appears in your menus when you hover over WooCommerce? You can use snipboard.io to share the screenshot.
Hi @mosesmedh,
Yes of course, here
Hi @mlcpro,
Thank you for sharing the screenshot, this helps confirm what you are seeing in your WooCommerce menu and gives us a clear path for the next step so we can continue narrowing this down together.
To get the logs, please follow the same path you used earlier when you shared the system status report. In your WordPress dashboard, go to WooCommerce, then click on État. Once the État page loads, you should see additional tabs or menu items at the top of that screen. Click on the third option called Logs. On the Logs page, look through the list for any fatal error logs, especially recent ones that line up with the times the shop page appears empty.
When you find a relevant log, open it, copy its contents, and share it with us using https://pastebin.com, then post the pastebin link here. This will allow us to see if there are underlying errors causing the catalog to intermittently disappear.
Once you share the logs, we can review them and advise on the most appropriate next steps.
The bug has just reappeared, even with Hostinger plugins disabled.
Thank you for the update @mlcpro,
To help us better understand your setup, please share the fatal error log as previously requested by my colleague.
To get the logs, please follow the same path you used earlier when you
shared the system status report. In your WordPress dashboard, go to
WooCommerce, then click on État. Once the État page loads, you should
see additional tabs or menu items at the top of that screen. Click on
the third option called Logs. On the Logs page, look through the list
for any fatal error logs, especially recent ones that line up with the
times the shop page appears empty.If language is making things a bit difficult, you can change your profile language to English for easier navigation. To do this, go to Users > Profile and select English as your preferred language. Once updated, you’ll be able to follow the instructions more easily, such as navigating to WooCommerce > Status > Logs.
Hello,
You were right @mosesmedh ,
I’m pleased to announce that I’ve officially resolved my problem. How?I changed hosted.
Hi there!
That’s great news!
Thanks for the update, and I’m glad to hear the issue is now resolved. Great to hear everything’s working perfectly now! Your feedback helps us improve and reach more users. If you have a moment, we’d be incredibly grateful if you could share your experience by leaving a review here:https://wordpress.org/support/plugin/woocommerce/reviews/#new-post
You must be logged in to reply to this topic.