Issue #3311964 by ambot112, cmlara: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated