phacility/phabricator · error · Exception
Project icons must include one icon marked with special attr
Error message
Project icons must include one icon marked with special attribute "%s", but no such icon exists.
What it means
Error "Project icons must include one icon marked with special attribute "%s", but no such icon exists." thrown in phacility/phabricator.
Source
Thrown at src/applications/project/icon/PhabricatorProjectIconSet.php:342
'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');
}
public static function getColorMap() {
$specifications = self::getColorSpecifications();
return ipull($specifications, 'name', 'key');
}
public static function getDefaultColorKey() {View on GitHub (pinned to 5720a38cfe)
When it happens
Trigger: Thrown at src/applications/project/icon/PhabricatorProjectIconSet.php:342 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/c8bbf15bb2611162.
Report an issue: GitHub.