"symfony 4.3: user deprecated: the symfonybundletwigbundleloaderfilesystemloader class is deprecated since version 4.3 and will be removed in 5.0 …" Code Answer
Only authorized users can answer the Search term. Please sign in first, or register a free account.
this is due to the deprecation of the templating component, see https://symfony.com/blog/new-in-symfony-4-3-deprecated-the-templating-component-integration
solution:
"symfony/templating"
fromcomposer.json
framework.yaml
:composer update
this should remove all the deprecation warnings.
if you're getting this error
... you're still using the old templating in some service.
solution: change the dependency from
symfonybundleframeworkbundletemplatingengineinterface
totwigenvironment
:see also https://github.com/symfony/symfony/issues/31645