phacility/phabricator · error · Exception
The application search engine
Error message
The application search engine "%s" is unknown.
What it means
Lookup guard in getSearchEngine(): the panel's 'class' property does not resolve to any registered PhabricatorApplicationSearchEngine subclass — the engine stored on the panel is no longer available (removed application, renamed class, corrupt panel data).
Solutions
- Edit the panel and select a currently available application search engine
- If the application was removed or renamed, delete or reconfigure the panel
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php:195 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21).
Data as JSON: /api/errors/fa138edfb2ffba0a.
Report an issue: GitHub.
Appendix: source
Thrown at src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php:195
->setIcon('fa-search');
$button = id(new PHUIButtonView())
->setTag('a')
->setText(pht('View All'))
->setIcon($icon)
->setHref($href)
->setColor(PHUIButtonView::GREY);
$header->addActionLink($button);
return $header;
}
private function getSearchEngine(PhabricatorDashboardPanel $panel) {
$class = $panel->getProperty('class');
$engine = PhabricatorApplicationSearchEngine::getEngineByClassName($class);
if (!$engine) {
throw new Exception(
pht(
'The application search engine "%s" is unknown.',
$class));
}
if (!$engine->canUseInPanelContext()) {
throw new Exception(
pht(
'Application search engines of class "%s" can not be used to build '.
'dashboard panels.',
$class));
}
return $engine;
}
public function newHeaderEditActions(
PhabricatorDashboardPanel $panel,View on GitHub (pinned to 5720a38cfe)