Issue #3298778 by Ruslan Piskarov, tibezh: PHP 8.1 Deprecated function: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated