Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Install issue #69

Closed
asadbek-fayzulloev opened this issue Aug 31, 2023 · 1 comment
Closed

[Bug]: Install issue #69

asadbek-fayzulloev opened this issue Aug 31, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@asadbek-fayzulloev
Copy link

What happened?

I cannot install lara-zeus pacakge because when I type "composer require lara-zeus/wind" command on terminal, it gives " Call to a member function hasPlugin() on null"

How to reproduce the bug

@php artisan package:discover --ansi

Error

Call to a member function hasPlugin() on null

at vendor/filament/filament/src/FilamentManager.php:535
531▕ }
532▕
533▕ public function hasPlugin(string $id): bool
534▕ {
➜ 535▕ return $this->getCurrentPanel()->hasPlugin($id);
536▕ }
537▕
538▕ public function hasProfile(): bool
539▕ {

  +10 vendor frames 

11 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation{closure}(Object(LaraZeus\Wind\WindServiceProvider))
+5 vendor frames

17 artisan:35
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Package Version

3.0.2

PHP Version

8.2

Laravel Version

10

Which operating systems does with happen with?

macOS

Notes

No response

@asadbek-fayzulloev asadbek-fayzulloev added the bug Something isn't working label Aug 31, 2023
@atmonshi
Copy link
Member

atmonshi commented Aug 31, 2023

It look like you have an older version of filament
Can you check by running:

php artisan about

or
composer show filament/filament

Edit:
you can update filament using:

composer require filament/filament:"^3.0-stable" -W

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants