{"record":{"id":"0fcf598031f86fc1","repo":"doctrine/orm","slug":"filter-s-does-not-exist","errorCode":null,"errorMessage":"Filter '%s' does not exist.","messagePattern":"Filter '(.+?)' does not exist\\.","errorType":"exception","errorClass":"InvalidArgumentException","httpStatus":null,"severity":"error","filePath":"src/Query/FilterCollection.php","lineNumber":94,"sourceCode":"     * Gets all the suspended filters.\n     *\n     * @return SQLFilter[] The suspended filters.\n     * @phpstan-return array<string, SQLFilter>\n     */\n    public function getSuspendedFilters(): array\n    {\n        return $this->suspendedFilters;\n    }\n\n    /**\n     * Enables a filter from the collection.\n     *\n     * @throws InvalidArgumentException If the filter does not exist.\n     */\n    public function enable(string $name): SQLFilter\n    {\n        if (! $this->has($name)) {\n            throw new InvalidArgumentException(\"Filter '\" . $name . \"' does not exist.\");\n        }\n\n        if (! $this->isEnabled($name)) {\n            $filterClass = $this->config->getFilterClassName($name);\n\n            assert($filterClass !== null);\n\n            $this->enabledFilters[$name] = new $filterClass($this->em);\n\n            // In case a suspended filter with the same name was forgotten\n            unset($this->suspendedFilters[$name]);\n\n            // Keep the enabled filters sorted for the hash\n            ksort($this->enabledFilters);\n\n            $this->setFiltersStateDirty();\n        }\n","sourceCodeStart":76,"sourceCodeEnd":112,"githubUrl":"https://github.com/doctrine/orm/blob/d9b9ff73016bf598ae07515f97289ce8074e97a5/src/Query/FilterCollection.php#L76-L112","documentation":"Error \"Filter '%s' does not exist.\" thrown in doctrine/orm.","triggerScenarios":"Thrown at src/Query/FilterCollection.php:94 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":"d9b9ff73016bf598ae07515f97289ce8074e97a5","analyzedAt":"2026-08-21T06:13:15.863Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}