By Guest on Monday, 17 February 2025
Posted in General
Replies 1
Likes 0
Views 375
Votes 0
PHP8.4 throws an error on J!5 installation.



Deprecated
: Algo26\IdnaConvert\Punycode\PunycodeInterface::__construct(): Implicitly marking parameter $idnVersion as nullable is deprecated, the explicit nullable type must be used instead in
/Users/mick/Documents/Sites/juser.org/ED_TEST/libraries/vendor/algo26-matthias/idna-convert/src/Punycode/PunycodeInterface.php
on line
6



The fix is simple and involves invoking new 'nullable' type definition.

in /libraries/vendor/algo26-matthias/idna-convert/src/Punycode/PunycodeInterface.php change line 6 from...


public function __construct(string $idnVersion = null);



to ...


public function __construct(?string $idnVersion = null);

Is this problem with what Joomla 5 version ie 5.3.4, 5.4 etc in general ? or a older Joomla 5 version?
·
4 days ago
·
0 Likes
·
0 Votes
·
0 Comments
·
#91
View Full Post