We have a form that creates CPTs and has a Featured Image Field included.
Featured images are not required.
Up and until Forms 2.6.7 (at least) the Form worked well even if we did not provision a Featured Image on form submit.
Since 2.6.7 the Form will throw an error ("You can only upload an image file") if we do not provision a Featured Image on form submit. If we provision a featured Image the form works well.
Steps:
1. Create a CPT, make sure to enable Featured Image.
2. Create a form to add new such CPT.
3. Submit form in front end without featured image added.
Here is a Duplicator illustrating the issue too (form is on sample page)
hidden link
I would be rather cool to have a prompt fix to this bug, the client is blocked by it and planned to move the project to deploy it to hundreds of sites (it is an SaaS so there's not just one case).
We waited on purpose for almost a month with the update, in fear of bugs... now the client caught the issue within a few hours since we deployed the update. And of course it affects more than one site already 😐
I just found this https://toolset.com/errata/validation-error-if-image-field-is-blank-when-not-using-wp-media-uploader/
Seems not even using a Custom Field we could resolve this.
Will follow up there, however letting this open here in order to express the urgency of this issue 😉
Thanks!
Hello,
Thanks for the feedback, I have added this thread into YT, and this issue is fixed in Toolset Forms plugin 2.6.9, which will be released soon
This was released hence assumed solved.
Didn't test but had the beta installed in which it was solved.
I can't resolve the ticket here myself, no such option, also you might want to fix this message:
"This thread is marked as fixed in next release. Support staff may not reply to more posts. If you need further assistance from our staff, please start a new thread."
I don't think you really mean that 🙂
Toolset Forms 2.6.9 has already released, you can download it here:
https://toolset.com/account/downloads/
Please test it and feedback if the problem is fixed, thanks
I did that almost a month ago already:
https://toolset.com/errata/validation-error-if-image-field-is-blank-when-not-using-wp-media-uploader/#comment-642101
(which BTW is also still open, just like this ticket was until today.)
Perhaps you read my message again here https://toolset.com/forums/topic/toolset-forms-throws-error-when-not-adding-a-featured-image/#post-2058465 which outlines a problem in your forum. But then, maybe it doesn't matter.
Cheers.