Page MenuHomePhorge

Fix PHP 8.1 exception from DarkConsole: strlen(): Passing null to parameter #1 ($string) of type string is deprecated
Closed, ResolvedPublic

Description

strlen(): Passing null to parameter #1 ($string) of type string is deprecated
10	phorge	applications/console/core/DarkConsoleCore.php : 129	PhutilErrorHandler::handleError()
9	phorge	applications/console/core/DarkConsoleCore.php : 52	DarkConsoleCore::sanitizeForJSON()
8	phorge	applications/console/core/DarkConsoleCore.php : 105	DarkConsoleCore::getKey()
7	phorge	view/page/PhabricatorStandardPageView.php : 435	DarkConsoleCore::render()
6	phorge	view/page/AphrontPageView.php : 83	PhabricatorStandardPageView::willSendResponse()
5	phorge	view/page/PhabricatorStandardPageView.php : 904	AphrontPageView::render()
4	phorge	aphront/configuration/AphrontApplicationConfiguration.php : 722	PhabricatorStandardPageView::produceAphrontResponse()
3	phorge	aphront/configuration/AphrontApplicationConfiguration.php : 299	AphrontApplicationConfiguration::produceResponse()
2	phorge	aphront/configuration/AphrontApplicationConfiguration.php : 203	AphrontApplicationConfiguration::processRequest()
1		/var/www/phorge/webroot/index.php : 35	AphrontApplicationConfiguration::runHTTPRequest()