phacility/phabricator · error · Exception

Project icons must include one icon marked as the "%s" icon,

Error message

Project icons must include one icon marked as the "%s" icon, but no such icon exists.

What it means

Error "Project icons must include one icon marked as the "%s" icon, but no such icon exists." thrown in phacility/phabricator.

Source

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

                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'));
    }

    if ($milestone === null) {
      throw new Exception(
        pht(
          'Project icons must include one icon marked with special attribute '.
          '"%s", but no such icon exists.',
          self::SPECIAL_MILESTONE));
    }

  }

  private static function getColorSpecifications() {
    return PhabricatorEnv::getEnvConfig('projects.colors');

View on GitHub (pinned to 5720a38cfe)

When it happens

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