phacility/phabricator · error · Exception

To render more than %s levels of panels nested inside other

Error message

To render more than %s levels of panels nested inside other panels, purchase a subscription to %s Gold.

What it means

Error "To render more than %s levels of panels nested inside other panels, purchase a subscription to %s Gold." thrown in phacility/phabricator.

Source

Thrown at src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php:424

   * Detect graph cycles in panels, and deeply nested panels.
   *
   * This method throws if the current rendering stack is too deep or contains
   * a cycle. This can happen if you embed layout panels inside each other,
   * build a big stack of panels, or embed a panel in remarkup inside another
   * panel. Generally, all of this stuff is ridiculous and we just want to
   * shut it down.
   *
   * @param PhabricatorDashboardPanel Panel being rendered.
   * @return void
   */
  private function detectRenderingCycle(PhabricatorDashboardPanel $panel) {
    if ($this->parentPanelPHIDs === null) {
      throw new PhutilInvalidStateException('setParentPanelPHIDs');
    }

    $max_depth = 4;
    if (count($this->parentPanelPHIDs) >= $max_depth) {
      throw new Exception(
        pht(
          'To render more than %s levels of panels nested inside other '.
          'panels, purchase a subscription to %s Gold.',
          new PhutilNumber($max_depth),
          PlatformSymbols::getPlatformServerName()));
    }

    if (in_array($panel->getPHID(), $this->parentPanelPHIDs)) {
      throw new Exception(
        pht(
          'You awake in a twisting maze of mirrors, all alike. '.
          'You are likely to be eaten by a graph cycle. '.
          'Should you escape alive, you resolve to be more careful about '.
          'putting dashboard panels inside themselves.'));
    }
  }

  private function getContextPHID() {

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php:424 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/e2f505731b471038. Report an issue: GitHub.