部署时出现Symfony2错误

时间:2016-07-07 13:04:26

标签: symfony

我是symfony的新手。部署后启动项目时出现此错误。 你可以帮我吗 感谢

  

致命错误:未捕获的异常'InvalidArgumentException',消息'Service“fragment.renderer.inline”必须实现接口“Symfony \ Component \ HttpKernel \ Fragment \ FragmentRendererInterface”。'在/htdocs/DEV-web/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/FragmentRendererPass.php:58堆栈跟踪:#0 / htdocs / DEV-web / vendor / symfony / symfony / src / Symfony /Component/DependencyInjection/Compiler/Compiler.php(107):Symfony \ Component \ HttpKernel \ DependencyInjection \ FragmentRendererPass-> process(Object(Symfony \ Component \ DependencyInjection \ ContainerBuilder))#1 / htdocs / DEV-web / vendor / symfony / symfony / src / Symfony / Component / DependencyInjection / ContainerBuilder.php(593):Symfony \ Component \ DependencyInjection \ Compiler \ Compiler-> compile(Object(Symfony \ Component \ DependencyInjection \ ContainerBuilder))#2 / htdocs / DEV -web / app / bootstrap.php.cache(2698):Symfony \ Component \ DependencyInjection \ ContainerBuilder-> compile()#3 /htdocs/DEV-web/app/bootstrap.php.cache(2476):symfony \ Component \ HttpKernel \ Kernel->位于第58行的/htdocs/DEV-web/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/FragmentRendererPass.php

0 个答案:

没有答案