Solved PHP 8.1: ErrorException: [E_DEPRECATED] htmlspecialchars(): Passing null to parameter #1 ($string) o

This topic has been solved
T

TickTackk

Guest
Code:

ErrorException: [E_DEPRECATED] htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated src/XF/Api/Docs/Renderer/SimpleHtml.php:99
Code:

Code:
#0 [internal function]: XF::handlePhpError(8192, '[E_DEPRECATED] ...', '<snipped>', 99)
#1 src/XF/Api/Docs/Renderer/SimpleHtml.php(99): htmlspecialchars(NULL)
#2 src/XF/Api/Docs/Renderer/SimpleHtml.php(35): XF\Api\Docs\Renderer\SimpleHtml->renderRoute(Object(XF\Api\Docs\Annotation\RouteBlock))
#3...

Read more

Continue reading...