[4.x]: Unable to Upgrade Plugins in Craft CMS 4.8.0
Nobody has claimed this yet.
- 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
- Open the Terminal and log in.
- Navigate to the respective project directory.
- Upgrade Craft CMS to version 4.8.0.
- Execute the plugin upgrade command using php craft update .
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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