-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Fatal error: Class 'ProxyManager\Versions' not found #294
Comments
@Tomsgu does composer run any script at install time? It should show something like |
Thanks for your response @Ocramius. Composer tries to generate these classes but ends up with undefined index: source exception.
|
So that's where it hangs... Needs to be debugged, but that's a bug in https://github.com/Ocramius/PackageVersions then. Could you try running with more verbose settings? |
|
Does the same happen when you run with |
Yes, the same problem. |
Could you list the packages you have in your |
Ok list of installed packages:
|
Hmm, that is indeed a lot of stuff... Could you gist your |
Yes a lot of stuff... So my composer.json:
|
Oh, that's probably it then: the jquery dist is missing any source information, of course. Can you try adding a |
Unfortunately the problem still persists. |
Won't be able to check the issue personally in the next days, but please take a look at https://github.com/Ocramius/PackageVersions/blob/56253310fb94b3086fa123f5f3e7ab76723594aa/src/PackageVersions/Installer.php#L189 |
Thanks for your time anyway, I am trying to find out where can be the problem. |
@Tomsgu just so you know, that data the script is trying to read comes from the lock file. If you check |
@Ocramius Thank you so much. I found that even when I set source reference for jquery/jquery, it wasn't in a lock file. So you were right in the beginning. After fixing this issue, composer generates the version classes and the original problem doesn't persist anymore. Sorry, that I post here something that isn't really related with ProxyManager neither PackageVersions. |
Issue is still valid. |
Moved to Ocramius/PackageVersions#12 - to be closed here once it is fixed. |
I'm getting the same fatal error. I'm not using any "repositories" in composer.json, nor I have installed PackageVersion. It looks like |
@garak this seems to be related to differences in |
This is possibly caused by composer/composer#5237 |
This is fixed by composer/composer#5237. Further fixes to be done in Ocramius/PackageVersions#18 |
Hi, I am not sure if I write here corectly.
I got this error:
[Symfony\Component\Debug\Exception\FatalThrowableError] Fatal error: Class 'ProxyManager\Versions' not found
when I run doctrine migrate. Does it related with a bug(ProxyManager/DocrineMigrations) or somebody know, what can be a problem?Php: 7.0.3
ProxyManager: 2.0.0
DoctrineMigrations: 1.1.0
The text was updated successfully, but these errors were encountered: