DunglasActionBundle
DunglasActionBundle copied to clipboard
Problem with Symfony 3.3-dev and magic __set_state method
@dunglas Here are the issue (addressed via Slack). I got this issue with Symfony 3.3-dev. With Symfony 3.2.2 this code works fine.
Symfony\Component\Debug\Exception\UndefinedMethodException: Attempted to call an undefined method named "__set_state" of class "AppBundle\Action\Homepage". in /Users/tommy/Projects/Sites/tmy.li/app/var/cache/configProjectContainerUrlMatcher.php on line 36
The relevant part in the matcher class looks like this:
return array ( '_controller' => AppBundle\Action\Homepage::__set_state(array( 'viewDirectory' => '/Users/tommy/Projects/Sites/tmy.li/app/config/../web/views', )), '_route' => '_', );
Here are the source for further details: https://github.com/tommy-muehle/tmy.li/tree/release/0.1.0/app
Hi @tommy-muehle,
Can you reproduce this bug with the latest master of Symfony?