If you face any malfunction using our theme or empty white page appear, first thing you should do is turn on debug on your website.
You can do that in default WordPress file wp-config.php, in the root folder of your WordPress installation.
- Edit file and locate line:
- Replace line with set of codes which define constants to turn on debug and display errors on your screen:
- Save file and upload back to server modified file.
- Open your website and look if some error message appears.
Some of the common general errors which you might see
1. Fatal error: Allowed memory size of X bytes exhausted…
Very common error message that inform you have not allowed enough memory on your server for website. According to Hosting Requirements you should have allocated at least 96MB, but according to data on your website may be required more memory. Error message says exact value of your allocated memory in bytes, you can use online tools to convert number in bytes to megabytes so you will know what is your current value.
Possible ways to increase memory limit on your server:
- increase memory limit in php.ini file on your server at line:
memory_limit = 128M
- try to increase memory limit in wp-config.php file, add lines of codes:
96MB is only minimal requirement to run theme, your site might require more memory so try higher value for memory.
- if server doesn’t allow you modify this value via code so the problem still persists, contact your hosting provider with request to increase memory limit for your website. No all hosting companies allow user amend these values
2. Parse error: syntax error, unexpected T_FUNCTION…
Make sure that your server parameters meets all the necessary requirements as described in Hosting Requirements.
In most of cases error appear because of old version of PHP installed on your server.
3. Call to undefined function mb_convert_encoding()
It looks like your PHP installation doesn’t have Multibyte String extension installed which we recommend also in our Hosting Requirements.
For more common WordPress errors read also artcile 14 Most Common WordPress Errors and How to Fix Them.