Page MenuHomePhorge

PHP 8.1 "strlen(null)" exception adding a Harbormaster Build Plan
Closed, ResolvedPublic

Description

  1. PHP 8.2.8; Phorge at 226f3150933dfd735da17f19147e2648a5f54e63
  2. Go to http://phorge.localhost/harbormaster/plan/
  3. Select Create Build Plan in upper right corner to go to http://phorge.localhost/harbormaster/plan/edit/form/default/
[2023-08-06 20:32:37] EXCEPTION: (RuntimeException) strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [<arcanist>/src/error/PhutilErrorHandler.php:261]
arcanist(head=customOAuthUrlencodeNull, ref.master=788098096e11, ref.customOAuthUrlencodeNull=4f0f2043b7e9), phorge(head=master, ref.master=226f3150933d)
  #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer) called at [<phorge>/src/applications/harbormaster/editor/HarbormasterBuildPlanEditEngine.php:106]
  #1 <#2> HarbormasterBuildPlanEditEngine::buildCustomEditFields(HarbormasterBuildPlan) called at [<phorge>/src/applications/transactions/editengine/PhabricatorEditEngine.php:152]
  #2 <#2> PhabricatorEditEngine::buildEditFields(HarbormasterBuildPlan) called at [<phorge>/src/applications/transactions/editengine/PhabricatorEditEngine.php:1038]
  #3 <#2> PhabricatorEditEngine::buildEditResponse(HarbormasterBuildPlan) called at [<phorge>/src/applications/transactions/editengine/PhabricatorEditEngine.php:1000]
  #4 <#2> PhabricatorEditEngine::buildResponse() called at [<phorge>/src/applications/harbormaster/controller/HarbormasterPlanEditController.php:8]
  #5 <#2> HarbormasterPlanEditController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:284]
  #6 phlog(RuntimeException) called at [<phorge>/src/aphront/handler/PhabricatorDefaultRequestExceptionHandler.php:41]
  #7 PhabricatorDefaultRequestExceptionHandler::handleRequestThrowable(AphrontRequest, RuntimeException) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:751]
  #8 AphrontApplicationConfiguration::handleThrowable(RuntimeException) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:296]
  #9 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:203]
  #10 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phorge>/webroot/index.php:35]

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.