Hi Andrea,
Thank for clarifying my questions.
A. Good!
B. Then we should think about other causes at first.
C. I know. But your server returns “500 Internal Server Error“. You can open a developer tool and investigate network tab on Chrome like this:
This is typically caused by PHP error, insufficient memory, illegal .htaccess and so on.
D. OK, thanks.
E. Thanks.
F. Well, normally, the error_log is placed outside your document root (= outside your WordPress root).
OK, let me propose how to investigate the cause of this issue.
1. Assume that some plugin caused this issue (of course including mine). In this case, you can rename /wp-content/plugin
to /wp-content/plugin.bak
. Then you can login and find all the plugins are deactivated like this:
Then you can activate each plugin one by one.
2. Assume that something PHP files in WordPress directory were broken. In this case, PHP error would cause “500 Internal Server Error”. You can get WordPress debug log in your /wp-content/debug.log
if you put the following snippet in your wp-config.php.
define('WP_DEBUG', true);
// https://codex.www.ads-software.com/Debugging_in_WordPress
if ( WP_DEBUG ) {
define( 'WP_DEBUG_LOG', true ); // output log into wp-content/debug.log
define( 'WP_DEBUG_DISPLAY', false ); // not output to display
@ini_set( 'display_errors', 0 ); // not output to browser
}
Could you check it?
3. There are some articles like “How to Fix the 500 Internal Server Error on Your WordPress Website“, I think the best way is to ask your ISP to help by accessing error logs that may contain more clues. For example, the administrator should be able to find out what was happened in the server. This may be the only way to solve some intermittent errors.
I’m sorry about your inconvenience, but I’d appreciate if you try 1. and 2.
Thanks.