Cannot add a Plugin. (Breezy)
Herkese merhaba,
I am trying to include the breezy package in my panel but I always get this error.
https://github.com/jeffgreco13/filament-breezy/issues/324
Call to a member function getPlugin() on null at vendor/filament/filament/src/FilamentManager.php:282
Versions:
Breezy: v2.2.5.1
Laravel: 10.41.0
PHP: 8.2.14
Filament: 3.2.2
GitHub
Call to a member function getPlugin() on null · Issue #324 · jeff...
Call to a member function getPlugin() on null at vendor/filament/filament/src/FilamentManager.php:282 My Panel Code is: return $panel ->id('dashboard') ->path('dashboard') -&g...
16 Replies
you missed something when installing the package
Actually I installed it like this, I just didn't do anything extra.
sail composer require jeffgreco13/filament-breezy -W
maybe read the installation guide?
Yes, i do. Do you need Sanctum installed?
no you haven't read the installation part
https://github.com/jeffgreco13/filament-breezy#installation
php artisan breezy:install I also ran this.
I did all those steps but the error repeats itself.
Which step do you think I missed?
just tried on a fresh install everything works
Can you supply how you included the breezy plugin in your filament panel?
Sure,
1 - composer require jeffgreco13/filament-breezy
2 - php artisan breezy:install
* This creates one breezy_sessions migration. And I run it.
3 - I plant it in my panel provider.
* ->plugin(
BreezyCore::make()
)
I tried to look at your demo, but are you missing files? eg. PanelProvider
https://github.com/LaravelDaily/Laravel-Filament-Plugins-Demo
GitHub
GitHub - LaravelDaily/Laravel-Filament-Plugins-Demo
Contribute to LaravelDaily/Laravel-Filament-Plugins-Demo development by creating an account on GitHub.
this link is with filament v2 not v3
I am new to Filament, I have been working for 1 week, I have been following your lessons. I was not aware of the version differences.
Does it work if you change the code in your panel to:
No
I tried this
probably you made a mistake somewhere else then, hard to debug. What krekas said, I would delete everything and start over again and follow the instructies to the letter.
I think I found the error, I installed from scratch and it worked directly. but in the faulty panel my user id is in UUID format, in the successful installation it is in normal integer format.