View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0036525 | mantisbt | upgrade | public | 2025-10-22 12:06 | 2025-10-26 11:47 |
| Reporter | marc.kraemer | Assigned To | dregad | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | resolved | Resolution | no change required | ||
| Product Version | 2.27.1 | ||||
| Summary | 0036525: upgrade from 2.26.4 failes | ||||
| Description | Just upgraded mantis, like everytime. When I hit the page https://xx/admin/install.php | ||||
| Steps To Reproduce | We use php 8.4.12 | ||||
| Additional Information | Logged error message: PHP message: Class "DbQuery" not found | ||||
| Tags | No tags attached. | ||||
|
not everything... for new bugs, you can't select a category, therefore you can't add new bugs. |
|
|
adding |
|
PHP 8.4 compatibility is planned for next version 2.28.0 see 0035216 and child issues. To find out if the database upgrade succeeded, check "Database Schema Version" on the "Admin" page.
Might be caused by a failing database upgrade, the You could try a nightly build of 2.28.0-dev https://mantisbt.org/builds.php to check if the upgrade is running fine. I will set the status to |
|
|
Usually newer php versions does not make much impact. Keep in mind php 8.5 is released in 1 month. Most linux distros stick to the latest version available. As told above, I was able to make the database update - and I am pretty sure the same issue is also present in php 8.3 According to my understanding the errorhandler uses database connections and is set up before the database class is fully available - even this bug might be triggered by some deprecated warnings, this should be rethinked, fixed, as this can happen again on newer releases. |
|
Not supported, actually.
Well in this case, it did with 8.4 and the changes for compatibility were not so trivial, that's why I decided not to apply it to 2.27 as a hotfix. Also some issues are caused by libraries we use, and have either not been fixed upstream, or the upgrade is very complex. As for why 2.28.0 has not yet been released yet, well it was planned to go out in April, and to be honest I don't know where the past 6 months have been... Please note that I maintain MantisBT in my few moments of spare time and that I am not getting paid for my efforts. Remember that this is open source software that you get for free, as-is and without warranty as per the terms of the GPL. I'm resolving this as no change required. Please downgrade to a supported PHP version (8.3.x). Thanks for your understanding. |
|