assetic.ERROR “DoctrineBundle:Collector:db.html.twig” contains an error: Unknown “profiler_dump” function

后端 未结 3 501
抹茶落季
抹茶落季 2021-01-19 01:01

I am trying to send emails with Symfony. Everything works perfect locally. But on server I get following errore in prod.log:

assetic.ERROR: The te

3条回答
  •  情书的邮戳
    2021-01-19 01:18

    By default, AsseticBundle will try to handle the templates of all enabled bundles which leads to errors when enabled bundles ship with templates that rely on features not being loaded in the prod environment. You can solve your issue by explicitly listing all bundles that should be handled by Assetic using the assetic.bundles option.

提交回复
热议问题