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

Getting a fatal error when updating the bundles #22

Closed
XORchad opened this issue Jan 9, 2014 · 11 comments · Fixed by Sylius/Sylius#807 or #23
Closed

Getting a fatal error when updating the bundles #22

XORchad opened this issue Jan 9, 2014 · 11 comments · Fixed by Sylius/Sylius#807 or #23
Assignees

Comments

@XORchad
Copy link

XORchad commented Jan 9, 2014

PHP Fatal error: Class 'Payum\Core\Model\Token' not found in /vendor/sylius/payum-bundle/Sylius/Bundle/PayumBundle/Model/PaymentSecurityToken.php on line 17

It seems to be a problem with versions. Since Sylius is using Payum 0.7.x and here it is 0.6.x.

Could you please update the composer.lock?

@ghost ghost assigned makasim Jan 9, 2014
@XORchad
Copy link
Author

XORchad commented Jan 9, 2014

Here what I get if I update my composer.lock:

sylius/web-bundle dev-master requires sylius/core-bundle 1.0.@dev -> satisfiable by sylius/core-bundle[1.0.x-dev].
- sylius/core-bundle 1.0.x-dev requires sylius/payum-bundle 1.0.
@dev -> satisfiable by sylius/payum-bundle[1.0.x-dev].
- sylius/core-bundle 1.0.x-dev requires sylius/payum-bundle 1.0.@dev -> satisfiable by sylius/payum-bundle[1.0.x-dev].
- sylius/payum-bundle 1.0.x-dev requires payum/payum 0.6.
@dev -> satisfiable by payum/payum[0.6.x-dev, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6].
- sylius/payum-bundle 1.0.x-dev requires payum/payum 0.6.@dev -> satisfiable by payum/payum[0.6.x-dev, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6].
- Can only install one of: payum/payum[0.7.0, 0.6.x-dev].
- Can only install one of: payum/payum[0.7.0, 0.6.0].
- Can only install one of: payum/payum[0.7.0, 0.6.1].
- Can only install one of: payum/payum[0.7.0, 0.6.2].
- Can only install one of: payum/payum[0.7.0, 0.6.3].
- Can only install one of: payum/payum[0.7.0, 0.6.4].
- Can only install one of: payum/payum[0.7.0, 0.6.5].
- Can only install one of: payum/payum[0.7.0, 0.6.6].
- Can only install one of: payum/payum[0.7.0, 0.6.x-dev].
- Installation request for payum/payum 0.7.
-> satisfiable by payum/payum[0.7.0, 0.7.x-dev].

@makasim
Copy link
Contributor

makasim commented Jan 9, 2014

@sdelbello sylius is now required 0.7 version of payum where standard edition still require 0.6. I would try to find time to fix it next days.

@XORchad
Copy link
Author

XORchad commented Jan 9, 2014

@makasim I would appreciate that! Do you see some quick fix for me to make it work meanwhile?

@makasim
Copy link
Contributor

makasim commented Jan 9, 2014

change version of payum to composer.lock from 0.6 to 0.7 and do composer update payum/payum payum/payum-bundle.

@XORchad
Copy link
Author

XORchad commented Jan 9, 2014

that is when I get

  Problem 1
    - sylius/payum-bundle 1.0.x-dev requires payum/payum 0.6.*@dev -> satisfiable by payum/payum[0.6.x-dev, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6].
    - sylius/payum-bundle 1.0.x-dev requires payum/payum 0.6.*@dev -> satisfiable by payum/payum[0.6.x-dev, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6].
    - Can only install one of: payum/payum[0.7.x-dev, 0.6.x-dev].
    - Can only install one of: payum/payum[0.7.x-dev, 0.6.0].
    - Can only install one of: payum/payum[0.7.x-dev, 0.6.1].
    - Can only install one of: payum/payum[0.7.x-dev, 0.6.2].
    - Can only install one of: payum/payum[0.7.x-dev, 0.6.3].
    - Can only install one of: payum/payum[0.7.x-dev, 0.6.4].
    - Can only install one of: payum/payum[0.7.x-dev, 0.6.5].
    - Can only install one of: payum/payum[0.7.x-dev, 0.6.6].
    - Can only install one of: payum/payum[0.7.x-dev, 0.6.x-dev].
    - Installation request for payum/payum 0.7.x-dev -> satisfiable by payum/payum[0.7.x-dev].
    - Installation request for sylius/payum-bundle == 1.0.9999999.9999999-dev -> satisfiable by sylius/payum-bundle[1.0.x-dev].

@makasim
Copy link
Contributor

makasim commented Jan 9, 2014

@sdelbello I opened a PR with a bug fix. We cannot proceed till its merged.

@XORchad
Copy link
Author

XORchad commented Jan 10, 2014

Thank you!

@makasim
Copy link
Contributor

makasim commented Jan 10, 2014

@stloyd it is not done yet, the PR on sylius repo fixes the problem partially.

@makasim makasim reopened this Jan 10, 2014
@stloyd
Copy link
Contributor

stloyd commented Jan 10, 2014

@makasim I know =) But Github closed it automatically because you mentioned in that PR it fixes this one =) Thanks for re-opening anyway =)

@makasim
Copy link
Contributor

makasim commented Jan 10, 2014

@stloyd (:

@makasim
Copy link
Contributor

makasim commented Jan 10, 2014

@pjedrzejewski how often subtree split is done?

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