Open your wp-config.php and add this line:
define('WP_MEMORY_LIMIT', '256M');
This should fix 500 error once and for all. However, If you still getting the error then you must go to cpanel and make sure PHP VERSION 5.6 is selected if not select it. 5.6 and 7.x version are a huge deal they take less cpu usage and handle errors very well; as a result a very fast loading time.
If you are on a dedicated server and the above didn’t work out you might want to reset files/folders permissions recursively:
#find . -type d -exec chmod 775 {} \;
For all directories
#find . -type f -exec chmod 644 {} \;
For all files
-
This reply was modified 7 years, 2 months ago by mcfreder.