Bug#1003694: gosa: PHP deprecation warnings

Wolfgang Schweer w.schweer at gmx.de
Thu Jan 27 10:36:34 GMT 2022


[ Mike Gabriel, 2022-01-13 ]
> Package: src:gosa
> Severity: important
> Version: 2.7.4+reloaded3-16
> 
> There are some PHP deprecations warnings appearing on screen when using GOsa
> on Debian bullseye against PHP 7.4. Probably much worse with upcoming PHP
> 8.x:

[ ]
 
> Deprecated: Array and string offset access syntax with curly braces is
> deprecated in
> /usr/share/gosa/include/utils/excel/class.writeexcel_formula.inc.php on line
> 156

Now with src:php-defaults/92 a fatal error is thrown because 'Array and 
string offset access syntax with curly braces is no longer supported'.

Due to this, the GOsa web UI access is broken in bookworm.

> I will collect more of these an propose a fix for them...

For an overview of deprecated features, see:
https://www.php.net/manual/en/migration74.deprecated.php

Wolfgang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-pkg-team/attachments/20220127/67270fb3/attachment.sig>


More information about the Debian-edu-pkg-team mailing list