Question

After resizing Droplet running wordpress I can't see posts

I recently resized a droplet that has WordPress installed. When I turned the droplet back on after resizing, I couldn’t see any of my pages, media, custom posts, etc in the admin. When I go to pages, I can see the number that are published, in drafts, etc, but I can’t actually see pages. Any assistance on this would be appreciated!


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

I solved the issue! It turns out it wasn’t a droplet resizing issue. I was using a pre_get_posts action and hadn’t properly checked to ensure I wasn’t on the admin.

Hello @jimmyjohnson186

This might be a weird issue with the current theme in use. Try changing the theme temporarily and check if the posts are still not loading and then switch to the main theme.

Also if you’ve done recent plugin, and theme updates check if such an issue is not already reported.

Regards

Hi @jimmyjohnson186,

That’s really weird. Resizing the Droplet shouldn’t influence your Application in any way.

So, if you see your posts and pages in your admin area, then you know they are available and you have a connection to the database. Also, the information in the database is not corrupted so that’s great as well.

Usually, when you have such issues it’s due to some plugins causing issues, however unlikely you can try to disable them and see if that works. Additionally, check your theme and see if the option to show pages/posts is disalbed.