InvalidArgumentException:服务定义“stmp”不存在

时间:2013-10-25 07:29:01

标签: symfony

此错误开始出现,我不知道原因。

> in
> /sites/site1/www/Symfony/vendor/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php
> line 678
>     at ContainerBuilder->getDefinition() in /sites/site1/www/Symfony/vendor/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php
> line 703
>     at ContainerBuilder->findDefinition() in /sites/site1/www/Symfony/vendor/symfony/src/Symfony/Bundle/SwiftmailerBundle/DependencyInjection/Compiler/RegisterPluginsPass.php
> line 31

1 个答案:

答案 0 :(得分:0)

我刚在parameters.ini文件中写了smtp而不是smtp而且它发生了。很奇怪,因为昨天一切正常。也许是因为缓存。