Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trait not found #21

Closed
alboxe opened this issue Mar 19, 2024 · 1 comment
Closed

Trait not found #21

alboxe opened this issue Mar 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@alboxe
Copy link

alboxe commented Mar 19, 2024

What happened?

When I use the optimize option I get the error Trait "Filament\Forms\Components\Concerns\HasUploadingMessage" not found.
The trait is not in \vendor\filament\forms\src\Concerns. When I put on comment 'use Concerns\HasUploadingMessage;' it's working fine. Version error?

How to reproduce the bug

Make a Filament form with Forms\Components\SpatieMediaLibraryFileUpload::make('images')
->image()->imageEditor()->optimize('webp')

Package Version

joshembling/image-optimizer 1.4.0 + Filament 3.1.47

PHP Version

8.2.15

Laravel Version

10.48

Which operating systems does with happen with?

Windows

Notes

No response

@alboxe alboxe added the bug Something isn't working label Mar 19, 2024
@joshembling
Copy link
Owner

Same issue described here

#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants