I've get an error like "Fatal error: Allowed memory size of 67108864 bytes exhausted ..." What should I do?
This is not a theme issue, it occurs when WordPress tries to access more memory then its allowed to by your Server PHP configuration or WordPress Settings.
Simply Increasing Memory will solve it straight away. If you are on a shared hosting, dedicated or VPS, just FTP access to your server will be enough. You can do the necessary changes by the follwing 4 methods:
- Open or create the .htaccess file in the root directory of your WordPress instalation and add the following code:
php_value upload_max_filesize 128M php_value post_max_size 128M php_value max_execution_time 300 php_value max_input_time 300
- Open or create the php.ini file in the root directory of your WordPress instalation and add the following code:
upload_max_filesize = 128M post_max_size = 128M max_execution_time = 300
- Open your wp-config.php file in the root directory of your WordPress instalation and add the following code:
- Contact your web hosting provider or the person that manage your server and ask to increase these limits for you.
Depending on your needs, the number of plugins that you use, server condition, how big is your site, you could use 32M, 96M, 128M, 256M, 512M, 1024M, 2048M, 4096M. Make sure your server configuration allow you to use that much dedicated memory.