Closed rikwillems closed 3 years ago
One addition, if I downgrade to 1.0.38 or even 1.0.31 I'm getting the same issue. Maybe a project thing as I didn't have it before and now that I think of it another project doesn't have the issue.
Ok found it. I removed the id_prefix
from the cache configuration in env.php
and this causes the error. If the value is not there Magento calculates it from the full directory path so for local I didn't want it in there.
Thanks for the issue! The script uses the same algorithm as Magento to calculate the id prefix if it isn't configured. Did you set the id prefix to an empty string in the configuration or did you remove the setting completely?
I removed the setting completely. After I added it back the problem was gone.
Maybe good to add I don't use Redis locally so this was the only configuration key. I get the remaining array. Removing the entire cache
array solves the issue too.
'cache' => [
'frontend' => [
'default' => [
'id_prefix' => '2de_'
],
'page_cache' => [
'id_prefix' => '2de_'
]
],
'allow_parallel_generation' => false
],
Then changed it to this, which gave errors.
'cache' => [
'frontend' => [
'default' => [
],
'page_cache' => [
]
],
'allow_parallel_generation' => false
],
I am trying to reproduce the error by removing the id prefix from the env.php configuration but everything still works as expected.
Could you please post a copy of your require('app/etc/env.php')['cache']['frontend']
configuration (with passwords changed :))?
EDIT: you already did while I was writing this :D
Thanks, that helps - I am able to reproduce the issue now.
Just pushed release 1.0.40 which fixes the error. Thanks for reporting!
Fix confirmed, thanks for your quick actions! 👍
When I press
v
button or make a change in a layout xml file I'm getting the error below. No clue as to what it means so I'm posting it here.