Page MenuHomePhorge

PHP 8.1 "array_fuse(null)" exception blocks rendering Conduit's "Method Call Result" page
Closed, ResolvedPublic

Description

  1. PHP 8.2.6; Phorge at 2df7ea13a3877250354556f08f40e26ccc727144
  2. Go to Conduit at http://phorge.localhost/conduit/
  3. Select project.create to go to http://phorge.localhost/conduit/method/project.create/
  4. In the Call Method section, in the name field, enter "whatever" (does not matter if it already exists or not)
  5. Select Call Method button
[2023-05-13 01:16:31] EXCEPTION: (TypeError) array_fuse(): Argument #1 ($list) must be of type array, null given, called in /var/www/html/phorge/phorge/src/applications/project/conduit/ProjectCreateConduitAPIMethod.php on line 81 at [<arcanist>/src/utils/utils.php:957]
arcanist(head=renderDashboardTabPanelContent, ref.master=d47289622650, ref.renderDashboardTabPanelContent=d47289622650), phorge(head=heraldcallme, ref.master=2df7ea13a387, ref.heraldcallme=2df7ea13a387)
  #0 phlog(TypeError) called at [<phorge>/src/aphront/handler/PhabricatorDefaultRequestExceptionHandler.php:41]
  #1 PhabricatorDefaultRequestExceptionHandler::handleRequestThrowable(AphrontRequest, TypeError) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:751]
  #2 AphrontApplicationConfiguration::handleThrowable(TypeError) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:296]
  #3 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:203]
  #4 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phorge>/webroot/index.php:35]

Fix that exception; afterwards "Method Call Result" is correctly displayed on http://phorge.localhost/api/project.create

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.