Common errors found in error logs

The following are common errors found in error logs:

Allowed Memory Size Exhausted

PHP: Fatal Error: Allowed Memory Size of [some number] Bytes Exhausted

This happens when your code try to use more memory than the PHP memory limit.
You can adjust the memory limit in your site settings in the Servebolt Control panel.

Input variables exceeded 1000

PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini

Solution: edit your .htaccess file and add the following line:

php_value max_input_vars 2000 

Give us your feedback on this article