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!
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!
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.
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.
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.