When you are facing a “500 Internal Server Error”, the following methods are often the solution!
Table of Content
Method 1 : Increase Server PHP Resources
Insert the custom PHP code below into your WordPress installation “wp-config.php” file on your server or contact your hosting provider for further assistance.
ini_set('memory_limit', '256M');
ini_set('upload_max_filesize', '256M');
ini_set('post_max_size', '256M');
ini_set('file_uploads', 'On');
ini_set('max_execution_time', '300');
Method 2 : Conflict with third party plugins and/or a theme
500 Internal Server Error when importing templates