Hi there,

I've updated sf2 from PR10 to beta1, and got this error :
*Catchable fatal error*: Argument 1 passed to 
appdevUrlMatcher::__construct() must be an instance of 
Symfony\Component\Routing\RequestContext, array given, called in 
myProjet/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Routing/CachedRouter.php
 
on line 47 and defined in *myProject/app/cache/dev/appdevUrlMatcher.php* on 
line *18*
*
*
And actually it's true. The constructor of appdevUrlMatcher is : public 
function __construct(*RequestContext $context*)
And it's called by CachedRouter::_construct :
public function __construct($cacheDir, $matcher, $generator, *array $context 
= array()*, array $defaults = array())
    {
      // some code
        $this->matcher = new $matcher(*$context*, $defaults);
      // some code
    }

I've cleared my cache 10 times, and rebuilded my bootstrap as well. These 
two files are exactly the same in the beta1 out-of-the-box so it seems to be 
independant from my own code.

I'm really stuck with that, and can't code ahead. Any idea ?
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to