I am trying to resolve an issue where the main WooCommerce shop page randomly stops displaying content, leaving only the header and footer visible (resulting in an empty shop page). It appears that something is preventing, interrupting, or deleting the 'post_content' of this page, a problem that does not occur with other pages.
The problem was noticeable after installing WPML, where we translated the webshop to English and German (by default Dutch).
As a developer myself, I can imagine that WPML might be running background tasks that could cause issues like these.
The shop page where the issue could be seen: hidden link.
The temporary fix is by updating the shop page manually. After this update, the 'post_content' returns to normal.
I thought I'd find a pattern when editing a WC product or category, and added a hook that updates the shop page after a WC product or category changed; unfortunately, this did not fix the problem.
There are no PHP errors that provide any clues as to the origin of the problem.
Thank you for contacting WPML support, I'd be happy to help you with this issue.
As I can see, the issue occurs on the shop page in the default language Dutch. So I think it doesn't relate to WPML in this case. You can try to deactivate WPML in a while and recheck this issue.
Note: Please backup your database and website before proceeding.
Thank you for your response. I am currently logging all the cron jobs to determine if there's a connection between a cron job and the issue of the empty page.
I will contact you again once I have found a result.
The topic ‘[Closed] Empty WooCommerce shop page after random period’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.