craftcms / craftcms/cms

[4.x]: Unable to Upgrade Plugins in Craft CMS 4.8.0

Open
#14,539 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug craft4
Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

What happened?
Description

In Craft CMS version 4.8.0, there is an issue preventing the successful upgrade of installed plugins using the command php craft update (plugin). Interestingly, when upgrading the plugin on an older version of Craft CMS, such as 4.7.1, the plugin upgrade functions as expected.

Steps to reproduce
  1. Open the Terminal and log in.
  2. Navigate to the respective project directory.
  3. Upgrade Craft CMS to version 4.8.0.
  4. Execute the plugin upgrade command using php craft update .
  5. Verify the plugin version in the admin dashboard.
Expected behavior

Executing the plugin update command should reflect the changes in the admin dashboard or project files.

Actual behavior

Although the update command indicates that the update and migration processes are completed in the terminal, the new version fails to impact the admin dashboard when checked. The expected changes are not reflected in the admin dashboard.

Craft CMS version

4.8.0

PHP version

8.2

Operating system and version

Linux

Database type and version

MySql

Image driver and version

No response

Installed plugins and versions

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. First reproduce php craft update <plugin> on Craft CMS 4.8.0 with PHP 8.2 and compare it with 4.7.1, checking the terminal output, admin dashboard, and project files. Done means the plugin version and related changes are reflected after the command completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
backend, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.