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
Invalid type for path "contao.prepend_locale" #4161
Comments
This looks like a Symfony/YAML bug if they read |
|
We're only adding the parameter if it exists in the container (https://github.com/contao/contao/blob/5.x/manager-bundle/src/ContaoManager/Plugin.php#L262), so yeah maybe somehow Symfony does not load it anymore? |
Is there any update here or is it currently not possible to use "prepend_locale" without changing to the new routing_mode? |
@rorych just do the following: # config/config.yaml
contao:
prepend_locale: true Using |
I cannot confirm this. I have added |
Which one? |
I can still confirm the issue. Reproduction:
The following error will occur:
|
Ok, I can reproduce it now. Is there a way to fix this without changing |
Changing the node would not be correct - for some reason the parameter ( |
see #4437 |
btw.. same thing happens to config.yaml
.env.local
|
pretty sure thats fixed by #4437 as well, did you check that? |
If that is in 4.13.2 then I don't think it's fixed.. |
#4437 was not released yet. You have to test |
Ok, so I finally got the time to continue with my project, and it actually is still not working in Contao 4.13.4
Still the same config as mentioned in here |
@christianromeni that's a different error message, referencing a completely different config. Please seek help in the Contao community. |
@fritzmg Yes, because I disabled the setting for the composer update, so I could update to the latest version.. And check if it works..
|
Affected version(s)
4.13.0
Description
Our backwards compatibility to the old
%prepend_locale%
parameter does not seem to work anymore in newer Contao versions. i.e. if you havein your
config/parameters.yaml
, the following error will occur:The text was updated successfully, but these errors were encountered: