WordPress 致命错误允许内存plugin.php
好吧,也许尝试激活六个左右的插件是一个错误。但现在我被困住了,当我尝试进入我的 WP-Admin 页面时,我看到的就是这些。我不再熟悉 WordPress,不知道这是什么,为什么会这样,以及如何修复它。任何帮助将不胜感激。
致命错误:允许的内存大小 33554432 字节已耗尽(尝试 分配30720字节) /home/monkey/public_html/sites/mysiteurl.com/wp-admin/includes/plugin.php 在第883行
Ok, maybe it was a mistake trying to activate a half a dozen or so plugins. But now I am stuck this is all I see when I try to go to my WP-Admin page. I am not versed well enough with Wordpress anymore and have no idea what this is, why this is, and how I can go about fixing it. Any help would be greatly appreciated.
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 30720 bytes) in
/home/monkey/public_html/sites/mysiteurl.com/wp-admin/includes/plugin.php
on line 883
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
要将 WordPress 内存增加到 64MB,请将以下内容添加到 wp-config.php:
来自官方 WordPress 文档< /a> 关于增加内存限制:
...
如果您不断添加插件,最终可能会耗尽内存。在你的例子中,33554432 字节正好是 32MB,是上面预期的四倍。但您的虚拟主机可能仍然允许您增加。如果没有,可能是时候移动网络主机了。祝你好运。
To increase WordPress memory to 64MB add the following to wp-config.php:
From official WordPress documentation on increasing memory limit:
...
You'd expect to run out of memory eventually if you keep adding plugins. In your case, 33554432 bytes is exactly 32MB, which is four times as generous as expected above. But your web host may still allow you to increase. If not, it might be time to move web hosts. Good luck.
停用所有插件并一一激活以查找有问题的插件。
这就是我要做的。
Deactivate all plugins and activate one by one to find the problematic plugin.
Here is what I would do.