我一直在使用 woocommerce 创建一个 wordpress 网站并且运行良好,但是当您在 woocommerce > 桌面的 wordpress 面板中输入时,为了查看您的销售、排行榜等,加载时间很长并且网站出现 503 错误, 3分钟无法访问网站。这可能发生在整个 woocommerce 插件中,但在本节中是此问题发生最多的地方。服务器使用所有 512 Mb 和所有 I/O 即 1 Mb。在 Cpanel> Metrics> CPU and Concurrent Connection Usage> Snapshot 中,表格显示了两个 CMD / usr / sbin / httpd -k 以每个 225 MB 的 ram 开始。我一直在重新安装 woocomerce 插件,我增加了 php 内存和 wordpress 内存但不起作用。有人遇到过这个问题吗?感谢您的支持。编辑 1我在 wp-content 中的调试日志是:[12-Jun-2020 22:49:54 UTC] PHP Notice: Undefined index: items in /home/vmgcwv3crvl0/public_html/(mydomain)/wp-includes/rest-api.php on line 1251[12-Jun-2020 22:49:54 UTC] PHP Notice: Trying to access array offset on value of type null in /home/vmgcwv3crvl0/public_html/(mydomain)/wp-includes/rest-api.php on line 1226[12-Jun-2020 22:49:54 UTC] PHP Notice: Trying to access array offset on value of type null in /home/vmgcwv3crvl0/public_html/(mydomain)/wp-includes/rest-api.php on line 1240[12-Jun-2020 22:49:54 UTC] PHP Notice: Trying to access array offset on value of type null in /home/vmgcwv3crvl0/public_html/(mydomain)/wp-includes/rest-api.php on line 1258[12-Jun-2020 22:49:54 UTC] PHP Notice: Trying to access array offset on value of type null in /home/vmgcwv3crvl0/public_html/(mydomain)/wp-includes/rest-api.php on line 1298[12-Jun-2020 22:49:54 UTC] PHP Notice: Trying to access array offset on value of type null in /home/vmgcwv3crvl0/public_html/(mydomain)/wp-includes/rest-api.php on line 1314[12-Jun-2020 22:49:54 UTC] PHP Notice: Trying to access array offset on value of type null in /home/vmgcwv3crvl0/public_html/(mydomain)/wp-includes/rest-api.php on line 1319[12-Jun-2020 22:49:54 UTC] PHP Notice: Trying to access array offset on value of type null in /home/vmgcwv3crvl0/public_html/(mydomain)/wp-includes/rest-api.php on line 1324
1 回答
catspeake
TA贡献1111条经验 获得超0个赞
尝试更改主题使其成为默认主题,看看是否有效并添加 define( 'WP_DEBUG', true ); 并定义('WP_DEBUG_LOG',真);到“wp-config.php”文件。这将在 wp-content 文件夹中创建一个“debug.log”文件。我希望能帮到你
- 1 回答
- 0 关注
- 180 浏览
添加回答
举报
0/150
提交
取消