【发布时间】:2020-09-07 06:43:13
【问题描述】:
我已经被这个错误困扰了很长一段时间了。早些时候,我在 godaddy 上遇到了这个错误,并通过here 询问。现在我在托管共享主机上得到它。所以我将生产副本迁移到本地 wamp 服务器。我在本地副本中也遇到了同样的错误。
大多数人都认为这是服务器错误并指出以下更正:
-
检查服务器是否运行最新版本的 PHP 和 cURL 库。更新 Wordpress 和插件。
- The local copy is running PHP 7.4.6 and the curl library packaged with it. Wordpress, plugins are up to date. -
增加服务器内存限制
- I tried many different combinations of settings. The current settings are: memory_limit = 256M upload_max_size = 64M post_max_size = 64M upload_max_filesize = 64M max_execution_time = 300 max_input_time = 1000我尝试增加内存限制并发布最大大小,但并没有解决问题。
-
可能是 DNS 相关问题,切换到 OpenDNS
- 我在本地主机上得到它。
询问您的主机是否存在 wp-cron 的限制,或者是否禁用了环回。
- 询问您的主机是否存在可以阻止传出 cURL 请求的防火墙或安全模块(例如 mod_security )。
请建议我应该如何在 wamp 服务器上检查 4 和 5。在 php 设置方面我有什么遗漏吗?
错误来源 - http://jrventurefzellc.com/
感谢您的宝贵时间。
【问题讨论】: