Closed valentin-harrang closed 7 months ago
The option exists, it's even listed in your error message. It's not even defined in this bundle, so there's nothing to do here. Moreover, according to the policy declared in the documentation, there's no support for Symfony versions in EOL. I can only suggest to upgrade to Symfony 5.4
@garak I upgraded to Symfony 5.4.35 and Vich Uploader 1.23.1 but same error.
What's strange is that the error isn't present in the dev environment. The error is only present in the prod environment. If I clear the cache and refresh the page once it works but if I refresh a second time I get the error.
@garak Upgrade Easy Admin 2 to Easy Admin 3 has solved my problem.
Support Question
I have a Symfony project in version 5.0.11 on which I use the Vich Uploader bundle in version 1.12 (a fairly old version 😅). There's a problem that I haven't been able to fix, I need your help please.
When I click on a button that should display a form I get a 500 error with this message in prod.log:
If I switch to "dev" mode in the .env.local file I don't get any more errors, I can access the page. If I delete the cache and refresh the web page it works but if I refresh it a 2nd time I get the 500 error again. It's a rather strange problem and I haven't found an answer in the issues or anything else.
My form:
I tried to comment
'required' => false,
but same problem.Thanks in advance