Getting this type error while trying to create a REM series (20 datetimes and tickets) on a new event. This happens in master and NEW/pagination-show-all-option branches.
Uncaught TypeError: Cannot read properties of undefined (reading 'length')
at DateCard.tsx:17:20
at updateMemo (react-dom.js?ver=18.2.0:17256:21)
at Object.useMemo (react-dom.js?ver=18.2.0:17896:18)
at useMemo (react.js?ver=18.2.0:1640:23)
at M (DateCard.tsx:15:28)
at renderWithHooks (react-dom.js?ver=18.2.0:16315:20)
at updateFunctionComponent (react-dom.js?ver=18.2.0:19598:22)
at beginWork (react-dom.js?ver=18.2.0:21611:18)
at HTMLUnknownElement.callCallback (react-dom.js?ver=18.2.0:4151:16)
at Object.invokeGuardedCallbackDev (react-dom.js?ver=18.2.0:4200:18)
The above error occurred in the component:
at M (https://localcafe.local/wp-content/plugins/barista/build/static/js/dates-card-view.350cf429.chunk.js:1:8849)
at div
at t.a (https://localcafe.local/wp-content/plugins/barista/build/static/js/uiComponents.5610751d.js?ver=5.0.13.rc.014:2:33424)
at t.default (https://localcafe.local/wp-content/plugins/barista/build/static/js/dates-card-view.350cf429.chunk.js:1:9379)
at Suspense
at $
at div
at u (https://localcafe.local/wp-content/plugins/barista/build/static/js/uiComponents.5610751d.js?ver=5.0.13.rc.014:2:115761)
at e.a (https://localcafe.local/wp-content/plugins/barista/build/static/js/eeComponents.75fc57b4.js?ver=5.0.13.rc.014:2:19341)
at Component (https://localcafe.local/wp-content/plugins/barista/build/static/js/eventEditor.9c067dc1.js?ver=5.0.13.rc.014:2:102929)
at h (https://localcafe.local/wp-content/plugins/barista/build/static/js/edtrServices.7c0c3f60.js?ver=5.0.13.rc.014:2:148735)
at s (https://localcafe.local/wp-content/plugins/barista/build/static/js/edtrServices.7c0c3f60.js?ver=5.0.13.rc.014:2:148364)
at b (https://localcafe.local/wp-content/plugins/barista/build/static/js/edtrServices.7c0c3f60.js?ver=5.0.13.rc.014:2:117890)
at zr (https://localcafe.local/wp-content/plugins/barista/build/static/js/eventEditor.9c067dc1.js?ver=5.0.13.rc.014:2:170243)
at b (https://localcafe.local/wp-content/plugins/barista/build/static/js/registry.1351a340.js?ver=5.0.13.rc.014:2:23636)
at r (https://localcafe.local/wp-content/plugins/barista/build/static/js/slotFill.97be1d57.js?ver=5.0.13.rc.014:2:2197)
at s (https://localcafe.local/wp-content/plugins/barista/build/static/js/services.76ed2472.js?ver=5.0.13.rc.014:2:57051)
at c (https://localcafe.local/wp-content/plugins/barista/build/static/js/services.76ed2472.js?ver=5.0.13.rc.014:2:25549)
at m (https://localcafe.local/wp-content/plugins/barista/build/static/js/services.76ed2472.js?ver=5.0.13.rc.014:2:26114)
at f (https://localcafe.local/wp-content/plugins/barista/build/static/js/services.76ed2472.js?ver=5.0.13.rc.014:2:56541)
at s (https://localcafe.local/wp-content/plugins/barista/build/static/js/services.76ed2472.js?ver=5.0.13.rc.014:2:57365)
at S
at b (https://localcafe.local/wp-content/plugins/barista/build/static/js/adapters.17f828e5.js?ver=5.0.13.rc.014:2:606981)
at w (https://localcafe.local/wp-content/plugins/barista/build/static/js/adapters.17f828e5.js?ver=5.0.13.rc.014:2:418928)
at b (https://localcafe.local/wp-content/plugins/barista/build/static/js/adapters.17f828e5.js?ver=5.0.13.rc.014:2:334636)
at p (https://localcafe.local/wp-content/plugins/barista/build/static/js/adapters.17f828e5.js?ver=5.0.13.rc.014:2:643099)
at https://localcafe.local/wp-content/plugins/barista/build/static/js/adapters.17f828e5.js?ver=5.0.13.rc.014:2:678770
at O (https://localcafe.local/wp-content/plugins/barista/build/static/js/adapters.17f828e5.js?ver=5.0.13.rc.014:2:276600)
at k (https://localcafe.local/wp-content/plugins/barista/build/static/js/adapters.17f828e5.js?ver=5.0.13.rc.014:2:277518)
at f (https://localcafe.local/wp-content/plugins/barista/build/static/js/edtrServices.7c0c3f60.js?ver=5.0.13.rc.014:2:117304)
at a (https://localcafe.local/wp-content/plugins/barista/build/static/js/data.451bfa71.js?ver=5.0.13.rc.014:2:186002)
at u (https://localcafe.local/wp-content/plugins/barista/build/static/js/data.451bfa71.js?ver=5.0.13.rc.014:2:186413)
at l (https://localcafe.local/wp-content/plugins/barista/build/static/js/edtrServices.7c0c3f60.js?ver=5.0.13.rc.014:2:117657)
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')
at DateCard.tsx:17:20
at updateMemo (react-dom.js?ver=18.2.0:17256:21)
at Object.useMemo (react-dom.js?ver=18.2.0:17896:18)
at useMemo (react.js?ver=18.2.0:1640:23)
at M (DateCard.tsx:15:28)
at renderWithHooks (react-dom.js?ver=18.2.0:16315:20)
at updateFunctionComponent (react-dom.js?ver=18.2.0:19598:22)
at beginWork (react-dom.js?ver=18.2.0:21611:18)
at beginWork$1 (react-dom.js?ver=18.2.0:27436:16)
at performUnitOfWork (react-dom.js?ver=18.2.0:26567:14)
Getting this type error while trying to create a REM series (20 datetimes and tickets) on a new event. This happens in
master
andNEW/pagination-show-all-option
branches.The above error occurred in the component:
Consider adding an error boundary to your tree to customize error handling behavior. Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.