- PHP 8.2.13, Phorge at c3850a3c1530fa2d52c81ad35de4f0a6e12459a9
- Go to http://phorge.localhost/pholio/create/
- In the Name field, enter handleLink
- Under Click here, add an image file, select Upload button
- Click Create button on http://phorge.localhost/pholio/create/
- Go to http://phorge.localhost/feed/transactions/query/all/ and get a PHP warning
[2023-11-29 13:07:25] ERROR 8192: strncmp(): Passing null to parameter #1 ($string1) of type string is deprecated at [/var/www/html/phorge/phorge/src/applications/policy/query/PhabricatorPolicyQuery.php:314] arcanist(head=master, ref.master=5bc53cfe53d0), phorge(head=master, ref.master=c3850a3c1530) #0 strncmp(NULL, string, integer) called at [<phorge>/src/applications/policy/query/PhabricatorPolicyQuery.php:314] #1 PhabricatorPolicyQuery::isObjectPolicy(NULL) called at [<phorge>/src/applications/policy/query/PhabricatorPolicyQuery.php:318] #2 PhabricatorPolicyQuery::getObjectPolicy(NULL) called at [<phorge>/src/applications/policy/storage/PhabricatorPolicy.php:57] #3 PhabricatorPolicy::newFromPolicyAndHandle(NULL, NULL) called at [<phorge>/src/applications/transactions/storage/PhabricatorApplicationTransaction.php:458] #4 PhabricatorApplicationTransaction::renderPolicyName(NULL, string) called at [<phorge>/src/applications/transactions/storage/PhabricatorApplicationTransaction.php:968] #5 PhabricatorApplicationTransaction::getTitle() called at [<phorge>/src/applications/transactions/storage/PhabricatorModularTransaction.php:132] #6 PhabricatorModularTransaction::getTitle() called at [<phorge>/src/applications/feed/query/PhabricatorFeedTransactionSearchEngine.php:121] #7 PhabricatorFeedTransactionSearchEngine::renderResultList(array, PhabricatorSavedQuery, PhabricatorHandleList) called at [<phorge>/src/applications/search/engine/PhabricatorApplicationSearchEngine.php:1078] #8 PhabricatorApplicationSearchEngine::renderResults(array, PhabricatorSavedQuery) called at [<phorge>/src/applications/search/controller/PhabricatorApplicationSearchController.php:275] #9 PhabricatorApplicationSearchController::processSearchRequest() called at [<phorge>/src/applications/search/controller/PhabricatorApplicationSearchController.php:91] #10 PhabricatorApplicationSearchController::processRequest() called at [<phorge>/src/aphront/AphrontController.php:29] #11 AphrontController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/AphrontController.php:71] #12 AphrontController::delegateToController(PhabricatorApplicationSearchController) called at [<phorge>/src/applications/search/engine/PhabricatorApplicationSearchEngine.php:50] #13 PhabricatorApplicationSearchEngine::buildResponse() called at [<phorge>/src/applications/feed/controller/PhabricatorFeedTransactionListController.php:13] #14 PhabricatorFeedTransactionListController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:284] #15 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:203] #16 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phorge>/webroot/index.php:35] [2023-11-29 13:07:25] ERROR 8192: strncmp(): Passing null to parameter #1 ($string1) of type string is deprecated at [/var/www/html/phorge/phorge/src/applications/policy/query/PhabricatorPolicyQuery.php:314] arcanist(head=master, ref.master=5bc53cfe53d0), phorge(head=master, ref.master=c3850a3c1530) #0 strncmp(NULL, string, integer) called at [<phorge>/src/applications/policy/query/PhabricatorPolicyQuery.php:314] #1 PhabricatorPolicyQuery::isObjectPolicy(NULL) called at [<phorge>/src/applications/policy/query/PhabricatorPolicyQuery.php:318] #2 PhabricatorPolicyQuery::getObjectPolicy(NULL) called at [<phorge>/src/applications/policy/storage/PhabricatorPolicy.php:57] #3 PhabricatorPolicy::newFromPolicyAndHandle(NULL, NULL) called at [<phorge>/src/applications/transactions/storage/PhabricatorApplicationTransaction.php:458] #4 PhabricatorApplicationTransaction::renderPolicyName(NULL, string) called at [<phorge>/src/applications/transactions/storage/PhabricatorApplicationTransaction.php:981] #5 PhabricatorApplicationTransaction::getTitle() called at [<phorge>/src/applications/transactions/storage/PhabricatorModularTransaction.php:132] #6 PhabricatorModularTransaction::getTitle() called at [<phorge>/src/applications/feed/query/PhabricatorFeedTransactionSearchEngine.php:121] #7 PhabricatorFeedTransactionSearchEngine::renderResultList(array, PhabricatorSavedQuery, PhabricatorHandleList) called at [<phorge>/src/applications/search/engine/PhabricatorApplicationSearchEngine.php:1078] #8 PhabricatorApplicationSearchEngine::renderResults(array, PhabricatorSavedQuery) called at [<phorge>/src/applications/search/controller/PhabricatorApplicationSearchController.php:275] #9 PhabricatorApplicationSearchController::processSearchRequest() called at [<phorge>/src/applications/search/controller/PhabricatorApplicationSearchController.php:91] #10 PhabricatorApplicationSearchController::processRequest() called at [<phorge>/src/aphront/AphrontController.php:29] #11 AphrontController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/AphrontController.php:71] #12 AphrontController::delegateToController(PhabricatorApplicationSearchController) called at [<phorge>/src/applications/search/engine/PhabricatorApplicationSearchEngine.php:50] #13 PhabricatorApplicationSearchEngine::buildResponse() called at [<phorge>/src/applications/feed/controller/PhabricatorFeedTransactionListController.php:13] #14 PhabricatorFeedTransactionListController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:284] #15 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:203] #16 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phorge>/webroot/index.php:35]