Closed ristokekovic closed 2 years ago
Morning @Ahahodura or @marekrzytki ,
Any chance you guys could take a look at this request ?
Thanks
Hi @ristokekovic and @EdouardBayon. I've already investigated something in this case.
There is an issue with version of willdurand/jsonp-callback-validator
library. From any reason in your composer.lock file it's locked by the version, which is too high for one of our sub-dependencies. I've installed fresh Sylius 1.11 and had the same problem.
In my case I've removed composer.lock
file from a project and then did composer require bitbag/mollie-plugin
, which was executed correctly.
If there's any problem after plugin installation, I would recommend to share the error message or something that would make us better in helping you.
@senghe that could be tricky though. Imho a better way is to install with
composer require bitbag/mollie-plugin -w --no-scripts
Note the lowecase -w
or --update-with-dependencies
. This will install the plugin correctly and update the dependencies that caused the trouble. Do not use -W
or --update-with-all-dependencies
as that will throw an even bigger error.
Imho the docs should be updated and this can be closed unless I run into issues later lol.
Thanks, that seems to solve it!
Hello
I am trying to set up Mollie plugin version 4.0.1 on Sylius 1.11.0 and PHP 8.0. I also have the SyliusRefund version 1.1. However, when I try to install the plugin with Composer, following the installation instructions, I keep getting conflict errors:
When I try to use the
--with-all-dependencies
flag, as suggested in the failure description, the installation does go through, but my store completely goes down after that, and every page throws a 500 server error with a message that the server redirected me too many times.Can you please help? I tried multiple different versions of Sylius and Mollie plugins, but the result is always the same.