Page MenuHomePhorge

PHP 8.1 "strlen(null)" exception creating a Merchant in Phortune
Closed, ResolvedPublic

Description

  1. PHP 8.2.15, Phorge at 7a86040f8a46e9f04466186db8a2c9fed792edc3
  2. Go to http://phorge.localhost/phortune/merchant/edit/
  3. In the Name field, enter Merchant1 and click Create New Merchant
  4. Go to http://phorge.localhost/phortune/merchant/1/providers/ and click Add Payment Provider
  5. Select Add Stripe Payments Account and click Continue
[2024-01-26 18:02:44] ERROR 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [/var/www/html/phorge/phorge/src/applications/phortune/provider/PhortunePaymentProvider.php:99]
arcanist(head=master, ref.master=6c7caf3572f4), phorge(head=master, ref.master=7a86040f8a46)
  #0 PhortunePaymentProvider::renderConfigurationSecret(NULL) called at [<phorge>/src/applications/phortune/provider/PhortunePaymentProvider.php:64]
  #1 PhortunePaymentProvider::readEditFormValuesFromProviderConfig() called at [<phorge>/src/applications/phortune/controller/merchant/PhortuneMerchantProviderEditController.php:147]
  #2 PhortuneMerchantProviderEditController::handleMerchantRequest(AphrontRequest) called at [<phorge>/src/applications/phortune/controller/merchant/PhortuneMerchantController.php:32]
  #3 PhortuneMerchantController::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.