bolt / core

🧿 Bolt 5 core
https://boltcms.io
MIT License
550 stars 161 forks source link

Notice: Undefined index: root after Update #2672

Open develth opened 3 years ago

develth commented 3 years ago

Hello,

the Error above is thrown after changes in the e.g. contenttypes.yaml

Details

Question Answer
Relevant Bolt Version 4.1.22
Install type composer
BC Break no
PHP version 7.4
Web server Nginx:latest
For UX/UI issues FF 90.0b12

Reproduction

Change something in contenttypes.yaml

Bug summary

Just updated from Bolt 4.1.8 to 4.1.22. As soon as i change something in the Config-Files or Backend like search / filter for something, i get the following error:

Bildschirmfoto 2021-07-05 um 11 43 10

Most of the time, a clear cache resolves it, but sometimes not. Last time it logged me out after a time, as soon as i wanted to login the error was thrown again and i can´t login and the error was shown, again. After two to three reloads i just worked again.

Specifics

Tested in local dev env with docker compose

bobdenotter commented 3 years ago

Looking at that trace, after it leaves Kernel, it's only inside Symfony's code, and finally in Composer. Not sure what causes this yet, and i've also never seen this myself.

Does it happen if you change anything in contenttypes.yaml, or something specific? Also for other yaml files?