Page MenuHomePhorge

PHP 8.1 "strlen(null)" exception calling Conduit's user.whoami
Closed, ResolvedPublic

Description

  1. PHP 8.2.7; Phorge at 7bbd657c19c49f8d1ff1bd6382ff5f1df2d7bdcd
  2. Go to http://phorge.localhost/conduit/method/user.whoami/
  3. Press the Call Method button
[2023-06-13 00:17:00] EXCEPTION: (RuntimeException) strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [<arcanist>/src/error/PhutilErrorHandler.php:261]
arcanist(head=master, ref.master=97e163187418), phorge(head=master, ref.master=7bbd657c19c4)
  #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer) called at [<phorge>/src/applications/conduit/controller/PhabricatorConduitAPIController.php:686]
  #1 <#2> PhabricatorConduitAPIController::decodeConduitParams(AphrontRequest, string) called at [<phorge>/src/applications/conduit/controller/PhabricatorConduitAPIController.php:28]
  #2 phlog(RuntimeException) called at [<phorge>/src/applications/conduit/controller/PhabricatorConduitAPIController.php:111]
  #3 PhabricatorConduitAPIController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:284]
  #4 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:203]
  #5 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.