Page MenuHomePhorge

PHP 8.1 "ltrim(null)" exception creating a Nuance source
Closed, ResolvedPublic

Description

  1. PHP 8.3.17; Phorge git master
  2. Create a Nuance queue at http://phorge.localhost/nuance/queue/edit/form/default/
  3. Create a Nuance "Web Form" type source at http://phorge.localhost/nuance/source/edit/form/default/
[2025-02-18 23:14:14] ERROR 8192: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated at [/var/www/html/wmfphab/deployment/phabricator/src/applications/nuance/source/NuanceSourceDefinition.php:211]
arcanist(), ava(), phorge(), wmf-ext-misc()
  #0 ltrim(NULL, string) called at [<phorge>/src/applications/nuance/source/NuanceSourceDefinition.php:211]
  #1 NuanceSourceDefinition::getActionURI() called at [<phorge>/src/applications/nuance/source/NuancePhabricatorFormSourceDefinition.php:24]
  #2 NuancePhabricatorFormSourceDefinition::getSourceViewActions(AphrontRequest) called at [<phorge>/src/applications/nuance/controller/NuanceSourceViewController.php:93]
  #3 NuanceSourceViewController::buildCurtain(NuanceSource) called at [<phorge>/src/applications/nuance/controller/NuanceSourceViewController.php:20]
  #4 NuanceSourceViewController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:284]
  #5 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:203]
  #6 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.