- Issue created by @prashant.c
- Status changed to Fixed
almost 2 years ago 7:24am 15 March 2023 - 🇮🇳India prashant.c Dharamshala
I was on PHP
8.0
and this module requires a version greater than this which is mentioned in the module's composer.json file therefore I upgraded to PHP 8.1.However, to fix the issue I removed the following lines from the
composer.json
file"platform": { "php": "7.3.0" },
https://getcomposer.org/doc/01-basic-usage.md#platform-packages
Not sure about what impact it will make at other places but for now it has fixed the issue. - Status changed to Closed: works as designed
almost 2 years ago 7:42am 15 March 2023 - 🇦🇺Australia dpi Perth, Australia
Please read the guidelines for tags https://www.drupal.org/node/3156530 →
V3 requires 8.0. The config platform lines are for your project to simulate a PHP version for resolving dependencies. You should update this to whatever PHP version you are using on production, or remove it.
There is no fix here, thusly it is WOD
- 🇵🇱Poland Luke_Nuke
@Prashant.c dpi is correct. The 3.0.x branch dropped support for PHP < 8.0; however, you should still be able to use the latest 2.0.x version if you need it to work on D9 with PHP < 8.0. It is not supported by me, but it functionally is not different from the 3.0.x right now and will work virtually the same. I would recommend you to upgrade your PHP to at least 8.0, though, which would be in accordance to Drupal's recommendation.
- 🇮🇳India prashant.c Dharamshala
Thanks @Luke_Nuke for the detailed response.