Posts Don't Load; Page Filled With Code

Posted in: Newspaper
Post count: 7

Hello,

I am having issues with random posts not loading, instead showing a blank page with a lot of code ({“version”:”20211209″,”show_thumbnails”:true,”show_date”:true,”show_context”:true,”layout”:”grid”,”headline”:”Related”,”items”:[{“id”:34554,”url”:”https:\/\/www.) where a post should be. I would show a screenshot, but this forum doesn’t allow image upload. I believed that a cache plugin was causing the issue, especially because the issue would clear after purging the cache and purging Cloudflare’s cache. Therefore, I tried various caching plugins (maybe 4). When the issue persisted, I got rid of all caching plugins and have only Cloudflare. However, there is a post page that is currently just code, and I don’t know how to fix this. Do you have any idea what could be causing the issue?

Post count: 35449

Hi,
If the problem doesn’t persists when you are logged it, then it is clearly form a cache or CDN.
What I can suggest is to be sure that all the theme plugins that you need are enabled.
Set the CDN like in our guide from here -> https://forum.tagdiv.com/cloudflare-cdn/ also, if you want to try a cache plugin you can trey the one from our guide -> https://forum.tagdiv.com/cache-plugin-install-and-configure/
I hope this will help you!
Thank you!

Post count: 7

Cloudflare already had the recommended settings. I fixed the symptom of the code appearing instead of a post by searching for files and folders marked cache and deleting the ones that were safe to delete. The symptom went away without me purging Cloudflare, so I guess the issue was a cache plugin.

WP Super Cache was the final cache plugin I tried. The issue worsened. I don’t know if WP Super Cache was the cause or if there were traces of W3 Total Cache interfering. Either way, I’m hesitant to try any cache plugin again, because I have so many posts and there’s no way to know which is missing until visitors complain. It’s doing more harm than good. Thanks.

Post count: 35449

I see, in this case it was definitely a cache and the problem persisted because some cache plugins like litespeed, W3 total cache creates files with cache that are apply even after the cache plugins disabled.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.