phacility/phabricator · error · PhabricatorSearchConstraintException
The specified "Created Before" date is earlier in time than
Error message
The specified "Created Before" date is earlier in time than the specified "Created After" date, so this query can never match any results.
What it means
Error "The specified "Created Before" date is earlier in time than the specified "Created After" date, so this query can never match any results." thrown in phacility/phabricator.
Source
Thrown at src/applications/feed/query/PhabricatorFeedTransactionSearchEngine.php:54
}
protected function buildQueryFromParameters(array $map) {
$query = $this->newQuery();
if ($map['authorPHIDs']) {
$query->withAuthorPHIDs($map['authorPHIDs']);
}
if ($map['objectTypes']) {
$query->withObjectTypes($map['objectTypes']);
}
$created_min = $map['createdStart'];
$created_max = $map['createdEnd'];
if ($created_min && $created_max) {
if ($created_min > $created_max) {
throw new PhabricatorSearchConstraintException(
pht(
'The specified "Created Before" date is earlier in time than the '.
'specified "Created After" date, so this query can never match '.
'any results.'));
}
}
if ($created_min || $created_max) {
$query->withDateCreatedBetween($created_min, $created_max);
}
return $query;
}
protected function getURI($path) {
return '/feed/transactions/'.$path;
}
View on GitHub (pinned to 5720a38cfe)
When it happens
Trigger: Thrown at src/applications/feed/query/PhabricatorFeedTransactionSearchEngine.php:54 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/6b791463f3dca11f.
Report an issue: GitHub.