WordPress Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 77 bytes) in wp-includes/wp-db.php on line 1832

前端 未结 4 959
礼貌的吻别
礼貌的吻别 2021-01-15 05:19

I noticed recently on my WordPress website I\'m getting sometimes 500 Internal Server Error. I checked logs and I have many lines like:

[Mon Oct 03 01

4条回答
  •  不知归路
    2021-01-15 05:27

    I had the same issue with "wp-db.php on line 1832" and disabling iThemes Security plugin as was mentioned before worked well for me. However, if you still need to protect your site it's not the solution.

    What you need to do is to fix directory permissions of key areas such as wp-content, wp-includes etc...

    Go to iThemes Security settings -> File Permissions (Configure Settings) and check if all permissions are set properly. Once you fix permissions as they supposed to be, you won't see that error anymore.

提交回复
热议问题