{"record":{"id":"45725363149eabc2","repo":"phacility/phabricator","slug":"the-specified-occurs-before-date-is-earlier-in-t","errorCode":null,"errorMessage":"The specified \"Occurs Before\" date is earlier in time than the specified \"Occurs After\" date, so this query can never match any results.","messagePattern":"The specified \"Occurs Before\" date is earlier in time than the specified \"Occurs After\" date, so this query can never match any results\\.","errorType":"validation","errorClass":"PhabricatorSearchConstraintException","httpStatus":null,"severity":"error","filePath":"src/applications/feed/query/PhabricatorFeedSearchEngine.php","lineNumber":92,"sourceCode":"    }\n\n    if ($phids) {\n      $query->withFilterPHIDs($phids);\n    }\n\n    $range_min = $map['rangeStart'];\n    if ($range_min) {\n      $range_min = $range_min->getEpoch();\n    }\n\n    $range_max = $map['rangeEnd'];\n    if ($range_max) {\n      $range_max = $range_max->getEpoch();\n    }\n\n    if ($range_min && $range_max) {\n      if ($range_min > $range_max) {\n        throw new PhabricatorSearchConstraintException(\n          pht(\n            'The specified \"Occurs Before\" date is earlier in time than the '.\n            'specified \"Occurs After\" date, so this query can never match '.\n            'any results.'));\n      }\n    }\n\n    if ($range_min || $range_max) {\n      $query->withEpochInRange($range_min, $range_max);\n    }\n\n    return $query;\n  }\n\n  protected function getURI($path) {\n    return '/feed/'.$path;\n  }\n","sourceCodeStart":74,"sourceCodeEnd":110,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/feed/query/PhabricatorFeedSearchEngine.php#L74-L110","documentation":"Error \"The specified \"Occurs Before\" date is earlier in time than the specified \"Occurs After\" date, so this query can never match any results.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/feed/query/PhabricatorFeedSearchEngine.php:92 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"}