Page MenuHomePhorge

PHP 8.1 "strlen(null)" exception when deploying a new instance of Phorge
Closed, ResolvedPublic

Description

I was deploying a new instance of Phorge locally when I got a RuntimeException, below is the stacktrace :

PHP message: [2023-08-16 10:13:37] EXCEPTION: (RuntimeException) strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [<arcanist>/src/error/PhutilErrorHandler.php:261]; 
PHP message: arcanist(head=css2, ref.master=df6c315ace5f, ref.css2=df6c315ace5f), phorge(head=arcpatch-D25382, ref.master=29493f8a5c95, ref.arcpatch-D25382=eb91eb598488); 
PHP message:   #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer) called at [<phorge>/src/applications/config/check/PhabricatorWebServerSetupCheck.php:26]; 
PHP message:   #1 <#2> PhabricatorWebServerSetupCheck::executeChecks() called at [<phorge>/src/applications/config/check/PhabricatorSetupCheck.php:63]; 
PHP message:   #2 <#2> PhabricatorSetupCheck::runSetupChecks() called at [<phorge>/src/applications/config/check/PhabricatorSetupCheck.php:258]; 
PHP message:   #3 <#2> PhabricatorSetupCheck::runNormalChecks() called at [<phorge>/src/applications/config/engine/PhabricatorSetupEngine.php:26]; 
PHP message:   #4 <#2> PhabricatorSetupEngine::execute() called at [<phorge>/src/applications/config/check/PhabricatorSetupCheck.php:194]; 
PHP message:   #5 <#2> PhabricatorSetupCheck::willProcessRequest() called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:169]; 
PHP message:   #6 <#2> AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phorge>/webroot/index.php:35]; 
PHP message:   #7 phlog(RuntimeException) called at [<phorge>/src/aphront/response/AphrontUnhandledExceptionResponse.php:32]; 
PHP message:   #8 AphrontUnhandledExceptionResponse::setException(RuntimeException) called at [<phorge>/webroot/index.php:46]" while reading response header from upstream,

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.