Memory exhausted in functions.php when add media
-
I am creating and testing WP site on localhost (WP2.9.1, SlidingDoor theme) and fatal error appears whenever I add/upload media/files. Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 261900 bytes) in C:\xampp\htdocs\wordpress\wp-includes\functions.php on line 1953.
I tried every suggestion in the forum to increase memory limit (ie. php.ini, .htaccess, wp-settings.php, wp-config.php, image.php…). I even inflated the values to 1000M in couple of the .php files. Tried deactivating plugins. Also tried different media (1kb jpegs, 20kb pdfs…) and the problem still exists.
Any ideas and suggestions would be greatly appreciated. My WP site provides a lot of pdfs for visitors to download, so especially important to solve this. Is there any way to bypass this problem? Thanks in advance.
- The topic ‘Memory exhausted in functions.php when add media’ is closed to new replies.