core icon indicating copy to clipboard operation
core copied to clipboard

Notice: Undefined index: root after Update

Open develth opened this issue 3 years ago • 1 comments

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

develth avatar Jul 05 '21 09:07 develth

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?

bobdenotter avatar Jul 08 '21 04:07 bobdenotter