I'm getting 500 errors with AJAX on the admin side. However, these errors aren't being logged in the Apache logs so they're rather hard to debug.

Is there some way I can find out what they are?


  • In WP, this maybe because you didn't install php5-curl library on your apache server. Try enable it and restart server. Thanks the help crue from nelson. – bard Aug 9 '14 at 13:18

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.

protected by fuxia Aug 9 '14 at 13:40

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.