phacility/phabricator · error · Exception

Attempting to use a panel in a way that requires an…

Error message

Attempting to use a panel in a way that requires an implementation, but the panel implementation ("%s") is unknown.

What it means

Lookup guard in PhabricatorDashboardPanel::requireImplementation(): the panel's panelType key has no matching entry in the registry of PhabricatorDashboardPanelType classes. Callers that need a concrete implementation (edit fields, headers, container logic) cannot proceed with a panel whose type is unknown — typically after disabling the providing application or corrupt type data.

Solutions

  1. Re-enable the application that provides this panel type
  2. Change the panel's type to one that is currently installed
  3. Delete the unusable panel if its type is permanently unavailable
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/applications/dashboard/storage/PhabricatorDashboardPanel.php:96 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/57e5bcc873eecede. Report an issue: GitHub.

Appendix: source

Thrown at src/applications/dashboard/storage/PhabricatorDashboardPanel.php:96

    $statuses =
      array(
        '' => pht('(All Panels)'),
        'active' => pht('Active Panels'),
        'archived' => pht('Archived Panels'),
      );
    return $statuses;
  }

  public function getImplementation() {
    return idx(
      PhabricatorDashboardPanelType::getAllPanelTypes(),
      $this->getPanelType());
  }

  public function requireImplementation() {
    $impl = $this->getImplementation();
    if (!$impl) {
      throw new Exception(
        pht(
          'Attempting to use a panel in a way that requires an '.
          'implementation, but the panel implementation ("%s") is unknown.',
          $this->getPanelType()));
    }
    return $impl;
  }

  public function getEditEngineFields() {
    return $this->requireImplementation()->getEditEngineFields($this);
  }

  public function newHeaderEditActions(
    PhabricatorUser $viewer,
    $context_phid) {
    return $this->requireImplementation()->newHeaderEditActions(
      $this,
      $viewer,

View on GitHub (pinned to 5720a38cfe)