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
Answer a question...

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.

Site Moderator
Site Moderator badge
October 2, 2022

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.


Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Site Moderator
Site Moderator badge
September 30, 2022

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.