Skip to content
This repository was archived by the owner on Nov 15, 2018. It is now read-only.
This repository was archived by the owner on Nov 15, 2018. It is now read-only.

Problem with Symfony 3.3-dev and magic __set_state method #69

Description

@tommy-muehle

@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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions