Moderator
James Huff
(@macmanx)
Volunteer Moderator
Internal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.
If that does not resolve the issue, try switching to the Twenty Seventeen theme to rule-out a theme-specific issue. If you don’t have access to your admin panel, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.
If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your SFTP or FTP client to view invisible files.
If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message. Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that specific time period. If you don’t have access to your server error log, ask your hosting provider to look for you.
@veebimeister published last lines of the error_log
otherwise we do not have as realizing the problems
Now I tried to overwrite the wp-config file. The server doesn’t let me do that. It says that “Operation not permitted”.
How can I get the error_log?
P.S. I already tried theme and plugin resetting and I cleaned the htaccess file. No luck with that.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Don’t change the wp-config file, no one is suggesting that.
The location (and ways of accessing) the server error log vary depending on the hosting provider, so I recommend checking their documentation or contacting their support department for specifics on that.
Just a reminder, we’ll need the error log entry from the specific date/time you saw the internal server error (error 500) in your browser. Simply attempt to visit the site again to generate a new error log entry.
I have these error logs:
error.log
ssl-error.log
transfer.log
ssl-transfer.log
Which one do You need?
Hi,
I got this info from my hosting provider:
PHP Fatal error: Unknown: Failed opening required ‘/www/apache/domains/www.convertonline.ee/htdocs/indiast/wordfence-waf.php’
Faili ‘htdocs/.user.ini’ sisu on:
; Wordfence WAF
auto_prepend_file = ‘/www/apache/domains/www.convertonline.ee/htdocs/indiast/wordfence-waf.php’
; END Wordfence WAF
I understand that when I deleted the files from test server (convertonline.ee) then the Wordfence can not get the access to them anymore?
Do I have to change the wordfence-waf.php file?
@veebimeister it seems that you have not set well wordfence
The best thing you should ask them their advice
does not exist wordfence-waf.php on the server at least not in this directory /www/apache/domains/www.convertonline.ee/htdocs/indiast/
I don’t have the Wordfence plugin in this site.
Hi,
I deleted wordfence related lines from user.ini and I got the site back.
Moderator
James Huff
(@macmanx)
Volunteer Moderator