Page MenuHomePhorge

PHP 8.1 "strlen(null)" exception in PhabricatorAuthAccountView
Closed, ResolvedPublic

Description

  1. PHP 8.3.10; Phorge at a110aa471e98b96c66d8f4d2e0394b97a9ea3cb8
  2. Have LDAP set up as an auth provider
  3. Being logged out, go to http://phorge.localhost/auth/
  4. Under "Log In or Register with LDAP", enter the LDAP Username and LDAP Password of the LDAP user you created
  5. Press the Log In or Register button to get to the Register dialog
[2024-08-02 13:16:27] ERROR 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [/var/www/html/phorge/phorge/src/applications/auth/view/PhabricatorAuthAccountView.php:66]
arcanist(head=master, ref.master=84210cedc6ce), ava(head=wmf/stable, ref.master=d3f5a1c67bb4, ref.wmf/stable=0b414fb56fe3), phorge(head=master, ref.master=a110aa471e98), translations(head=wmf/stable, ref.master=09fe573a932a, ref.wmf/stable=ad3c1bb2af60)
  #0 PhabricatorAuthAccountView::render() called at [<phorge>/src/view/AphrontView.php:222]
  #1 AphrontView::producePhutilSafeHTML() called at [<phorge>/src/infrastructure/markup/render.php:115]
  #2 phutil_escape_html(PhabricatorAuthAccountView) called at [<phorge>/src/infrastructure/markup/render.php:97]
  #3 phutil_tag(string, array, PhabricatorAuthAccountView) called at [<phorge>/src/view/form/control/AphrontFormControl.php:180]
  #4 AphrontFormControl::render() called at [<phorge>/src/view/AphrontView.php:222]
  #5 AphrontView::producePhutilSafeHTML() called at [<phorge>/src/infrastructure/markup/render.php:115]
  #6 phutil_escape_html(AphrontFormMarkupControl) called at [<phorge>/src/infrastructure/markup/render.php:139]
  #7 phutil_escape_html(array) called at [<phorge>/src/infrastructure/markup/render.php:139]
  #8 phutil_escape_html(array) called at [<phorge>/src/infrastructure/markup/render.php:97]
  #9 phutil_tag(string, array, array) called at [<phorge>/src/view/form/PHUIFormLayoutView.php:49]
  #10 PHUIFormLayoutView::render() called at [<phorge>/src/view/form/AphrontFormView.php:160]
  #11 AphrontFormView::render() called at [<phorge>/src/view/AphrontView.php:222]
  #12 AphrontView::producePhutilSafeHTML() called at [<phorge>/src/infrastructure/markup/render.php:115]
  #13 phutil_escape_html(AphrontFormView) called at [<phorge>/src/infrastructure/markup/render.php:139]
  #14 phutil_escape_html(array) called at [<phorge>/src/infrastructure/markup/render.php:97]
  #15 phutil_tag(string, array, array) called at [<phorge>/src/infrastructure/javelin/markup.php:70]
  #16 javelin_tag(string, array, array) called at [<phorge>/src/view/AphrontTagView.php:158]
  #17 AphrontTagView::render() called at [<phorge>/src/view/AphrontView.php:222]
  #18 AphrontView::producePhutilSafeHTML() called at [<phorge>/src/infrastructure/markup/render.php:115]
  #19 phutil_escape_html(PHUIObjectBoxView) called at [<phorge>/src/infrastructure/markup/render.php:139]
  #20 phutil_escape_html(array) called at [<phorge>/src/infrastructure/markup/render.php:139]
  #21 phutil_escape_html(array) called at [<phorge>/src/infrastructure/markup/render.php:97]
  #22 phutil_tag(string, array, array) called at [<phorge>/src/view/phui/PHUITwoColumnView.php:236]
  #23 PHUITwoColumnView::buildFooter() called at [<phorge>/src/view/phui/PHUITwoColumnView.php:123]
  #24 PHUITwoColumnView::getTagContent() called at [<phorge>/src/view/AphrontTagView.php:161]
  #25 AphrontTagView::render() called at [<phorge>/src/view/AphrontView.php:222]
  #26 AphrontView::producePhutilSafeHTML() called at [<phorge>/src/infrastructure/markup/render.php:115]
  #27 phutil_escape_html(PHUITwoColumnView) called at [<phorge>/src/infrastructure/markup/render.php:171]
  #28 phutil_implode_html(string, array) called at [<phorge>/src/view/page/PhabricatorBarePageView.php:58]
  #29 PhabricatorBarePageView::willRenderPage() called at [<phorge>/src/view/page/PhabricatorStandardPageView.php:217]
  #30 PhabricatorStandardPageView::willRenderPage() called at [<phorge>/src/view/page/AphrontPageView.php:46]
  #31 AphrontPageView::render() called at [<phorge>/src/view/page/PhabricatorStandardPageView.php:919]
  #32 PhabricatorStandardPageView::produceAphrontResponse() called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:723]
  #33 AphrontApplicationConfiguration::produceResponse(AphrontRequest, PhabricatorStandardPageView) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:299]
  #34 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:203]
  #35 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.