My web site keeps giving me this error:
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 32 bytes) in /wwwroot/xxx/wp-includes/wp-db.php on line 1832
How Can I fix this problem?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
You need to increase the php-memory-limit you can find out how much you have now with
<?php phpinfo(); ?>
Edit php.ini .Search "memory_limit" in your php.ini, and change the value of it. If no "memory_limit" found, add the following line at the end of php.ini memory_limit = 128M ; /* Change the 128M to your needs */ Save file.
Edit : Or try in your wp-config.php, find or add the following line: define('WP_MEMORY_LIMIT', '64M');