{"record":{"id":"cd34925ea5b1c921","repo":"filamentphp/filament","slug":"global-search-provider-provider-does-not-implem","errorCode":null,"errorMessage":"Global search provider {$provider} does not implement the [Filament\\GlobalSearch\\Providers\\Contracts\\GlobalSearchProvider] interface.","messagePattern":"Global search provider (.+?) does not implement the \\[Filament\\\\GlobalSearch\\\\Providers\\\\Contracts\\\\GlobalSearchProvider\\] interface\\.","errorType":"exception","errorClass":"InvalidArgumentException","httpStatus":null,"severity":"error","filePath":"packages/panels/src/Panel/Concerns/HasGlobalSearch.php","lineNumber":34,"sourceCode":"    protected GlobalSearchPosition | Closure | null $globalSearchPosition = null;\n\n    protected string | Closure | null $globalSearchDebounce = null;\n\n    /**\n     * @var array<string>\n     */\n    protected array $globalSearchKeyBindings = [];\n\n    protected string | bool $globalSearchProvider = true;\n\n    protected string | Closure | null $globalSearchFieldSuffix = null;\n\n    protected bool $isGlobalSearchResourceOptIn = false;\n\n    public function globalSearch(string | bool $provider = true, GlobalSearchPosition | Closure | null $position = null): static\n    {\n        if (is_string($provider) && (! in_array(GlobalSearchProvider::class, class_implements($provider)))) {\n            throw new InvalidArgumentException(\"Global search provider {$provider} does not implement the [\" . GlobalSearchProvider::class . '] interface.');\n        }\n\n        $this->globalSearchProvider = $provider;\n        $this->globalSearchPosition = $position;\n\n        return $this;\n    }\n\n    public function globalSearchDebounce(string | Closure | null $debounce): static\n    {\n        $this->globalSearchDebounce = $debounce;\n\n        return $this;\n    }\n\n    /**\n     * @param  array<string>  $keyBindings\n     */","sourceCodeStart":16,"sourceCodeEnd":52,"githubUrl":"https://github.com/filamentphp/filament/blob/53483fa9340e4ec637985fe454ebb58afb92ea24/packages/panels/src/Panel/Concerns/HasGlobalSearch.php#L16-L52","documentation":"Error \"Global search provider {$provider} does not implement the [Filament\\GlobalSearch\\Providers\\Contracts\\GlobalSearchProvider] interface.\" thrown in filamentphp/filament.","triggerScenarios":"Thrown at packages/panels/src/Panel/Concerns/HasGlobalSearch.php:34 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":"53483fa9340e4ec637985fe454ebb58afb92ea24","analyzedAt":"2026-08-17T02:06:23.049Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}