英文:
WordPress images disappeared sudenly from Media Library
问题
今天早上,WordPress上的所有图片都消失了。媒体库是空的,网站上的图片都无法打开。
你有什么想法是怎么回事?
图片还在服务器上,我进行了双重检查。但是WordPress找不到它们。
英文:
This morning, all images from WordPress were gone. The media library is empty and none of the images were opening on the website.
Any idea what this can be?
The images are on the server. I double-checked. But they can’t be found by WordPress.
答案1
得分: 1
显然,我的MySQL数据库出现了损坏。我通过cPanel修复了它,一切立即恢复正常。修复问题只花了5秒钟,但是花了2个小时来确定问题所在。
英文:
Apparently, my MySQL database was corrupted. I fixed it through cPanel and everything went back to normal right away. It took 5 seconds to fix the problem, but 2 hours to identify the problem.
答案2
得分: 0
可能是由于不兼容的插件、主题或不正确的文件权限导致的。根据有限的信息无法确定。
在出现这个问题之前,您是否更新了WordPress或其他插件?
如果是这样,我建议您尝试建议的故障排除方法。
如果问题是在主题或插件更新后引起的,您可以尝试回滚并检查问题是否仍然存在。有时,插件和主题作者发布更新可能需要一些时间。
我还找到了这个类似的主题,可能对您有帮助。
英文:
It could be due to an incompatible plugin, theme or improper file permissions. Can't tell with limited information.
Did you update WordPress or any other plugin BEFORE this problem?
If so, I would advice you to try suggested troubleshooting
If the problem was caused after a theme or plugin update, you could try to do a rollback and check if issue persists. Sometimes, it can take some time for plugin and theme authors to release an update.
I also found this similar topic which could help you.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论