No success message

Support forumCategory: BugsNo success message
niclas_ asked 5 years ago
Hi, I don't get a success message after booking. Chrome prints this error message: Uncaught TypeError: Cannot read property 'message' of undefined How can I fix that?
niclas_ replied 5 years ago

Full error message:

frontend-bootstrap.js?ver=4.9.8:849 Uncaught TypeError: Cannot read property ‘message’ of undefined
at Plugin. (frontend-bootstrap.js?ver=4.9.8:849)
at Object.d (jquery.js?ver=1.12.4:2)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as rejectWith] (jquery.js?ver=1.12.4:2)
at y (jquery.js?ver=1.12.4:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4:4)
(anonymous) @ frontend-bootstrap.js?ver=4.9.8:849
d @ jquery.js?ver=1.12.4:2
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
y @ jquery.js?ver=1.12.4:4
c @ jquery.js?ver=1.12.4:4
XMLHttpRequest.send (async)
send @ jquery.js?ver=1.12.4:4
ajax @ jquery.js?ver=1.12.4:4
n.(anonymous function) @ jquery.js?ver=1.12.4:4
finalComformation @ frontend-bootstrap.js?ver=4.9.8:827
(anonymous) @ frontend-bootstrap.js?ver=4.9.8:888
i @ jquery.js?ver=1.12.4:2
fireWith @ jquery.js?ver=1.12.4:2
y @ jquery.js?ver=1.12.4:4
c @ jquery.js?ver=1.12.4:4
XMLHttpRequest.send (async)
send @ jquery.js?ver=1.12.4:4
ajax @ jquery.js?ver=1.12.4:4
n.(anonymous function) @ jquery.js?ver=1.12.4:4
singleConformation @ frontend-bootstrap.js?ver=4.9.8:885
d @ jquery.js?ver=1.12.4:2
dispatch @ jquery.js?ver=1.12.4:3
r.handle @ jquery.js?ver=1.12.4:3

5 Answers
Nikola Loncar Staff answered 5 years ago
Hi, looks like error on backend side. Can you please check the error log file on your hosting? There must be some log records regarding that error. Best regards, Nikola
niclas_ answered 5 years ago

Hi, after clicking submit I get the following error in the error log file:

PHP Notice: Undefined index: ea_fields in /easy-appointments/src/fields/tablecolumns.php on line 91

I also scrolled through the log file and found some other errors that I couldn't reproduce: 10.11.2018 00:15:25 [client] PHP Notice: Undefined index: service in /easy-appointments/src/ajax.php on line 1001

Nikola Loncar Staff answered 5 years ago
Hi, can you please tell me what is the version of PHP that you are using on your hosting? Best regards, Nikola
niclas_ answered 5 years ago
Hi,  I am using PHP 7.2, but I also tried 5.6 and got the same error.
Nikola Loncar Staff replied 5 years ago

Hi, there must be something else going on. Can you please create a temp access account for me so I can check on the spot?

Best regards,
Nikola

niclas_ replied 5 years ago

I sent you an email.

niclas_ answered 5 years ago
Resolved: After deactivating the "BoldThemes Wordpress Importer" Plugin everything works like it should.