其他用户后端的主题相关 WSOD
在尝试了 WordPress wsods 的所有典型解决方案之后,我已经没有想法了。
我使用 all-in-one-wp-migration 将我的网站从 wordpress.com 迁移到自托管解决方案,看起来工作正常,直到一位同事想要使用后端并获得了 wsod。
在查看了修复 wsods 的所有建议和我自己的一些建议之后,即:
- 检查使用的每个插件
- 检查内存(980m 应该足够了?)
- 删除并恢复所有保存的帐户
- 清除数据库中旧的 wordpress.com 条目或已弃用的帐户urls
- 运行调试模式并且没有从 wsod 获取任何日志
我当然把我自己制作的主题作为问题。我检查了functions.php 文件以删除并清理所有功能不需要的自定义添加内容。我使用了一个主题检查插件来帮助我排除作为初学者带来的大部分问题,但看起来与后端完全无关。
尤其令人恼火的是,当我使用我的电脑时,它对我来说工作得很好,但当我的主题被激活时,任何其他设备,如智能手机、平板电脑或其他电脑似乎都无法进入该网站的 wp-admin 版本。
PS:虽然主题处于活动状态,但搜索新插件或更改设置等后端功能似乎无法正常工作,甚至对我来说也会导致 wsod。
After trying out all typical solutions for wordpress wsods, I am out of ideas.
I migrated my website from wordpress.com to a self-hosted solution using all-in-one-wp-migration, which looked to work fine, until a coworker wanted to use the backend and got wsod.
After going through all the suggestions for fixing wsods and a few of my own, namely:
- checking every single plugin used
- checking memory (980m should be enough?)
- deleting and reinstating all saved accounts
- scrubbing the database off of old wordpress.com entries or deprecated urls
- running debug mode and not getting any logs from the wsod
I of course landed on my self made theme as the issue. I went over the functions.php file to remove and clean up all custom additions that are not necessary for functionality. I used a theme check plugin to help me weed out most of the issues that come from being a beginner at this, but nothing looks to be related at all to backend.
Especially irritating is the part where it works fine for me while using my pc, but any other device, like smartphone, tablet or other pcs can't seem to get into the wp-admin version of the site while my theme is activated.
P.S.: while the theme is active, backend functionalities like searching for new plugins or changing settings seem to not work right or lead to wsod even for me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于遇到类似问题的任何人,在线指南给出的解决方案总是提到确保functions.php文件的末尾没有任何空白,但他们忽略了在任何地方都不能有任何空行整个文件,甚至在代码中。
For anyone running into a simillar issue, the solution given by online guides always mentions making sure the END of the functions.php file does not have any empty space there, but they neglect to mention that there can't be any empty line anywhere in the whole file, even within the code.