Php deprecation warnings in php 8.1

Php deprecation warnings in php 8.1

MaikelMaikel Posts: 75Questions: 18Answers: 1

we are in the progres sof upgrading to php 8.1 and we hit the following editor deprecation warnings:

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/deb28415/domains/dev.puka.be/public_html/inc/vendor/datatables.net/editor-php/HtmLawed/Htmlawed.php on line 95

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/deb28415/domains/dev.puka.be/public_html/inc/vendor/datatables.net/editor-php/HtmLawed/Htmlawed.php on line 95

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/deb28415/domains/dev.puka.be/public_html/inc/vendor/datatables.net/editor-php/HtmLawed/Htmlawed.php on line 95

editor version 2.0.8

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Hi,

    This fix addresses that issue.

    If you grab the latest files from here and drop them into your install, that should do it.

    I'll be doing a 2.0.9 release with these changes soon.

    Allan

Sign In or Register to comment.