[英]Symfony2 error: The service “templating” has a dependency on a non-existent service “templating.globals”
[英]The service “sonata.block.service.container” has a dependency on a non-existent service “templating”
我使用SonataAdminBundle安裝此捆綁包時由composer顯示此錯誤:
The service "sonata.block.service.container" has a dependency on a non-existent service "templating".
確保已在您的配置中安裝並提供了twig:
# app/config/config.yml
framework:
# ...
templating:
engines: ['twig']
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.