Page MenuHomePhorge

PHP 8.1 "strlen(null)" exception on Diffusion repo URIs page after repo creation
Closed, ResolvedPublic

Description

  1. PHP 8.2.12, Phorge at d4b110af260caab56936aab543041b0904e4d02a
  2. Go to http://phorge.localhost/diffusion/edit/form/default/?vcs=git to create a new Git repository
  3. Enter foobar in the Name field
  4. Click the Create Repository button
  5. On resulting http://phorge.localhost/diffusion/23/manage/ , select URIs in the sidebar
[2023-11-02 14:07:27] ERROR 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [/var/www/html/phorge/phorge/src/applications/repository/storage/PhabricatorRepository.php:348]
arcanist(head=master, ref.master=35e127da57a8), phorge(head=master, ref.master=d4b110af260c)
  #0 PhabricatorRepository::getCloneName() called at [<phorge>/src/applications/repository/storage/PhabricatorRepositoryURI.php:409]
  #1 PhabricatorRepositoryURI::getForcedPath() called at [<phorge>/src/applications/repository/storage/PhabricatorRepositoryURI.php:303]
  #2 PhabricatorRepositoryURI::getURIObject() called at [<phorge>/src/applications/repository/storage/PhabricatorRepositoryURI.php:218]
  #3 PhabricatorRepositoryURI::getDisplayURI() called at [<phorge>/src/applications/diffusion/management/DiffusionRepositoryURIsManagementPanel.php:59]
  #4 DiffusionRepositoryURIsManagementPanel::buildManagementPanelContent() called at [<phorge>/src/applications/diffusion/controller/DiffusionRepositoryManagePanelsController.php:60]
  #5 DiffusionRepositoryManagePanelsController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:284]
  #6 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:203]
  #7 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.