-2

I have error 500 when commenting posts. No logged errors on my nginx and php logs. How to find reason of error 500 on wp-comments-posting.php file?

Thank for all your advices, regards.

Denny
  • 17
  • 4
  • 1
    Possible duplicate of [How do I get PHP errors to display?](https://stackoverflow.com/questions/1053424/how-do-i-get-php-errors-to-display) – catcon Sep 11 '19 at 00:14
  • 2
    Start here: [Debugging in WordPress](https://wordpress.org/support/article/debugging-in-wordpress/). – cabrerahector Sep 11 '19 at 00:15

2 Answers2

0

In this case I would suggest to turn the php display errors and also edit the 'wp-config.php' and enable the 'define( 'WP_DEBUG', true );' instead of been set to 'false' which will display the reason for the '500' which might be coming from a plugin or something else that needs to be looked in. We will be awaiting your next update on what has been displayed after you have enabled the error/debugging .

0

try to disable your plugin or theme first, and if you still see error notice, try to enable debug as suggested by the previous answer

hendarmsa
  • 1
  • 3