Why is a 500 error generated by admin-ajax.php not going into the Apache error log?

Sometimes I have a 500 error ( from NGinx ) just because I have a “character” getting outputted before the first header gets written ( or in-between ).

Activate WP_DEBUG = true and see what happens. 99% of the case I could spot the error from there. ( and it was nearly all the time the above error ).

Post back if that doesn’t solve your debug difficulty problem. We’ll have a look at your apache config by then.

Leave a Comment