Support forumCategory: QuestionsI get an undefined message when trying to submit an appointment.
Suzanne Bishop asked 3 months ago

Why do I get this message: I get an undefined message when trying to submit an appointment.

4 Answers
Nikola Loncar Staff answered 3 months ago

Hi Suzanne,

can you please share the link to customers page so I can check that on the spot.

Best regards,
Nikola

alexander_sacher answered 3 months ago

Same problem here. When pressing the send button for the appointment i receive an error message “undefined”. When i press the send button multiple times it eventually works and the appointment is booked as normal.

alexander_sacher replied 3 months ago

I have the “Connect” extension of your plugin installed as well, but deactivating it does still triggers the “undefined” error, so i think it is unlikely that it is the source of the error.

alexander_sacher replied 3 months ago

I would really appreciate a quick fix for this problem, because your plugin is near perfect otherwise…

alexander_sacher replied 3 months ago

Link to the page ist: “http://verbuchtnochmal.de/” . The password for the Site is: “Benutz…..”.
Thanks in advance for your help.

Nikola Loncar Staff replied 3 months ago

Hi Alexander, you need to have both plugins active. Reason for that is because Extension works on top of EA so that why you need both 🙂 I have try it now on site and it is working fine? I have not receive any error and I was able to book an event.

Best regards,
Nikola

alexander_sacher replied 3 months ago

They are both active. I just disabled the extension temporarily for troubleshooting. I still get the error with both of the plugins activated. But not all the time. If I press the send button repeatedly for the same appointment it eventually will work without an error.

alexander_sacher replied 3 months ago

Booking really worked. Got your appoinment and it synced to google calendar.

Nikola Loncar Staff replied 3 months ago

Do you have any caching plugin there on your site? Sometimes it can create problems because with each EA request there are nonce that can be wrong if it is too old because of caching.

Best regards,
Nikola

KimWilson67 answered 4 weeks ago

I\’m having the same problem but only on one person\’s services. It works fine for the other person\’s services.

jfusco answered 3 days ago

I ran into this issue as well after migrating a site using this plugin to Google Cloud. Discovered that this was failing due to the load balancers and pods in our environment.
In src/ajax.php

// check IP
if ($appointment['ip'] != $_SERVER['REMOTE_ADDR']) {
    $this->send_err_json_result('{"err":true}');
}

Removing this check from the plugin fixes the issue.
Hoping to see a solution to this in a future update.