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

Class 'Metadata\Driver\LazyLoadingDriver' not found #55

Closed
digiacomo opened this issue Dec 10, 2011 · 3 comments
Closed

Class 'Metadata\Driver\LazyLoadingDriver' not found #55

digiacomo opened this issue Dec 10, 2011 · 3 comments

Comments

@digiacomo
Copy link

Hi I was trying to have a go with this bundle but I'm getting

Fatal error: Class 'Metadata\Driver\LazyLoadingDriver' not found

I'm using
Symfony 2.0.7
metadata v1.1.0
all namespaces have been added to autoload.php

I can't see where the problem is. Any idea?

Thanks in advance.

@jrgns
Copy link

jrgns commented Jan 4, 2012

Please add how you resolved this issue?

@digiacomo
Copy link
Author

What I remember is I found out I didn't have the right Metadata version (so the class wasn't there). I had to change the git commit hash in the deps.lock to make bundle script download and install the right Metadata version which is v1.1.0
So browse the commits list, find the latest copy and paste in the deps.lock

For more information on deps.lock
http://symfony.com/doc/2.0/cookbook/workflow/new_project_git.html#managing-vendor-libraries-with-bin-vendors-and-deps

Hope it helps

@slam310
Copy link

slam310 commented Sep 26, 2012

That 's the solution.

Thx to share.

chasewoo pushed a commit to royuan/JMSSerializerBundle that referenced this issue Aug 7, 2013
Adding context to twig extension
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