Unexpected Application Error!

Cannot read properties of null (reading 'length')

TypeError: Cannot read properties of null (reading 'length')
    at loadItem (/c/aalam/ecomm/0.1.63/resources/pub-v2/dist_ssr/main-ssr.js:30645:20)
    at async callLoaderOrAction (/c/aalam/ecomm/0.1.63/resources/pub-v2/dist_ssr/main-ssr.js:18189:20)
    at async Promise.all (index 0)
    at async loadRouteData (/c/aalam/ecomm/0.1.63/resources/pub-v2/dist_ssr/main-ssr.js:18068:19)
    at async queryImpl (/c/aalam/ecomm/0.1.63/resources/pub-v2/dist_ssr/main-ssr.js:17931:20)
    at async query (/c/aalam/ecomm/0.1.63/resources/pub-v2/dist_ssr/main-ssr.js:17865:18)
    at async render (/c/aalam/ecomm/0.1.63/resources/pub-v2/dist_ssr/main-ssr.js:27205:17)

💿 Hey developer 👋

You can provide a way better UX than this when your app throws errors by providing your own ErrorBoundary or errorElement prop on your route.