PHP 8.1
XF 2.8.2
ErrorException: Template error: [E_DEPRECATED] preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
src/addons/DBTech/Credits/XF/Str/Formatter.php:45
I think at line 47 we need to change to this: