Hasnayeen / themes

Themes for Filament panels.
MIT License
233 stars 31 forks source link

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

Closed daab closed 1 year ago

daab commented 1 year 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 1 year ago

@daab upgrade to latest filament

daab commented 1 year 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 1 year ago

What's your filament version number?

daab commented 1 year 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.