Page MenuHomePhorge

Fix RuntimeException "Undefined index: icon" when visiting Search Servers using MySQL
Closed, ResolvedPublic

Description

Steps to reproduce:

What happens:

[2023-02-28 09:48:25] EXCEPTION: (RuntimeException) Undefined index: icon at [<arcanist>/src/error/PhutilErrorHandler.php:251]
[28-Feb-2023 09:48:25 Europe/Rome] arcanist(head=master, ref.master=85c953ebe4a6), phabricator(head=master, ref.master=1458703cf305)
[28-Feb-2023 09:48:25 Europe/Rome]   #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer, array) called at [<phabricator>/src/applications/config/controller/services/PhabricatorConfigClusterSearchController.php:87]
[28-Feb-2023 09:48:25 Europe/Rome]   #1 <#2> PhabricatorConfigClusterSearchController::renderStatusView(PhabricatorSearchService) called at [<phabricator>/src/applications/config/controller/services/PhabricatorConfigClusterSearchController.php:44]
[28-Feb-2023 09:48:25 Europe/Rome]   #2 <#2> PhabricatorConfigClusterSearchController::buildClusterSearchStatus() called at [<phabricator>/src/applications/config/controller/services/PhabricatorConfigClusterSearchController.php:18]
[28-Feb-2023 09:48:25 Europe/Rome]   #3 <#2> PhabricatorConfigClusterSearchController::handleRequest(AphrontRequest) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:284]
[28-Feb-2023 09:48:25 Europe/Rome]   #4 phlog(RuntimeException) called at [<phabricator>/src/aphront/handler/PhabricatorDefaultRequestExceptionHandler.php:41]
[28-Feb-2023 09:48:25 Europe/Rome]   #5 PhabricatorDefaultRequestExceptionHandler::handleRequestThrowable(AphrontRequest, RuntimeException) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:751]
[28-Feb-2023 09:48:25 Europe/Rome]   #6 AphrontApplicationConfiguration::handleThrowable(RuntimeException) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:296]
[28-Feb-2023 09:48:25 Europe/Rome]   #7 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:207]
[28-Feb-2023 09:48:25 Europe/Rome]   #8 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phabricator>/webroot/index.php:35]

What should happen instead:

Just seeing a page, I think.

The first phase would be to just fix this exception and then understand what to do then.

Related Objects

Event Timeline

valerio.bozzolan renamed this task from Fix RuntimeException "Undefined index" when visiting Search Servers using MySQL to Fix RuntimeException "Undefined index: icon" when visiting Search Servers using MySQL.Feb 28 2023, 09:07
valerio.bozzolan claimed this task.

I need a little help from a Phorge admin, to understand if this page also gives an exception now:

https://we.phorge.it/config/cluster/search/