0

I'm getting a status code 500 error when submitting a form on my WordPress website and I was wondering where I can even begin to look into what is causing the error?

1 Answers1

1

You can on the debug mode with WP_DEBUG_LOG true. After your ajax request your error will be dumped on debug file inside uploads folder. Here is the sample on wp-config.php file.

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );

To know more on this please visit Debugging in WordPress

Note: Please be sure you are adding wp_die() after the complete ajax statement.

Thanks

Argus Duong
  • 2,356
  • 1
  • 13
  • 24
Sushil Adhikari
  • 764
  • 6
  • 12