Calendar is not loading

If you encounter the message "Calendar is loading" instead of seeing the calendar on your page, and you notice one of the following JavaScript errors or warnings in your browser console:

Uncaught ReferenceError: visible_booking_id_on_page is not defined

or
Uncaught ReferenceError: _wpbc is not defined

or
jquery.min.js?ver=3.7.1:2 jQuery.Deferred exception: moveOptionalElementsToGarbage is not defined ReferenceError: moveOptionalElementsToGarbage is not defined
jquery.min.js?ver=3.7.1:2 jQuery.Deferred exception: _wpbc is not defined ReferenceError: _wpbc is not defined
jquery.min.js?ver=3.7.1:2 jQuery.Deferred exception: visible_booking_id_on_page is not defined ReferenceError: visible_booking_id_on_page is not defined
jquery.min.js?ver=3.7.1:2 Uncaught ReferenceError: moveOptionalElementsToGarbage is not defined
jquery.min.js?ver=3.7.1:2 Uncaught ReferenceError: _wpbc is not defined
jquery.min.js?ver=3.7.1:2 Uncaught ReferenceError: visible_booking_id_on_page is not defined

Please follow these steps to resolve the issue:

  1. Update Your Booking Calendar to version 10.1.3 or newer
    Ensure you have updated your Booking Calendar to version 10.1.3 or newer. This update addresses cache plugin issues.

    Important! After updating, clear all minimized CSS and JavaScript files and cached pages or posts.

    If you have a paid version, you can request the latest update on this page.

  2. For Booking Calendar Versions 10.1.2 or Older
    1. Open the WP Booking Calendar > Settings General page in the "Advanced" section and ensure that the option "Load JS and CSS files only on specific pages" is not activated. It must be disabled.
    2. Check for any cache plugins such as "Jetpack Boost", "WP Super Cache", "WP Fastest Cache", "W3 Total Cache", or other cache plugins. If you are using any of these plugins, please deactivate the cache plugins or add exceptions to the page(s) with a booking form to prevent caching of these pages.

      If you are using the Jetpack Boost plugin, please follow this troubleshooting instruction.
      If you are using another cache plugin, contact the support of your cache plugin for instructions on how to add exceptions to the pages with booking forms to avoid caching these pages and prevent concatenation of JavaScript files by the Booking Calendar.

    3. If the issue persists, it may be due to a conflict with another plugin or your current theme. Deactivate each of your active plugins one by one at the WordPress > Plugins menu and test the calendar after each deactivation. If deactivating plugins does not resolve the issue, deactivate all plugins and activate the default WordPress theme. Then, test the calendar again to identify the cause of the issue.