Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SilverComet89 opened this issue Apr 12, 2024 · 2 comments

Comments

@SilverComet89
Copy link

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

@sebszocinski
Copy link

Getting this too... shouldn't have upgraded

@riasvdv
Copy link
Owner

riasvdv commented Sep 28, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants