php - Fatal error: Allowed memory size of ... bytes exhausted


I have this WordPress error on a site I am building locally.

Fatal error: Allowed memory size of 134217728 bytes exhausted

I tried to allocate 1702064827 bytes in C:\xampp\htdocs\zerotozenithmedia\wp-includes\functions.php on line 5231.




Increase PHP Memory Limit in WordPress. Add This Code Inwpconfig.php and your problem will be solved or you can increase the memory limit using thephp.ini.

define('WP_MEMORY_LIMIT', '256M');

People are also looking for solutions to the problem: sql - PHP MySQL Prepared Statement Doesn't Fetch from View


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.