riasvdv/statamic-redirect

Cannot read properties of undefined (reading 'map') when editing a redirect

Opened this issue · 2 comments

We're having issues with redirects not being applied - whilst trying to diagnose this I went to the edit page, for example context, I mean the pages under /cp/redirect/redirects/*.

This page is completely blank with the following error in the console log:

vendor.js?v=3.4.14:1 TypeError: Cannot read properties of undefined (reading 'map') at a.enableSidebar (cp.js?v=3.6.2:1:7682) at fn.get (vendor.js?v=3.4.14:1:1201438) at fn.evaluate (vendor.js?v=3.4.14:1:1202588) at a.enableSidebar (vendor.js?v=3.4.14:1:1203353) at a.shouldShowSidebar (cp.js?v=3.6.2:1:7780) at fn.get (vendor.js?v=3.4.14:1:1201438) at fn.evaluate (vendor.js?v=3.4.14:1:1202588) at a.shouldShowSidebar (vendor.js?v=3.4.14:1:1203353) at a.<anonymous> (cp.js?v=3.6.2:1:10655) at e._render (vendor.js?v=3.4.14:1:1209450)

Statamic is 3.4.14
Redirect is 3.6.2

Getting this too... shouldn't have upgraded

I can't seem to reproduce this, can you publish the assets again and see if that fixes it?