2

After Symfony 4.1 update to 4.3 I get templating deprecation warnings. After reading https://symfony.com/blog/new-in-symfony-4-3-deprecated-the-templating-component-integration I've removed templating and added fragments.

But now I get this error

You cannot set both "templating.hinclude_default_template" and "fragments.hinclude_default_template", please only use "fragments.hinclude_default_template"

1 Answer 1

2

I had this same error. It seems FOSUserBundle was still using templating. I was already planning to remove this bundle. When I removed FOSUserBundle the error went away. It may not be an option for you, but maybe it will help you find the problem.

1
  • I tought it has something to do with FOSUserBundle, but if I remove it, I get errors from FOS oauth bundle.
    – Efkiss
    Commented Nov 28, 2019 at 9:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.