Skip Navigation

[Resolved] Featured image getting lost from editing custom post type

This support ticket is created 4 years, 7 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 24 replies, has 2 voices.

Last updated by donC-3 4 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#1594483

I've got a custom post type set up and using the edit post form. I include the featured image and it shows when editing but when I save, it loses the featured image (have to go back and reupload). What am I missing or what would cause this?

#1594857

Shane
Supporter

Languages: English (English )

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

Hi Don,

Thank you for getting in touch.

I'll be more than happy to assist you with this issue. Given that the debug data was not provided for this forum thread I'm not able to get an idea of your website setup.

However in a case like this we would recommend that you try a minimal install on your site. This means that you would temporarily disable all your non-toolset plugins and try replicating the issue again.

Once you've done this please let me know if the issue remains and we can move on from there.

Thanks,
Shane

#1594873

I'm going to do some testing. For debug, would a normal WP debug log be what you need or something more?

#1594917

Shane
Supporter

Languages: English (English )

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

Hi Don,

The debug information i'm referring to is for toolset.

It actually provides us with a basic look at your website setup such as installed theme, plugins, wordpress version etc.

You can provide this by following the instructions in the link below.
https://toolset.com/faq/provide-debug-information-faster-support/

Thanks,
Shane

#1594919

There you go. Going to dup my site and play with the staging and see what I can find.

#1594985

I can get you more debug if needed but i changed the them to Twenty Twenty and disabled all but a few plugins(all toolset ones - blocks, types, forms and access). And I still have the issue.

But what's weird is on my staging environment I don't get the problem. And it only impacts the featured image, I have 2 custom image properties on the type and those don't get lost.

If needed I can give you access to poke around (site isn't launched yet).

Let me know.

#1595087

FYI, I had my host turn off caching and that didn't help either. Just don't get it.

#1595089

Whoops, submitted before I posted that for now I changed the form to use a custom image but will change back if you want access to test.

#1595781

Shane
Supporter

Languages: English (English )

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

Hi Don,

Sorry for the delay in response as my shift had closed before you responded.

Yes please provide me access to the site where the issue can be seen and also let me know the post type that is having the issue so that i can test it out.

Thanks,
Shane

#1596355

Just checking in. Saw you logged in but not sure if you're still trying or not (site is marked as down - not a big deal and upload page isn't uploading any new images). If you can't get it working I can go with the backup plan to use a custom image as the primary everywhere.

#1596409

Shane
Supporter

Languages: English (English )

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

Hi Don,

I've been doing some testing to see what is happening but I will be needing a copy of your site to test here locally.

With your permission I would like to create a clone of the site where I can work on locally here.

Please let me know.

Thanks,
Shane

#1596435

Yes, that's fine. Any issue with us working on the site? We've been as I hadn't heard anything (figured at worst if we have to wipe we can download what we've done).

#1597721

Shane
Supporter

Languages: English (English )

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

Hi Don,

I went in to try grabbing the copy of the site but it seems as though you've downgraded the user's privilege.

Could you set it back to admin so that I can create the copy.

Thanks,
Shane

#1597737

I've updated it. We put in a lot of changes and need to get live so you'll have to change the view and edit forms back to use the featured image (we changed to use a custom "primary image" because it doesn't get lost. Just need to make sure no changes are made now on the live site.

Thanks

#1597769

Shane
Supporter

Languages: English (English )

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

Hi Don,

I've successfully setup a copy of your site locally.

I will provide an update once i'm through with the testing.

Thanks,
Shane