{"record":{"id":"7d695ff127190bdc","repo":"phacility/phabricator","slug":"logo-configuration-is-not-valid-value-must-be-a-d","errorCode":null,"errorMessage":"Logo configuration is not valid: value must be a dictionary.","messagePattern":"Logo configuration is not valid: value must be a dictionary\\.","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/config/custom/PhabricatorCustomLogoConfigType.php","lineNumber":18,"sourceCode":"<?php\n\nfinal class PhabricatorCustomLogoConfigType\n  extends PhabricatorConfigOptionType {\n\n  public static function getLogoImagePHID() {\n    $logo = PhabricatorEnv::getEnvConfig('ui.logo');\n    return idx($logo, 'logoImagePHID');\n  }\n\n  public static function getLogoWordmark() {\n    $logo = PhabricatorEnv::getEnvConfig('ui.logo');\n    return idx($logo, 'wordmarkText');\n  }\n\n  public function validateOption(PhabricatorConfigOption $option, $value) {\n    if (!is_array($value)) {\n      throw new Exception(\n        pht(\n          'Logo configuration is not valid: value must be a dictionary.'));\n    }\n\n    PhutilTypeSpec::checkMap(\n      $value,\n      array(\n        'logoImagePHID' => 'optional string|null',\n        'wordmarkText' => 'optional string|null',\n      ));\n  }\n\n  public function readRequest(\n    PhabricatorConfigOption $option,\n    AphrontRequest $request) {\n\n    $viewer = $request->getViewer();\n    $view_policy = PhabricatorPolicies::POLICY_PUBLIC;","sourceCodeStart":1,"sourceCodeEnd":36,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/config/custom/PhabricatorCustomLogoConfigType.php#L1-L36","documentation":"Error \"Logo configuration is not valid: value must be a dictionary.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/config/custom/PhabricatorCustomLogoConfigType.php:18 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}