F
Filament15mo ago
myster

BrandLogo

Hello, I'm having problems using the brandLogo() and DarkModeBrandLogo() functions. https://flareapp.io/share/V7jWLkO5 How do I fix this?
Flare
Method Filament\Panel::brandLogo does not exist. - The error occurred at http://127.0.0.1:8000/admin/respostas-padraos
Solution:
Your filament version is probably locked at 3.0.0
Jump to solution
9 Replies
awcodes
awcodes15mo ago
update your filament version. composer update
myster
mysterOP15mo ago
I did this but the same error remains. Like the command:
php artisan about
php artisan about
I see my filament is still in version 3.00 How do I put it in the current version since:
php artisan filament:upgrade
php artisan filament:upgrade
It's not being sufficient.
No description
Solution
Thijmen
Thijmen15mo ago
Your filament version is probably locked at 3.0.0
Thijmen
Thijmen15mo ago
Make sure it has a ^ in front of the version in composer.json After that run composer update
myster
mysterOP15mo ago
No description
myster
mysterOP15mo ago
my composer.json looks like this.
Thijmen
Thijmen15mo ago
Put a ^ in front of it Because you locked the version now brandLogo was added above 3.60.0 i believe
awcodes
awcodes15mo ago
Latest is 3.0.80. You’re way behind. 😃 Thijmen is correct. Either change filament to “^3.0.0” or “3.0.80” if you need to lock it to a specific version. You also don’t need “-stable” anymore. You also don’t need info lists and widgets. They are included with filament/filament
myster
mysterOP15mo ago
Thanks for the help guys

Did you find this page helpful?