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!!
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.
I 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!
Hi Long - just an update to this. I found the issue. I was trying to adding a
file field 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 crashed
...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.
Resolve the issue by re-adding the field ID prefix.
Adding the prefix got the data stuck. But it didn't fix not being able to use the
file field in a field group - without it breaking!
*back (not stuck)