Easy Appointments conflict: Uncaught TypeError: response.responseJSON is undefined
Yes! Unfortunately the same problem “Uncaught TypeError: response.responseJSON is undefined” after pressing Submit…;-(
Sorry, my bad! i was enabled wordpress debug (as site was in development process)! Switching off debugging fixed issue!
But anyway – to find the reason I was need to show in console json error response by adding “console.log(response);” for file “/wp-content/plugins/easy-appointments/js/frontend-bootstrap.js” line 968″ to figure out the problem! And in console I saw response “responseText: “\nNotice: Undefined index: captcha in //wp-content/plugins/easy-appointments/src/ajax.php on line 1130\n\nWarning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/easy-appointments/src/ajax.php:1130) in /wp-content/plugins/easy-appointments/src/ajax.php on line 1064\n{\”id\”:\”26\”}””!
So, please check @your side if this can be fixed! BTW – after seeing error and adding reCaptcha Key and Secret fixed the issue with debugging on!
🙂
Please login or Register to submit your answer