When using __construct at list page for resources, appear error: Too few arguments to function #46
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
javascript
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pxlrbt/filament-spotlight#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Too few arguments to function App\Filament\Resources[ResourcesName]\Pages\ListData::__construct(), 0 passed in /Users/zyel/Herd/project-name/vendor/pxlrbt/filament-spotlight/src/Commands/ResourceCommand.php on line 40 and exactly 1 expected
You can exclude that page via
shouldRegisterSpotlight()( as Spotlight doesn't know what arguments it requires.https://github.com/pxlrbt/filament-spotlight?tab=readme-ov-file#excluding-pages
Thank's, already have in docs, sorry 😅😅