I am getting a 500 error in only post listing page. I checked code in admin and found this hook creating a problem:


When I remove this hook, page works fine.

How can I solve 500 error without removing hook?

  • 2
    Enable WP error logging and show us yourwp-content/debug.log. – ville6000 Nov 30 '15 at 10:59
  • Errors 500 indicate that something went very wrong, but give none indication of specifics. You would need to get to a real error, likely buried somewhere in server logs, first. – Rarst Nov 30 '15 at 18:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.