gtbu / Typesetter-5.3-p8

Typesetter 5.2+ with updates and adaptions for php8
http://typesetter5.bplaced.net
GNU General Public License v2.0
11 stars 7 forks source link

htmlspecialchars(): on PHP8 #19

Closed rifloom closed 1 year ago

rifloom commented 1 year ago

htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in: D:\Rif\0-PROGEMINE\LARAGON\laragon\www\Volvo\include\common.php on line: 670

if test array() ( msg() or message() )

gtbu commented 1 year ago

Deprecated means that it functions but not in future php9... I did not have this error until now.

*** There are several solutions

*** Nevertheless : Under which circumstances does the error come up ?

Can You try to replace $mixed with $mixed ?? "" ( Not necessary for $output which was set in line 646)