[pmwiki-users] Corner case issues in pmwiki-2.8.2 under PHP 8.1

Dominique Faure dominique.faure at gmail.com
Sat Feb 12 03:01:07 PST 2022


Hi,
On a PmWiki instance set up according to one of the Clean URL
(https://www.pmwiki.org/wiki/Cookbook/CleanUrls) solution AND browsing
to the home page (i.e. no pagename given to an invocation of
pmwiki.php?n=... by the webserver), the following message appeared
with PHP 8.1:

Deprecated: preg_match(): Passing null to parameter #2 ($subject) of
type string is deprecated in /home/debian/websites/XXX/pmwiki.php on
line 333

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of
type array|string is deprecated in
/home/debian/websites/XXX/pmwiki.php on line 335

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of
type array|string is deprecated in
/home/debian/websites/XXX/scripts/xlpage-utf-8.php on line 44

Regards,
Dominique



More information about the pmwiki-users mailing list