Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in type guesser #3

Open
Yavin opened this issue Jan 3, 2015 · 2 comments
Open

Error in type guesser #3

Yavin opened this issue Jan 3, 2015 · 2 comments

Comments

@Yavin
Copy link
Owner

Yavin commented Jan 3, 2015

Where is an error in guesser, when object is not doctrine entity

Error: Call to a member function hasAssociation() on a non-object"
at vendor/yavin/symfony-form-tree/src/Yavin/Symfony/Form/Type/TreeTypeGuesser.php line 68
@mablae
Copy link

mablae commented Jun 18, 2016

@franciscomemoli
Copy link

Same issue, the problem in my case is that my entity isn't an Doctrine entity, I'm using a data transfer object how is a simple class. So the parent::getMetadata($class); didn't work in my case.
No workaround for the moment. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants