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

Undefined variable $getMaxParallelUploads #15325

Closed
DevMushref opened this issue Jan 12, 2025 · 2 comments
Closed

Undefined variable $getMaxParallelUploads #15325

DevMushref opened this issue Jan 12, 2025 · 2 comments

Comments

@DevMushref
Copy link

Package

filament/filament

Package Version

v3.2.133

Laravel Version

v11.0

Livewire Version

v3.4

PHP Version

PHP 8.2.27

Problem description

After the filament update, any form with FileUpload gives this error:
Undefined variable $getMaxParallelUploads

Expected behavior

Load the form as it used to

Steps to reproduce

15309 might caused the issue.

Reproduction repository (issue will be closed if this is not valid)

https://flareapp.io/share/353Dz1Km

Relevant log output

No response

Copy link

Hey @DevMushref! We're sorry to hear that you've hit this issue. 💛

However, it looks like you forgot to fill in the reproduction repository URL. Can you edit your original post and then we'll look at your issue?

We need a public GitHub repository which contains a Laravel app with the minimal amount of Filament code to reproduce the problem. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private / confidential, since we want a link to a separate, isolated reproduction. That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to include a database seeder with everything we need to set the app up quickly.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 12, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in Roadmap Jan 12, 2025
@astondihor
Copy link

astondihor commented Jan 13, 2025

I got the same error. Undefined variable $getMaxParallelUploads.
I have installed "filament/spatie-laravel-media-library-plugin" along side "joshembling/image-optimizer".

This error is gone when I removed "joshembling/image-optimize".

And from its README, it's said:

There are no plans to extend this plugin's lifetime beyond Filament v3. Please do not plan to use this in production if you are thinking of upgrading to Filament v4 when it is released in 2025.

Is there an alternative to optimize the image in FilamentPHP?
Any work around will be appreciated. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants