Skip Navigation

[Resolved] Toolset Forms throws error when not adding a Featured Image

This support ticket is created 2 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by smileBeda 2 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#2051297

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 😐

#2051307

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!

#2051425

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

#2058465

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 🙂

#2078741

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

#2079145

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.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.