Issue #2885016 by eelkeblok, geerlingguy, MartinMa: htmlspecialchars() expects parameter 1 to be string