should be fixed now (in the master branch). Fabien
-- Fabien Potencier Sensio CEO - Symfony lead developer sensiolabs.com | symfony.com | fabien.potencier.org Tél: +33 1 40 99 80 80 On 4/21/11 4:47 PM, Ruudk wrote:
Hi guys, When I run ./app/console --env=prod cache:warmup I get this error: Warming up the cache Catchable fatal error: Argument 1 passed to appprodUrlMatcher::__construct() must be an instance of Symfony\Component\Routing\RequestContext, array given, called in /www/myapp/app/cache/prod/classes-7f07a.php on line 181 and defined in /www/myapp/app/cache/prod/appprodUrlMatcher.php on line 18 Call Stack: 0.0017 327528 1. {main}() /www/myapp/app/console:0 0.1475 5796076 2. Symfony\Component\Console\Application->run() /www/myapp/app/console:16 0.1497 5966880 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /www/myapp/vendor/symfony/src/Symfony/Component/Console/Application.php:119 0.1497 5966880 4. Symfony\Component\Console\Application->doRun() /www/myapp/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:75 0.1508 5966908 5. Symfony\Component\Console\Command\Command->run() /www/myapp/vendor/symfony/src/Symfony/Component/Console/Application.php:193 0.1512 5967236 6. Symfony\Bundle\FrameworkBundle\Command\CacheWarmupCommand->execute() /www/myapp/vendor/symfony/src/Symfony/Component/Console/Command/Command.php:188 0.1549 6195960 7. Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() /www/myapp/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheWarmupCommand.php:50 0.3049 6679604 8. Symfony\Bundle\TwigBundle\CacheWarmer\TemplateCacheCacheWarmer->warmUp() /www/myapp/vendor/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerAggregate.php:46 0.3049 6679648 9. Symfony\Component\DependencyInjection\Container->get() /www/myapp/vendor/symfony/src/Symfony/Bundle/TwigBundle/CacheWarmer/TemplateCacheCacheWarmer.php:57 0.3049 6679848 10. appProdDebugProjectContainer->getTwigService() /www/myapp/app/bootstrap.php:109 0.3695 6915744 11. Symfony\Component\DependencyInjection\Container->get() /www/myapp/app/cache/prod/appProdDebugProjectContainer.php:1366 0.3695 6915972 12. appProdDebugProjectContainer->getRouter_CachedService() /www/myapp/app/bootstrap.php:109 0.3695 6916400 13. Symfony\Bundle\FrameworkBundle\Routing\CachedRouter->__construct() /www/myapp/app/cache/prod/appProdDebugProjectContainer.php:759 0.3695 6917008 14. appprodUrlMatcher->__construct() /www/myapp/app/cache/prod/classes-7f07a.php:181 Catchable fatal error: Argument 1 passed to appprodUrlGenerator::__construct() must be an instance of Symfony\Component\Routing\RequestContext, array given, called in /www/myapp/app/cache/prod/classes-7f07a.php on line 182 and defined in /www/myapp/app/cache/prod/appprodUrlGenerator.php on line 96 Call Stack: 0.0017 327528 1. {main}() /www/myapp/app/console:0 0.1475 5796076 2. Symfony\Component\Console\Application->run() /www/myapp/app/console:16 0.1497 5966880 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /www/myapp/vendor/symfony/src/Symfony/Component/Console/Application.php:119 0.1497 5966880 4. Symfony\Component\Console\Application->doRun() /www/myapp/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:75 0.1508 5966908 5. Symfony\Component\Console\Command\Command->run() /www/myapp/vendor/symfony/src/Symfony/Component/Console/Application.php:193 0.1512 5967236 6. Symfony\Bundle\FrameworkBundle\Command\CacheWarmupCommand->execute() /www/myapp/vendor/symfony/src/Symfony/Component/Console/Command/Command.php:188 0.1549 6195960 7. Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() /www/myapp/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheWarmupCommand.php:50 0.3049 6679604 8. Symfony\Bundle\TwigBundle\CacheWarmer\TemplateCacheCacheWarmer->warmUp() /www/myapp/vendor/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerAggregate.php:46 0.3049 6679648 9. Symfony\Component\DependencyInjection\Container->get() /www/myapp/vendor/symfony/src/Symfony/Bundle/TwigBundle/CacheWarmer/TemplateCacheCacheWarmer.php:57 0.3049 6679848 10. appProdDebugProjectContainer->getTwigService() /www/myapp/app/bootstrap.php:109 0.3695 6915744 11. Symfony\Component\DependencyInjection\Container->get() /www/myapp/app/cache/prod/appProdDebugProjectContainer.php:1366 0.3695 6915972 12. appProdDebugProjectContainer->getRouter_CachedService() /www/myapp/app/bootstrap.php:109 0.3695 6916400 13. Symfony\Bundle\FrameworkBundle\Routing\CachedRouter->__construct() /www/myapp/app/cache/prod/appProdDebugProjectContainer.php:759 0.3975 6917568 14. appprodUrlGenerator->__construct() /www/myapp/app/cache/prod/classes-7f07a.php:182 I'm using the latest symfony/symfony master. Does someone have clue? Thanks! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
-- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en