• Resolved shecky

    (@shecky)


    Hi!

    I have a problem in my site, because there is a javascript error in booking form.
    The error is:

    jquery.dop.frontend.BSPCalendar.js:2711 Uncaught TypeError: Cannot read property 'status' of undefined
        at Object.getAvailability (jquery.dop.frontend.BSPCalendar.js:2711)
        at Object.set (jquery.dop.frontend.BSPCalendar.js:5288)
        at Object.set (jquery.dop.frontend.BSPCalendar.js:3653)
        at jquery.dop.frontend.BSPCalendar.js:3346

    Booking form is here: https://www.vivivenezia.org/booking-request/

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter shecky

    (@shecky)

    I fixed Frontend problem, but now i have a Backend problem…
    When I try to add a reservation on “/wp-admin/admin.php?page=dopbsp-reservations” after day click, when I click or select a finish hour javascript error compare:

    TypeError: default_schedule.hours[selectedHours[((selectedHours.length - hoursDiff) - 1)]] is undefined[Ulteriori informazioni]  jquery.dop.backend.BSPReservationsAdd.js:2419:1
    	getAvailability jquery.dop.backend.BSPReservationsAdd.js:2419:1
    	set jquery.dop.backend.BSPReservationsAdd.js:4533:29
    	set jquery.dop.backend.BSPReservationsAdd.js:3165:17
    	$.fn.DOPBSPReservationsAdd/selectMultiple/
    TypeError: default_schedule.hours[selectedHours[0]] is undefined[Ulteriori informazioni]  jquery.dop.backend.BSPReservationsAdd.js:2417:1
    	getAvailability jquery.dop.backend.BSPReservationsAdd.js:2417:1
    	set jquery.dop.backend.BSPReservationsAdd.js:4533:29
    	set jquery.dop.backend.BSPReservationsAdd.js:3165:17
    	$.fn.DOPBSPReservationsAdd/selectMultiple/

    so is impossible add a reservation from backend.

    Can you help me???

    Regards.

    • This reply was modified 7 years, 4 months ago by shecky.
    Plugin Author DOTonPAPER

    (@dotonpaper)

    Hello,

    An update that should fix this issue is coming later this week .

    Thank you for your patience.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JS error: book button don’t show’ is closed to new replies.