0
删除缓存时出现此错误。Twig_Error_Loader - 目录不存在
sudo php app/console cache:clear --env=prod --no-debug
[Twig_Error_Loader]
The "/Users/whitebear/CodingWorks/httproot/myapp/vendor/symfony/swiftmailer-bundle/Symfony/Bundle/SwiftmailerBundle/Resources/views" directory does not exist ("/Use
rs/whitebear/CodingWorks/httproot/myapp/vendor/symfony/swiftmailer-bundle/Symfony/Bundle/SwiftmailerBundle/Resources/views").
我删除了所有供应商/ *和作曲家重新安装,但这个错误继续。
sudo php app/console cache:clear
此命令显示没有错误。
你在swiftmailer中使用spool还是实时发送? – miikes
@ mikes我使用游泳池 – whitebear