-1
此錯誤開始出現,我不知道爲什麼。InvalidArgumentException:服務定義「stmp」不存在
> 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
也許它應該是'smtp'?在'config.yml'或類似的 – richsage
檢查你的Swiftmailer配置是的,很抱歉。我只是在parameters.ini文件中寫入了smtp的stmp。 –