0

calling admin-ajax.php via jquery ajax calls were failing from my site but postman calls to the same url were successfull.

After some looking at headers it seems that the referer being set is the difference that calls the failure (500).

What would possibly cause admin-ajax.php to care about whether or not a referer is being sent and fail if it is?

The error logs just say that memory is running out but why would the referer header change how much memory is being used?

3
  • at this stage literally just trying to echo the request back is failing (if referer is set)
    – lathomas64
    May 15, 2022 at 17:02
  • 1
    Sharing your code will help greatly in understanding the issue. May 16, 2022 at 6:22
  • 1
    Have you tried debugging by deactivating themes and plugins and seeing if the error persists? May 17, 2022 at 9:24

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.