Hasnayeen / themes

Themes for Filament panels.
MIT License
217 stars 30 forks source link

[Bug]: Call to undefined method Filament\Support\Colors\Color::all() #27

Closed daab closed 11 months ago

daab commented 11 months ago

What happened?

Method all() no exist in filament 3.0-stable

How to reproduce the bug

Install and run

Package Version

3.x

Filament Version

3.x

PHP Version

8.2

Laravel Version

10.28.0

Notes

Error

Hasnayeen commented 11 months ago

@daab upgrade to latest filament

daab commented 11 months ago

Filament\Support\Colors\Color; does not have the method all()

public function getThemeColor(): array
{
    return Arr::except(Color::all(), ['gray', 'zinc', 'neutral', 'stone']);
}

I upgraded to the latest version of Filament.

Hasnayeen commented 11 months ago

What's your filament version number?

daab commented 11 months ago

I made a new installation of Laravel with filament and it worked fine without error. In the project we are developing it gives the error. Keep investigating. Mysteries give me life. Thanks for your support.

Mingo.