Cannot read properties of undefined (reading 'reduce')

System Information
  • Strapi Version: 4.20.5
  • Operating System: MacOS
  • Database: 1 GB RAM / 1vCPU / 10 GB Disk / PostgreSQL 16
  • Node Version: v20.11.1
  • NPM Version: 10.2.4
  • Yarn Version: 1.22.19

I’m fairly new, but this feels off. I have a single type called About, and that works. Now I just added a second single type called Intro, and when trying to edit it, the panel went white. The console shows me Uncaught TypeError: Cannot read properties of undefined (reading 'reduce').

Not really sure, but I think it has something to do with missing env variables. It’s just weird that only the second single type doesn’t work… I’ll report back :saluting_face:

Maybe it has something to do with an existing DB I used… Who knows, the Error simply persists, but slightly different after another reinstallation. The debug experience is just the best…

I looked closer to the env variables, switched some back and forth and it seems to work now. Hopefully this fixed it :crossed_fingers: