10 Replies
Solution
composer update
?It's work! Thanks
composer update
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating optimized autoload files
Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover --ansiBadMethodCallException Method Filament\Panel::brandLogo does not exist. at vendor\filament\support\src\Concerns\Macroable.php:72 68▕ { 69▕ $macro = static::getMacro($method); 70▕ 71▕ if ($macro === null) { ➜ 72▕ throw new BadMethodCallException(sprintf( 73▕ 'Method %s::%s does not exist.', 74▕ static::class, 75▕ $method, 76▕ )); i Bad Method Call: Did you mean Filament\Panel::brandName() ? 1 app\Providers\Filament\AdminPanelProvider.php:35 Filament\Support\Components\Component::__call("brandLogo") 2 vendor\filament\filament\src\PanelProvider.php:16 App\Providers\Filament\AdminPanelProvider::panel(Object(Filament\Panel)) Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1 error my code
comment this brandLogo() line and update the composer.
delete lock file and update?
composer update
what's your filament version?
That's mine
my filament version
it's working, thank you very much
You limited yourself to the first version of v3 with that. Look up how composer constraints work.