#1106691 mlmmj-php-web-admin is incompatible with PHP 8+

#1106691#5
Date:
2025-05-28 00:50:23 UTC
From:
To:
Dear Maintainer,

Installed package, attempted to run it. Immediately dies with the following fatal errors:

AH01071: Got error 'PHP message: PHP Fatal error:  Array and string offset access syntax with curly braces is no longer supported in /usr/share/mlmmj-php-web-admin/htdo
cs/class.rFastTemplate.php on line 477;\nStack trace:\n#0 {main}\n  thrown in /usr/share/mlmmj-php-web-admin/htdocs/index.php on line 30'

AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function each() in /usr/share/mlmmj-php-web-admin/htdocs/class.rFastTemplate.php:34
4\nStack trace:\n#0 /usr/share/mlmmj-php-web-admin/htdocs/index.php(34): rFastTemplate->define()\n#1 {main}\n  thrown in /usr/share/mlmmj-php-web-admin/htdocs/class.rFa
stTemplate.php on line 344'

These are PHP incompatibility errors.  Between PHP 7.4 shipped with Bullseye and PHP 8.2 shipped with Bookworm, the ability to use curly braces as
an index into strings, as well as the PHP global each() function, have been removed, rendering the code in Debian's mlmmj-php-web-admin v. 1.3 pacakge
incompatible with the PHP version shipped with Bookworm.

I have checked upstream, and these issues have been remediated in MLMMJ v. 1.5

#1106691#10
Date:
2025-06-08 04:04:16 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mlmmj, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1106691@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christopher Knadle <Chris.Knadle@coredump.us> (supplier of updated mlmmj package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 07 Jun 2025 23:42:07 -0400
Source: mlmmj
Architecture: source
Version: 1.5.2-1
Distribution: unstable
Urgency: medium
Maintainer: Christopher Knadle <Chris.Knadle@coredump.us>
Changed-By: Christopher Knadle <Chris.Knadle@coredump.us>
Closes: 1103308 1104274 1106691
Changes:
 mlmmj (1.5.2-1) unstable; urgency=medium
 .
   * Newer upstream version, fixes outdated PHP for mlmmj-php-web-admin
     (Closes: #1106691)
   * debian/patches: add 08_fix-ftbfs-diff to fix FTBFS bug. This patch brings
     the 1.5.0 tarball up to upstream version 1.5.2
     (Closes: #1103308, #1104274)
Checksums-Sha1:
 299c8aebb23bc16ccfdaa0efaea9f2621e30a04e 2125 mlmmj_1.5.2-1.dsc
 15b87d061891c90891b46a0855bad91768d6d46e 278204 mlmmj_1.5.2.orig.tar.xz
 e4d51ea4c5ae73ab8dc3a492c3ae127cfbdc72b3 28272 mlmmj_1.5.2-1.debian.tar.xz
 fb250378c64aa29361f0e4577de28ecf564d7948 5998 mlmmj_1.5.2-1_source.buildinfo
Checksums-Sha256:
 6cf665084d75c7ef539ac61c440cb566f5bd9e7747187750d8300751142c0e49 2125 mlmmj_1.5.2-1.dsc
 de0be6c2910ac8bf8291dc86a3819a08b7cdb1019c54ede1791e166967bf1baa 278204 mlmmj_1.5.2.orig.tar.xz
 57578396cf6fbd6edf53b258a27d5933e85af16e2c3a5d262163e1ecb85edece 28272 mlmmj_1.5.2-1.debian.tar.xz
 b3a532419102981b39a57efee551823147fbef728bdd0dabc3aa20d1a65acfda 5998 mlmmj_1.5.2-1_source.buildinfo
Files:
 4ce4e83d336569e6c3475a5ffc0c22f2 2125 mail optional mlmmj_1.5.2-1.dsc
 d2f3850755f16222745bb1e7264a0ded 278204 mail optional mlmmj_1.5.2.orig.tar.xz
 fcb5724ab8beb4e00ac0de40392c0917 28272 mail optional mlmmj_1.5.2-1.debian.tar.xz
 840d4734c647e9a417ae79f7c690533d 5998 mail optional mlmmj_1.5.2-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEe1KzyGmRW/4DhtV6ieLKD9m6RHAFAmhFBuEACgkQieLKD9m6
RHC0iQ//fSAhEidwDlX/T9RrMzeQsDjNkLGy5JuWgJH4Sl9ciAfEDEdbSZ7YXekd
EzqfpBap5poPsShCURnIuqHaedZbM0MKK0YJb8jrbNggrA8FhDcn2UkOEYGoQfI8
g0Z4S95dCC/usUBU5wZAXOD0hoG55d4jKwYHqlW5FcZHtjfNnRkcRKrj06/e9k4G
mjriwQ4A+bV3RSgjlpSzf6/6Jla4O9KlRgVgjaLb+hR38e5KyljHToF/Y3NiLY4H
H8NZ9aAqqNRcsGmH7lLwflqXogOzWZnK080gOmKnQOTl/BD69mOpJ4ud7VBft3C9
AaW0zRiqIHC8L3YI4bgWyeTJRCI1D7cKVg5P1x+i2G1beCgEPsX9Eswt+S5Cvbv9
ZHeGBQKGIAyBkTQt73H05CuQYCEeKDbWWJaDXwhtZS//uPReck6FWLiKQDHDuAG3
28AveYEGNI8HK1g7RY5FUvwPq4sVFfxHoVhUs/pDjFUmcSxnbgerm1cdhzLnODX9
t884rw5Xx9yHaUSNL1BQ2776pzWBMSA5PbKYh5AcoczTq1C2ZGHd2R9AZEVvtkLG
ysv5i7yPlsbHmPDpzWUGHpDn+g7QpGYN/I7GqctZlWpKaE8c1BxmqNihZxK8KUun
d2/Qf3aGHykLUMUgyUiPITkC80GC2G7BjwpQptZQne1yxaJ9ZzQ=
=34CS
-----END PGP SIGNATURE-----