Page MenuHomePhorge

PHP 8.1 "strlen(null)" exception blocks task Bulk Editor page
Closed, ResolvedPublic

Description

  1. PHP 8.2.6; Phorge at 2df7ea13a3877250354556f08f40e26ccc727144
  2. Go to http://phorge.localhost/maniphest/query/advanced/
  3. Select Search button at the bottom
  4. Shift-click a few tasks
  5. Select Bulk Edit Selected » button at the bottom
  6. End up on http://phorge.localhost/maniphest/bulk/ with an exception:
[2023-05-12 21:40:03] EXCEPTION: (RuntimeException) strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [<arcanist>/src/error/PhutilErrorHandler.php:261]
arcanist(head=renderDashboardTabPanelContent, ref.master=d47289622650, ref.renderDashboardTabPanelContent=d47289622650), phorge(head=afterDaemon, ref.master=2df7ea13a387, ref.afterDaemon=2df7ea13a387)
  #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer) called at [<phorge>/src/applications/transactions/bulk/PhabricatorBulkEngine.php:156]
  #1 <#2> PhabricatorBulkEngine::loadObjectList() called at [<phorge>/src/applications/transactions/bulk/PhabricatorBulkEngine.php:92]
  #2 <#2> PhabricatorBulkEngine::buildResponse() called at [<phorge>/src/applications/maniphest/controller/ManiphestBulkEditController.php:29]
  #3 <#2> ManiphestBulkEditController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:284]
  #4 phlog(RuntimeException) called at [<phorge>/src/aphront/handler/PhabricatorDefaultRequestExceptionHandler.php:41]
  #5 PhabricatorDefaultRequestExceptionHandler::handleRequestThrowable(AphrontRequest, RuntimeException) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:751]
  #6 AphrontApplicationConfiguration::handleThrowable(RuntimeException) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:296]
  #7 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:203]
  #8 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phorge>/webroot/index.php:35]

After fixing that exception, get the Bulk Editor page correctly displayed.

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.