Title: Console error
Last modified: October 27, 2020

---

# Console error

 *  Resolved [JessicaRodgers](https://wordpress.org/support/users/jessicarodgers/)
 * (@jessicarodgers)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/console-error-35/)
 * I’ve used a shortcode to embed the booking onto a test page and it is stuck at
   loading. I checked the console log and it is showing this error.
 * Uncaught (in promise) TypeError: Cannot read property ‘types’ of undefined
    at
   t.a (default-appointment.js?ver=2.8.2:1) at default-appointment.js?ver=2.8.2:
   1 at M (default-appointment.js?ver=2.8.2:1) at default-appointment.js?ver=2.8.2:
   1 at dispatch (default-appointment.js?ver=2.8.2:1) at default-appointment.js?
   ver=2.8.2:1 t.a @ default-appointment.js?ver=2.8.2:1 (anonymous) @ default-appointment.
   js?ver=2.8.2:1 M @ default-appointment.js?ver=2.8.2:1 (anonymous) @ default-appointment.
   js?ver=2.8.2:1 dispatch @ default-appointment.js?ver=2.8.2:1 (anonymous) @ default-
   appointment.js?ver=2.8.2:1
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconsole-error-35%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Start Booking Team](https://wordpress.org/support/users/startbooking/)
 * (@startbooking)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/console-error-35/#post-13586158)
 * Hi [@jessicarodgers](https://wordpress.org/support/users/jessicarodgers/), I 
   took a quick look at your page. There are a few errors in the console that are
   unrelated to our plugin. I was not able to see the error you provided above but
   I can see that you are using a plugin that combines and minifies javascript. 
   Can you try excluding default-appointment.js from that tool? Then we can look
   into it more. Please feel free to reach out to our chat support and we can walk
   you through troubleshooting and get this resolved for you.
 *  Thread Starter [JessicaRodgers](https://wordpress.org/support/users/jessicarodgers/)
 * (@jessicarodgers)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/console-error-35/#post-13586732)
 * I figured it out. I forgot to flush the cache for the minify and after doing 
   so it is working. Thank you so much for your reply, I do appreciate it. Have 
   a great day.
 *  Plugin Author [Start Booking Team](https://wordpress.org/support/users/startbooking/)
 * (@startbooking)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/console-error-35/#post-13586813)
 * [@jessicarodgers](https://wordpress.org/support/users/jessicarodgers/) glad you
   got it working. If you have any questions in the future, please do not hesitate
   to reach out to our live support. We are happy to help.

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

The topic ‘Console error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/calendar-booking_fcfcfc.svg)
 * [Scheduling Plugin - Online Booking for WordPress](https://wordpress.org/plugins/calendar-booking/)
 * [Support Threads](https://wordpress.org/support/plugin/calendar-booking/)
 * [Active Topics](https://wordpress.org/support/plugin/calendar-booking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calendar-booking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calendar-booking/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Start Booking Team](https://wordpress.org/support/users/startbooking/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/console-error-35/#post-13586813)
 * Status: resolved