File Upload – Broken after v 1.17.2 – Hook with handle_upload
-
Hiya, file upload error reporting has been broken in every update since v1.17.2.
Keeps saying no file, or failed to save file. The error is different in different versions.But the key part to getting the error to show up is a custom hook firing a certain function.
I have a hook on “forminator_custom_form_submit_field_data”
That hits a function to process the form in a way the Plugin can’t.So the form has a file upload for an image, and it also processes the image.
If the hook fires any WordPress handle upload i.e. wp_handle_upload() or wp_handle_sideload() or media_handle_upload().The form errors out. And give a message that it failed to submit even though it did.
- The topic ‘File Upload – Broken after v 1.17.2 – Hook with handle_upload’ is closed to new replies.