EC-CUBE / EC-CUBE/ec-cube

[4.3] PHP8.3環境でプラグインのインストールで失敗する

Open
#6,404 6 comments 1 reaction 1 assignee Claimed by @dotani1111 View on GitHub
bug bug:Low
Dominant language
PHP
Stars
788
Forks
719
Avg merge
4d 4h
Merged PRs (30d)
39

Description

### 概要(Overview)

EC-CUBE 4.3 環境(PHP 8.3)において、管理画面からオーナーズストア経由でプラグインをインストールすると、以下の依存関係エラーによりインストールが失敗します。なお、「独自開発のプラグイン」からのインストールではのエラーは発生しませんでした。

```
- lcobucci/clock 3.0.0 requires php ~8.1.0 || ~8.2.0 -> your php version (8.3.22; overridden via config.platform, same as actual) does not satisfy that requirement.
- league/oauth2-server-bundle v0.5.0 requires league/oauth2-server ^8.3 -> satisfiable by league/oauth2-server[8.5.4].
- ec-cube/api42 4.3.0 requires league/oauth2-server-bundle ^0.5 -> satisfiable by league/oauth2-server-bundle[v0.5.0].
- league/oauth2-server 8.5.4 requires lcobucci/clock ^2.2 || ^3.0 -> satisfiable by lcobucci/clock[3.0.0].
- ec-cube/api42 is locked to version 4.3.0 and an update of this package was not requested.
```

原因として、「EC-CUBE Web API プラグイン(4.2/4.3系)」がインストール済みである場合に発生しました。
このプラグインを削除した後に再度インストールを試みたところ、正常にインストールできることを確認しました。

### 再現手順(Procedure)

管理画面からオーナーズストア経由でプラグインをインストール

### 環境(Environment)

EC-CUBE: 4.3.0 パッケージ版
PHP: 8.3.22

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.