You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to make the configuration of manage_locales configurable by ENV but it's not working as the resolution of env vars is not done at compile time. See symfony/symfony#33358
I got the following error in LexikTranslationExtension: Fatal error: Uncaught TypeError: sort(): Argument #1 ($array) must be of type array, string given in X:\workspace-novento\novento-vip-lounge\vendor\lexik\translation-bundle\DependencyInjection\LexikTranslationExtension.php:45 Stack trace: #0 X:\workspace-novento\novento-vip-lounge\vendor\lexik\translation-bundle\DependencyInjection\LexikTranslationExtension.php(45): sort('env_60da4350975...')
Because managed_locales is env_60da435097537916_json_resolve_ACTIVE_LANGUAGES_8287d553308fc5cd29...
The text was updated successfully, but these errors were encountered:
Hello,
I was trying to make the configuration of manage_locales configurable by ENV but it's not working as the resolution of env vars is not done at compile time. See symfony/symfony#33358
So in this case if I configure:
I got the following error in LexikTranslationExtension:
Fatal error: Uncaught TypeError: sort(): Argument #1 ($array) must be of type array, string given in X:\workspace-novento\novento-vip-lounge\vendor\lexik\translation-bundle\DependencyInjection\LexikTranslationExtension.php:45 Stack trace: #0 X:\workspace-novento\novento-vip-lounge\vendor\lexik\translation-bundle\DependencyInjection\LexikTranslationExtension.php(45): sort('env_60da4350975...')
Because
managed_locales
isenv_60da435097537916_json_resolve_ACTIVE_LANGUAGES_8287d553308fc5cd29...
The text was updated successfully, but these errors were encountered: