Problem/Motivation

Just tried upgrading my server to PHP 8.1 and (possibly) this is the only module causing an issue:

$ composer install
Gathering patches for root package.
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1
- ocramius/proxy-manager is locked to version 2.12.0 and an update of this package was not requested.
- ocramius/proxy-manager 2.12.0 requires php ~7.4.1 || ~8.0.0 -> your php version (8.1.13) does not satisfy that requirement.
Problem 2
- softcreatr/jsonpath is locked to version 0.7.6 and an update of this package was not requested.
- softcreatr/jsonpath 0.7.6 requires php >=7.1,<8.0 -> your php version (8.1.13) does not satisfy that requirement.
Problem 3
- softcreatr/jsonpath 0.7.6 requires php >=7.1,<8.0 -> your php version (8.1.13) does not satisfy that requirement.
- drupal/feeds_ex 1.0.0-beta3 requires softcreatr/jsonpath ^0.5 || ^0.7 || ^0.8 -> satisfiable by softcreatr/jsonpath[0.7.6].
- drupal/feeds_ex is locked to version 1.0.0-beta3 and an update of this package was not requested.

my guess is this is not a real compatibility issue, more likely just a file somewhere stating it needs 8.0 when they likely mean 8+

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

liquidcms created an issue. See original summary.

megachriz’s picture

Title: Not compatible with PH 8.1 » Not compatible with PHP 8.1?
Status: Active » Postponed (maintainer needs more info)

I can say that I have Feeds Extensible Parsers running on PHP 8.1 - and it is installed with Composer.

I see you ran composer install. Can it be that after upgrading your server, you need to run composer update instead? And that softcreatr/jsonpath v0.7.6 is in your composer.lock file?

liquidcms’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Thanks yes, that was it. I had manually updated the other 2 libs that are required for this but missed that one. Since i had removed the module (and therefore removed it and dependencies from .lock) and now, this morning, re-added it, I see it has added latest of dependencies including:
softcreatr/jsonpath (0.8.2)

amarshkhl09’s picture

Hi @liquidcms

Unrelated but may I ask how did you fix your error with the following dependency
ocramius/proxy-manager

From my research, I have found that it doesn't support 8.1 yet.

liquidcms’s picture

That was almost a year ago.. so don't recall. But, i checked the couple projects i have on the go from back then and i don't specifically require that package and it isnt in my vendor folder - so perhaps the way i got around it was to remove it.