No response from admin-ajax.php
-
I have a very weird situation happening. On a website I am developing I get the infamous “Red error” when I try to display a public calendar via Gutenberg block.
A first investigation has shown that the response from admin-ajax.php is the following:
{"error":"Request failed.","errorCode":0,"errorDescription":""}
The website is a fresh installation with very few plugins installed (Jetpack and Contact Forms 7). The issue happens also when every other plugin is disabled or removed.The tricky bit is that IT DOES NOT HAPPEN with an extremely similar website that I am also working on. Same version of the plugin, same API key, same public calendar, but different hosting provider. Indeed the POST request to admin-ajax.php seems to be exactly the same, while the response is different.
Do you have any suggestion or investigation I could help you with?
Thank you so much for your efforts!
EDIT: Another fundamental difference that I encountered is that on the site in which it DOESN’T WORK the request headers report HTTP2 protocol is in use, in the site in which it DOES instead HTTP1.1 is used.
- The topic ‘No response from admin-ajax.php’ is closed to new replies.