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.

alexdo
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.

Regards

KFSys
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.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel