I am trying to make an ajax call to my php backend server file. However the call returns an undefined object and goes to error function without indicating why. I am unable t