error brand logo and dark mode brand logo

hello, help this my code
No description
No description
6 Replies
Shaung Bhone
Shaung Bhone8mo ago
composer update?
han__hyung
han__hyung8mo ago
$ 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 --ansi

BadMethodCallException

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
$ 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 --ansi

BadMethodCallException

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
Shaung Bhone
Shaung Bhone8mo ago
change your filament version and update that
han__hyung
han__hyung8mo ago
thank you so much
Shaung Bhone
Shaung Bhone8mo ago
glad to help mark as solution please?
han__hyung
han__hyung8mo ago
yes