Question

Consistent Error 500 Issues

Posted January 11, 2020 147 views
WordPress

I have installed Plesk and paid for the upgrade.
I have installed various domains and installed Wordpress on several of these and until now not had any issues.
Today I installed a new domain. I installed Wordpress in Plesk. It said it was successful but then had Error 500 several times. I have been able to log in to Wordpress but it is dropping out every few actions and then having Error 500 again.
I can’t find the reason and not sure how to fix it.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi @getcreative,

You’ll need to check your error_log. The reasons behind 500 errors can be various from a syntanx error to something faulty with your code. You can look for these errors at the following place:

The following error can be found in the domain error log file /var/www/vhosts/example.com/logs/error_log

If there isn’t anything of use in that errorlog, you’ll need to create a PHP errorlog for your domain.

To do so, create a php.ini if you already don’t have one in your website’s document root and add the following line to it

error_log = /path/to/your/webroot/php_error.log

error_log is the PHP function that will tell the web server to output your logs to a new file.

/path/to/your/webroot/php_error.log is the path to your new log.

Make sure to replace /path/to/your/webroot with the actual path your domain uses.

Regards,
KDSys

Submit an Answer