我一直在使用 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 關注
- 207 瀏覽
添加回答
舉報
0/150
提交
取消