phacility/phabricator · error · Exception

Footer item with index "%s" is invalid: each item must be a

Error message

Footer item with index "%s" is invalid: each item must be a dictionary describing a footer item.

What it means

Error "Footer item with index "%s" is invalid: each item must be a dictionary describing a footer item." thrown in phacility/phabricator.

Source

Thrown at src/applications/config/custom/PhabricatorCustomUIFooterConfigType.php:16

<?php

final class PhabricatorCustomUIFooterConfigType
  extends PhabricatorConfigJSONOptionType {

  public function validateOption(PhabricatorConfigOption $option, $value) {
    if (!is_array($value)) {
      throw new Exception(
        pht(
          'Footer configuration is not valid: value must be a list of '.
          'items.'));
    }

    foreach ($value as $idx => $item) {
      if (!is_array($item)) {
        throw new Exception(
          pht(
            'Footer item with index "%s" is invalid: each item must be a '.
            'dictionary describing a footer item.',
            $idx));
      }

      try {
        PhutilTypeSpec::checkMap(
          $item,
          array(
            'name' => 'string',
            'href' => 'optional string',
          ));
      } catch (Exception $ex) {
        throw new Exception(
          pht(
            'Footer item with index "%s" is invalid: %s',
            $idx,

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/config/custom/PhabricatorCustomUIFooterConfigType.php:16 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/6602f16d99a1b802. Report an issue: GitHub.