[Issue] Class "App\Providers\Filament\SpotlightPlugin" not found? #51

Closed
opened 2024-12-19 10:21:08 +00:00 by iamdadmin · 4 comments
iamdadmin commented 2024-12-19 10:21:08 +00:00 (Migrated from github.com)

I might've just done something wrong but I followed the installation instructions, added it to the panel plugins, and got this:

image

I might've just done something wrong but I followed the installation instructions, added it to the panel plugins, and got this: ![image](https://github.com/user-attachments/assets/2d5cba97-94af-4f35-bb31-be5c4e3be6cc)
iamdadmin commented 2024-12-19 13:38:44 +00:00 (Migrated from github.com)

Changing it to

\pxlrbt\FilamentSpotlight\SpotlightPlugin::make()

fixes.

Documentation needs update!

Changing it to ```\pxlrbt\FilamentSpotlight\SpotlightPlugin::make()``` fixes. Documentation needs update!
iamdadmin commented 2024-12-19 14:26:01 +00:00 (Migrated from github.com)

Okay so I missed out putting the 'use' statement. This is a PEBKAC. Nothing to see here.

Okay so I missed out putting the 'use' statement. This is a PEBKAC. Nothing to see here.
pxlrbt commented 2024-12-20 13:25:13 +00:00 (Migrated from github.com)

Usually any IDE should catch this or prompt you to import the class 😅

Usually any IDE should catch this or prompt you to import the class 😅
iamdadmin commented 2024-12-20 13:43:37 +00:00 (Migrated from github.com)

Yeah my linter actually REMOVED the use line a bit aggressively which is why I THOUGHT I'd followed the instructions but it still went wrong! I yeeted the linter... all good now. Sorry :D

Yeah my linter actually REMOVED the use line a bit aggressively which is why I THOUGHT I'd followed the instructions but it still went wrong! I yeeted the linter... all good now. Sorry :D
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pxlrbt/filament-spotlight#51
No description provided.