Skip Navigation

[Resolved] Since last update, forms delete featured image when post is updated

This support ticket is created 5 years, 2 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 15 replies, has 3 voices.

Last updated by Christian Cox 3 years, 7 months ago.

Assisted by: Christian Cox.

Author
Posts
#1328989
bug.jpg

Since your last update:
When saving a post through toolset forms my featured images gets removed.
You added this feature: "Use the WordPress Media Library manager for image, video, audio, or file fields" in forms. When I activate it, posts with featured images cannot be updated anymore. The error: "You can only upload an image file" even though there is an image already. What could the problem be? This is vital for my website...
Please help.

On the screenshot you can see, that there actually is an image - but it won't allow me to save it because of the validation. is there any way around it?

#1328999

Hi, I'll be glad to help figure this out. Can you try these troubleshooting steps first?
- Clear your browser cache.
- Temporarily deactivate all plugins except Types, Views, Layouts, and Forms. Activate a default theme like Twenty Nineteen.
- Test again.
- If the problem is resolved, reactivate your parent theme, then child theme, then other plugins one by one until the problem returns.
- If the problem is not resolved, please edit this post with Forms. Remove the current Featured Image and try to upload a new Featured Image file. Does this work as expected?
- Remove the Featured Image again and try to select the former featured image (as shown in your screenshot) once again from the Media Library. Does this work as expected?
- Go in the the Media Library and find the featured image (as shown in your screenshot). Copy + paste the image URL here for me to review.

Let me know the results and we can go from there.

#1329001

Hi Cristian,
thanks. "- If the problem is not resolved, please edit this post with Forms. Remove the current Featured Image and try to upload a new Featured Image file. Does this work as expected?" --> I did and that does work - but it won't allow me to save the post without updating the image - on every post, regardless of the image file type.
Image URL: hidden link

#1329011

To be clear, this URL is copied from the "File URL" input field in the Edit Media page corresponding to this image, correct? I'm attaching a screenshot here that shows the information I need. My guess is that the URL parameters at the end of the URL are causing a problem with Forms' image validation system, and I just want to be sure I have all the information. I assume those params are added to work with Jetpack's image delivery system.

#1329027

that's correct

#1329683

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Markus,

Christian is currently on holiday today but will return tomorrow to assist with this.

Thanks,
Shane

#1330499

May I log in to see how you have Jetpack configured? I would like to try to reproduce this issue on my own environment. Please provide login credentials in the private reply fields here.

#1330851
2019-09-03_LI.jpg

Hi, thanks for the reply. Unfortunately I cannot give you access to our live system because of privacy reasons. I can give you all screenshots you need.

If I turn the Jetpack Image Server off, it works just fine. But that is just a permanent workaround.

#1330927

Okay thanks, I have escalated this to my 2nd tier team for further investigation. I was able to replicate this with the basic Jetpack plan on my own local site, so I don't need additional access to your site at this time. I'll let you know what I find out and we can go from there.

#1340183

Hey Christian, please let me know as soon as this issue is fixed. I really need to turn that image server back on.

#1340563

Yes, definitely. I will update you as soon as I have a workaround or other timeline update.

#1544911

Never mind. It was still the same issue. Jetpack just turned itself on again. But anyhow, I would very much appreciate you guys fixing this issue...

#1546005

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Markus,

Christian is currently unavailable today but will be back tomorrow to continue assisting with this ticket.

Thanks,
Shane

#1547459

Hi, I was running some tests today to see if recent updates to Forms had improved this situation but the problem is not fully resolved yet. The Form will now submit without displaying an error, but the selected image will be deleted from the post when you submit the Form. You could submit the Form again to add it back, but it's tedious. I'll see if I can get some traction on this issue by asking our team leader to look into it.

#1940921

Our developers have informed me that the fix for this issue will be included in Forms 2.6.8, which is not the next upcoming release but the following release. I will keep you posted here as I receive more information about that schedule.