Basically, when you are writing code in PHP Oops (object-oriented programming system).
Then, one possible reason for receiving an empty response from the PHP page can be "You did not create an object for the class".
You can check it by printing response in alert().
That's all, I found. If you have done it then keep on finding other mistakes like terminating properties (statements) by semicolon, etc.