View Issue Details

IDProjectCategoryView StatusLast Update
0032027mantisbtbugtrackerpublic2023-03-12 08:53
Reporterdregad Assigned To 
PriorityhighSeveritymajorReproducibilityN/A
Status confirmedResolutionopen 
Target Version2.26.0 
Summary0032027: PHP 8.2 support
Description

This is a generic issue to track PHP 8.2 compatibility. See related child issues for details.

MantisBT 2.25 cannot support PHP 8.2. This is due to the cross-dependency between the ADOdb library version 5.20 we're using, and our minimum supported PHP version (5.6).

ADOdb supports PHP 8.2 as of release 5.22.5, which has not yet been released as of this writing.

TagsPHP 8.2

Relationships

related to 0032028 confirmed Update ADOdb to 5.22.5 
parent of 0031928 closeddregad Error on installation MantisBT 2.25.5 
parent of 0031943 closeddregad Creation of dynamic properies is deprecated in PHP 8.2 
parent of 0030429 closeddregad Upcoming incompatibility with PHP 8.2, "Deprecate ${} string interpolation" RFC 

Activities

marc.kraemer

marc.kraemer

2023-02-17 10:12

reporter   ~0067398

PHP 8.2 is released 3 months ago, some updates to this version are comming.
Currently mantis does not even run. Warnings are one thing, but fatal errors or uncaught exceptions should be avoided.

marc.kraemer

marc.kraemer

2023-02-17 10:30

reporter   ~0067403

Last edited: 2023-02-17 10:49

patch added, to make mantis at least "work"

EDIT (dregad): for the record, the patch was added to 0031928

dregad

dregad

2023-02-17 10:48

developer   ~0067405

As stated, we are only supporting PHP up to 8.1 in the 2.25 branch, and we will not patch an upstream library for this. PHP 8.2 will be supported in version 2.26, when it is released (hopefully soon, as time allows).

In the meanwhile you're welcome to modify the source code of local instance, at your own risk of course.