Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
I am getting the above error after using a ajax function in javascript.
Can anyone help me how to fix this?