phacility/phabricator · error · Exception

Application search engines of class "%s" can not be used to

Error message

Application search engines of class "%s" can not be used to build dashboard panels.

What it means

Error "Application search engines of class "%s" can not be used to build dashboard panels." thrown in phacility/phabricator.

Source

Thrown at src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php:202

      ->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,
    PhabricatorUser $viewer,
    $context_phid) {
    $actions = array();

    $engine = $this->getSearchEngine($panel);

    $customize_uri = $engine->getCustomizeURI(

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php:202 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/151dfce87b9ea4cc. Report an issue: GitHub.