PHP 8.1: Debugger.php, htmlspecialchars(null)

  • Thread starter Thread starter PaulB
  • Start date Start date

PaulB

Guest
Member
This differs from https://xenforo.com/community/threa...-when-viewing-debug-page-with-php-8-1.200923/ but affects the same class.

Code:

Code:
An exception occurred: [ErrorException] [E_DEPRECATED] htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in src/XF/Debugger.php on line 204

XF::handlePhpError()
htmlspecialchars() in src/XF/Debugger.php at line 204
XF\Debugger::getDatabaseDebugInfo() in src/XF/Debugger.php at line 124
XF\Debugger->getDebugPageHtml() in...

Read more
 
Top