phacility/phabricator · error · Exception

No column ordering exists with key

Error message

No column ordering exists with key "%s".

What it means

Lookup failure in PhabricatorProjectColumnOrder::getOrderByKey: the requested ordering key is not present in the map built from all registered order implementations, so no column ordering exists for it.

Solutions

  1. Check the key for typos and use one returned by getAllOrders()/getEnabledOrders().
  2. If a custom order was removed, restore it or update the code/configuration that references the old key.
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/applications/project/order/PhabricatorProjectColumnOrder.php:45 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/790a8be929b80e01. Report an issue: GitHub.

Appendix: source

Thrown at src/applications/project/order/PhabricatorProjectColumnOrder.php:45

  }

  final public static function getEnabledOrders() {
    $map = self::getAllOrders();

    foreach ($map as $key => $order) {
      if (!$order->isEnabled()) {
        unset($map[$key]);
      }
    }

    return $map;
  }

  final public static function getOrderByKey($key) {
    $map = self::getAllOrders();

    if (!isset($map[$key])) {
      throw new Exception(
        pht(
          'No column ordering exists with key "%s".',
          $key));
    }

    return $map[$key];
  }

  final public function getColumnTransactions($object, array $header) {
    $result = $this->newColumnTransactions($object, $header);

    if (!is_array($result) && !is_null($result)) {
      throw new Exception(
        pht(
          'Expected "newColumnTransactions()" on "%s" to return "null" or a '.
          'list of transactions, but got "%s".',
          get_class($this),
          phutil_describe_type($result)));

View on GitHub (pinned to 5720a38cfe)