Not compatible with PHP 8.1?

Created on 17 April 2023, about 1 year ago
Updated 10 January 2024, 6 months ago

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

πŸ› Bug report
Status

Closed: works as designed

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada liquidcms

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @liquidcms
  • Status changed to Postponed: needs info about 1 year ago
  • πŸ‡³πŸ‡±Netherlands MegaChriz

    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?

  • Status changed to Closed: works as designed about 1 year ago
  • πŸ‡¨πŸ‡¦Canada liquidcms

    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)

  • πŸ‡¦πŸ‡ΊAustralia amarshkhl09

    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.

  • πŸ‡¨πŸ‡¦Canada liquidcms

    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.

Production build 0.69.0 2024