Closed la-lisa closed 3 months ago
@la-lisa we also ran into that issue and fixed it by removing minimum-stability from composer.json like here: https://github.com/coreshop/CoreShop/commit/8d995ebedda0b4f6cf27b2595ce6fe5ec08268c4
Can you confirm this fixes it?
@dpfaffenbauer Well this is fixes it. Thanks. Maybe a hint in the docs would be helpful or fixing the issue in the next version, as pimcore recommends adding the minimum stability in its docs. Also their demo composer.json has the min stability stated.
Where does pimcore state that? I also checked the Demo Repo and I could not see the minimum stability there: https://github.com/pimcore/demo/blob/2024.x/composer.json
I also checked the Demo Repo and I could not see the minimum stability there: pimcore/demo@2024.x/composer.json
Here it is: https://github.com/pimcore/demo/blob/2024.x/composer.json#L16-L17
@jdreesen gotcha, we got this fix now: https://github.com/coreshop/CoreShop/pull/2689
Payum\Bundle\PayumBundle\EventListener\ReplyToHttpResponseListener::__construct(): Argument 1 ($replyToSymfonyResponseConverter) must be of type Payum\Bundle\PayumBundle\ReplyToSymfonyResponseConverter, CoreShop\Bundle\PayumBundle\Exception\ReplyToSymfonyResponseConverter given.
It seems like there is a namespace conflict between Payum\Core\Bridge\Symfony\ReplyToSymfonyResponseConverter and Payum\Bundle\PayumBundle\ReplyToSymfonyResponseConverter in CoreShop\Bundle\PayumBundle\Exception When changing the import to Payum\Bundle\PayumBundle\ReplyToSymfonyResponseConverter in the Exception the error is fixed.
Pimcore V11.3.0 Coreshop V4.0.9 PHP 8.2