Deprecated preg_replace in errorlog_functions.php

3 posts by 2 authors in: Forums > CMS Builder
Last Post: July 25, 2022   (RSS)

By ht1080z - July 25, 2022


I getting Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /docker_data/services/www/cmsAdmin/lib/errorlog_functions.php on line 557 by using PHP Version 8.1.6

Any help to fix this would appreciated,

By daniel - July 25, 2022

Hi Karls,

That's an odd error - I haven't been able to replicate it in testing. Is there a specific action you're taking that causes the error? Also, could you attach the file "/cmsAdmin/lib/errorlog_functions.php" here so I can see if there are any differences to the core code?


Technical Lead