verbb / formie

The most user-friendly forms plugin for Craft CMS.
Other
93 stars 68 forks source link

File Upload throws error in 3.0.0-beta.15 #1934

Open cookie10codes opened 1 week ago

cookie10codes commented 1 week ago

Describe the bug

When I use the File Upload field inside of formie with Client Side validation, I get a 500 error. Looking into the network tab, it throws the issue on FileUpload.php

Screenshot 2024-06-17 at 15 20 23

Steps to reproduce

  1. Drag File Upload on my form builder
  2. Fill in all fields and select a file
  3. Save fails

Form settings

Craft CMS version

Craft Pro 5.2.0

Plugin version

3.0.0-beta.15

Multi-site?

No

Additional context

No response

engram-design commented 1 week ago

I assume you have the throw-error-on-deprecation setting enabled? A deprecation warning shouldn't otherwise throw an error like this.

But the underlying deprecated should be fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-5 as 3.0.0-beta.15".

cookie10codes commented 1 week ago

Exactly, I have the deprecation check on DEV_MODE. Thanks 👍🏼