Issue #3315305 by Seb_R: PHP 8 / str_replace(): Argument #2 ($replace) must be of type array|string, int given in str_replace()