WAIT: Flatpickr previousElementSibling Error in Console

Browser: Chrome 110
OS: macOS / Windows
URL: (Checkout - 2 - Verify And Pay | The Scan Clinic) - this is a page which is part of a checkout process but you can still visit this page and see the error in the developer console.

I have a Bricks form on this page and keep getting the following error in the console:

TypeError: Cannot read properties of undefined (reading 'previousElementSibling')
    at t.onReady (bricks.min.js?ver=1692229200:1:38443)
    at De (flatpickr.min.js?ver=4.5.2:2:35446)
    at flatpickr.min.js?ver=4.5.2:2:49325
    at k (flatpickr.min.js?ver=4.5.2:2:49339)
    at T (flatpickr.min.js?ver=4.5.2:2:49626)
    at I (flatpickr.min.js?ver=4.5.2:2:50075)
    at bricks.min.js?ver=1692229200:1:38583
    at Array.forEach (<anonymous>)
    at e.eachElement [as _customEachElement] (bricks.min.js?ver=1692229200:1:38300)
    at e.value (bricks.min.js?ver=1692229200:1:7493)

Screenshot attached - I can’t seem to figure out what may be causing this error - Bricks is up to date on latest version and this error shows as soon as the page loads…any insights or advice is greatly appreciated.

Hi @atifriaz,

Thank you for your report. Were you able to find the culprit here? as I’m unable to find that error when visiting the URL:

Best regards,
Charaf

This page has been published so you can click on this link:

https://thescanclinic.co.uk/checkout-multistep/

I have tried this on my mac and my windows desktop on Chrome and edge and still see the error - even when there are no items in my basket

This page is not live as part of the checkout process due to this error - but you can add items to the basket and navigate back to this page and it will work…

Hi @atifriaz,

I’m seeing different errors from flatpickr which is what we use for the date picker. Since your setup is a bit more complex it’s hard to tell what could be causing the error from just the error message. Can you please share temporary admin access to help@bricksbuilder.io with a link to this thread so I can take a better look?

Thank you.

Best regards,
Charaf