phacility/phabricator · error · PhabricatorConfigValidationException

Config option "%s" is invalid. The timezone identifier must

Error message

Config option "%s" is invalid. The timezone identifier must be a valid timezone identifier recognized by PHP, like "%s".

What it means

Error "Config option "%s" is invalid. The timezone identifier must be a valid timezone identifier recognized by PHP, like "%s"." thrown in phacility/phabricator.

Source

Thrown at src/applications/config/option/PhabricatorCoreConfigOptions.php:324

        throw new PhabricatorConfigValidationException(
          pht(
            "Config option '%s' is invalid. The URI must NOT have a path, ".
            "e.g. '%s' is OK, but '%s' is not. This software must be '.
            'installed on an entire domain; it can not be installed on a path.",
            $key,
            'http://devtools.example.com/',
            'http://example.com/devtools/'));
      }
    }


    if ($key === 'phabricator.timezone') {
      $old = date_default_timezone_get();
      $ok = @date_default_timezone_set($value);
      @date_default_timezone_set($old);

      if (!$ok) {
        throw new PhabricatorConfigValidationException(
          pht(
            'Config option "%s" is invalid. The timezone identifier must '.
            'be a valid timezone identifier recognized by PHP, like "%s".',
            $key,
            'America/Los_Angeles'));
      }
    }
  }


}

View on GitHub (pinned to 5720a38cfe)

When it happens

Trigger: Thrown at src/applications/config/option/PhabricatorCoreConfigOptions.php:324 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/1607eaf63cd68616. Report an issue: GitHub.