• Resolved miltostsiakalos

    (@miltostsiakalos)


    Hi, There was a problem in 3.12.11 that was resolved with the next updates , but with latest update 3.12.13 the problem happens again. When using [ea_bootstrap] and selecting a day in the calendar the page stops responding and the calendar is stuck in the round clock icon, waiting to show the available slots.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Tim Bowen

    (@creativeslice)

    We’re running into this same issue which generated this error in the console:

    Uncaught TypeError: response.sort is not a function
    at Object.success (frontend-bootstrap.js:635:26)
    at c (jquery.min.js:2:25304)
    at Object.fireWith [as resolveWith] (jquery.min.js:2:26053)
    at l (jquery.min.js:2:77782)
    at XMLHttpRequest.<anonymous> (jquery.min.js:2:80265)

    Here is a temporary fix we added to functions.php until the plugin is fixed:

    function fix_easy_appointments_response() {
    if (isset($_POST['action']) && $_POST['action'] === 'ea_get_available_times') {
    add_filter('wp_send_json_success_data', function($data) {
    return isset($data['calendar_slots']) ? $data['calendar_slots'] : $data;
    });
    }
    }
    add_action('init', 'fix_easy_appointments_response');
    • This reply was modified 7 months, 3 weeks ago by Tim Bowen. Reason: added fix
    Plugin Support Akshay A

    (@akshaycode1)

    Hi, Thank you for reaching out to us. We are currently looking into this concern and will update you shortly.

    Tim Bowen

    (@creativeslice)

    @akshaycode1 any updates on a fix for this? Our function hack is working for some users but we are still getting quite a few complaints saying that the calendar gets stuck on the spinner and they are unable to choose a date. Please let me now if there is anything we can do to help.

    Plugin Support Akshay A

    (@akshaycode1)

    Hi,

    We have checked on our end but couldn’t find the issue. Could you please share a short video showing the steps you are taking and the issue occurring, so we can follow the same steps to reproduce it?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Appointments not working when using [ea_bootstrap]’ is closed to new replies.