In most cases, this error is related to poor resources. The theme requires a minimum amount of available memory to PHP to work. This is 128 Mb, which is standard on most hosting packages nowadays. If your hosting plan provides only 64 Mb or even less, request for an upgrade.
If you manage to log in to WordPress dashboard and, you have installed and activated our theme, navigate to Theme Options > Help > System Info and, check the PHP configuration section. Lower on this tab, if the available memory is insufficient for running the theme, a message will be displayed in red color.
You can change the memory yourself if you can access the files of the installation. Log in via FTP account and locate the .htaccess file. Try adding this line:
php_value memory_limit 128M;
and save the file. Now, check your website to see if the memory has been upgraded.
Alternatively, if you have access to the physical files of the server (like if you are running the website on a local server), you can apply a change to the php.ini file.
- First, you need to find your php.ini . If you use Linux, you can simply run the command “php -i | grep Loaded Configuration File” to find it. If you have a server running under Microsoft Windows, you can find it in the PHP install directory.
- Edit php.ini and search for “memory_limit”; now change the value of it. If no “memory_limit” found, add the following line at the end of php.ini and Save the file.
memory_limit = 128M ; /* Change the 128M to your needs *
Now, restart Apache. Use follow command to restart apache：httpd restart
Note that, if you are planning to install additional plugins we recommend upgrading to 256 Mb of memory, for ensuring you (and the visitors of the website) will enjoy an uninterrupted experience throughout every stage of the development and forward.