[英]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".
Make sure twig is installed and available in your configuration: 确保已在您的配置中安装并提供了twig:
# app/config/config.yml
framework:
# ...
templating:
engines: ['twig']
Source: Stack Overflow #47656816 来源: Stack Overflow#47656816
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.