0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

EC-CUBEプラグインアップデートでエラーになる時はPHPバージョンをチェック

Posted at

EC-CUBEプラグインアップデートでエラーが頻発し、解決したログ

基本環境

サーバー さくらレンタルサーバー
PHP 8.2.20
ECCUBE 4.2.3

使用コマンド

# メンテナス状態に変更
echo auto_maintenance_update > ./.maintenance

# プラグインを無効化
php bin/console eccube:plugin:disable --code=EC_CUBE_PLUGIN_CODE

# EC-CUBEプラグインのダウンロードと依存ライブラリのダウンロード
php bin/console eccube:composer:require ec-cube/EC_CUBE_PLUGIN_PACKAGE

# キャッシュ削除
php bin/console cache:clear --no-warmup

# ダウンロードしたプラグインを適用(バージョン情報がDBにも反映される)
php bin/console eccube:plugin:update EC_CUBE_PLUGIN_CODE

# プラグインを有効化
php bin/console eccube:plugin:enable --code=EC_CUBE_PLUGIN_CODE

# メンテナス解除
rm ./.maintenance

症状

ダウンロードでエラーし先へ進まない

原因

EC-CUBE4.2.3 は PHP8.2 非対応

解決方法

サーバーで PHP8.1 へダウングレード
上記コマンドでプラグインアップデート完了

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?