CPT stuck as "Post" type
- This topic has 7 replies, 2 voices, and was last updated 3 years, 4 months ago by
Yasmine.
-
AuthorPosts
-
August 8, 2022 at 4:34 PM #37399
Yasmine
ParticipantHello -
I also tried to send an email as thought this could be a more custom issue.. But I realise I didn't receive a confirmation that the message was sent. In case didn't send, here we go again-
My CPT is stuck on "post" post type. I try to update it to what it should be ("research"), but it continues to save as "post" - as if there is something that is constantly updating the post type back to post.
I disabled every plugin and custom code, but the problem continued.
I was using WS Forms when the problem happened (and it happened twice now - first time I redid using a backup). I don't know how the integration works but I think that plugin updated something within metabox, as even with that plugin disabled, I still couldn't change my post type back to "research".
Do you have any idea how I can fix this?? I can revert back to a backup but would mean losing many hours of work, which I would really like to avoid!!
Kind regards,
YasmineAugust 8, 2022 at 10:05 PM #37407Long Nguyen
ModeratorHi Yasmine,
The form (maybe the contact form) is created by WS Form so in this case, I recommend contacting their support to ask for more details. It is beyond the scope support of Meta Box.
August 8, 2022 at 11:37 PM #37411Yasmine
ParticipantI will contact them. But just wondering, have you ever come across the meta box custom field type getting stuck and being unable to change - and have any idea how to fix. I only ask as I disabled every plugin and the problem was still there!
August 9, 2022 at 4:23 AM #37412Yasmine
ParticipantHi Long - just an update to this. I found the issue. I was trying to adding a
filefield within a group field. After trying to update my custom fields, it automatically saves to a 'post' post type. I tried with file upload and file. Then I tried with file advanced and the whole thing crashedAugust 9, 2022 at 4:52 AM #37414Yasmine
Participant...However after finally managing to change my post type back to my CPT, I am still unable to get my data back on the frontend. Everything is now saved in custom fields, rather than in my CPT. Changing the post type did not fix it.
August 9, 2022 at 10:15 PM #37423Long Nguyen
ModeratorResolve the issue by re-adding the field ID prefix.
August 9, 2022 at 11:40 PM #37427Yasmine
ParticipantHi Long,
Adding the prefix got the data stuck. But it didn't fix not being able to use the
filefield in a field group - without it breaking!Many thanks,
YasmineAugust 10, 2022 at 4:24 AM #37429Yasmine
Participant*back (not stuck)
-
AuthorPosts
- You must be logged in to reply to this topic.