Monday, 17 February 2025
  0 Replies
  43 Visits
0
Votes
Undo
  Subscribe
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);

DeeEmm set the type of the post as  Bug — 3 weeks ago
There are no replies made for this post yet.
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below.
Supported: gif,jpg,png,jpeg,zip,rar,pdf
· Insert · Remove
  Upload Files (Maximum 2MB)