Calendar fails to load. Internal error (console: plugin is not defined).

SupportCalendar fails to load. Internal error (console: plugin is not defined).
peepk Staff asked 4 years ago
Hi We've used this plugin for many good years now, however there is now an error I can't seem to solve. After selecting location, service and worker, the calendar won't load the slots. The loader stays on until an "Internal error" notification comes up. See the error and console details:   The site is at: https://opti.ee/registreeru-silmakontrolli/ Can you please advise what might be the cause?
3 Answers
Nikola Loncar Staff answered 4 years ago
Hi, sorry for waiting. I have checked the link and it working fine so I guess that you have solved the issue :) Best regareds, Nikola
peepk Staff answered 4 years ago
Hi again. Actually no, it\'s not working on 90% of the cases. You can check here: https://opti.ee/en/sign-up-for-a-vision-test/ --> select Location: Viljandi, Haigla kpl. (first option)Service: Optometrist (only option)Worker: Optometrist, Viljandi (only option)
Nikola Loncar Staff answered 4 years ago
Hi, please check duration for that service. Also slot time. Both values must not be 0 Best regards, Nikola
peepk Staff replied 4 years ago

Thank you very much for pointing this out! Client had services with “duration: 0”. Finally solved. Thanks again.

Nikola Loncar Staff replied 4 years ago

you’re welcome 🙂