symfony/symfony-standard — Issue #228: [2.1] Class 'Swift_Plugins_MessageLogger' not found
Author: hhamon
Created: 2011-11-02 16:25:57+00:00
State: open

I'm trying to send an email with Swift_Mailer with the Symfony Standard Edition 2.1 and I get the following stack trace:

Fatal error: Class 'Swift_Plugins_MessageLogger' not found in /Users/hugo.hamon/Sites/SF2C1/app/cache/dev/appDevDebugProjectContainer.php on line 1476
Call Stack
#	Time	Memory	Function	Location
1	0.0003	647216	{main}( )	../app_dev.php:0
2	0.0206	5444624	Symfony\Component\HttpKernel\Kernel->handle( )	../app_dev.php:24
3	1.4762	23992456	Symfony\Bundle\FrameworkBundle\HttpKernel->handle( )	../bootstrap.php.cache:547
4	1.4762	23993176	Symfony\Component\HttpKernel\HttpKernel->handle( )	../classes.php:5014
5	1.4762	23993176	Symfony\Component\HttpKernel\HttpKernel->handleRaw( )	../classes.php:4040
6	1.7495	29879112	call_user_func_array ( )	../classes.php:4070
7	1.7495	29879448	HighCo\Bundle\TrainingBundle\Controller\DefaultController->contactAction( )	../classes.php:4070
8	1.8697	35079120	Symfony\Bundle\FrameworkBundle\Controller\Controller->get( )	../DefaultController.php:36
9	1.8698	35079120	Symfony\Component\DependencyInjection\Container->get( )	../Controller.php:207
10	1.8698	35079480	appDevDebugProjectContainer->getMailerService( )	../bootstrap.php.cache:190
11	1.8906	35102408	Symfony\Component\DependencyInjection\Container->get( )	../appDevDebugProjectContainer.php:872
12	1.8906	35102800	appDevDebugProjectContainer->getSwiftmailer_TransportService( )	../bootstrap.php.cache:190
13	1.8921	35189520	Symfony\Component\DependencyInjection\Container->get( )	../appDevDebugProjectContainer.php:1491
14	1.8922	35189960	appDevDebugProjectContainer->getSwiftmailer_Plugin_MessageloggerService( )	../bootstrap.php.cache:190

Am-I doing something wrong?

I don't see any Swift_Plugins_MessageLogger class in vendor/swiftmailer.