phacility/phabricator · error · Exception

Two different icons ("%s", "%s") are marked with special att

Error message

Two different icons ("%s", "%s") are marked with special attribute "%s". Only one icon may be marked with this attribute.

What it means

Error "Two different icons ("%s", "%s") are marked with special attribute "%s". Only one icon may be marked with this attribute." thrown in phacility/phabricator.

Source

Thrown at src/applications/project/icon/PhabricatorProjectIconSet.php:321

              $original_key));
        }
      }

      $special = idx($value, 'special');
      if ($special === self::SPECIAL_MILESTONE) {
        if ($milestone === null) {
          if ($is_disabled) {
            throw new Exception(
              pht(
                'The project icon ("%s") with special attribute "%s" must '.
                'not be disabled',
                $key,
                self::SPECIAL_MILESTONE));
          }
          $milestone = $value;
        } else {
          $original_key = $milestone['key'];
          throw new Exception(
            pht(
              'Two different icons ("%s", "%s") are marked with special '.
              'attribute "%s". Only one icon may be marked with this '.
              'attribute.',
              $key,
              $original_key,
              self::SPECIAL_MILESTONE));
        }
      }
    }

    if ($default === null) {
      throw new Exception(
        pht(
          'Project icons must include one icon marked as the "%s" icon, '.
          'but no such icon exists.',
          'default'));
    }

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/project/icon/PhabricatorProjectIconSet.php:321 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/ff76f75d56c4020f. Report an issue: GitHub.