[Gelöst] „Form Type or Post Type is not set“ error when using the Autogenerate button in CRED
Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.
Problem:
The issue here is that the user was getting the error "Form Type or Post Type is not set"
Solution:
This issue was resolved in our Latest Toolset Forms version.
This support ticket is created vor 6 Jahren, 6 Monaten. 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.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
PS - I also noticed that I get an error message when editing forms now, which didn't start until I upgraded to the latest beta release. For example, when I try to click on "Auto Generate Form" it says "Form Type or Post Type is not set."
The only non-Toolset plugin that was still activated was Error Log Monitor. I've deactivated it so now only Toolset plugins are enabled and the problem is still occurring.
If I delete and recreate the CPT's, will it make me choose new slugs for the CPT's? This would just mean I have to go through and update any references to it in the site.
Do I also need to delete and recreate the custom field groups or will these "re-associate" with the CPT once I recreate the CPT?
Thanks.
- Aaron
PS: I tried deactivating the CPT and seeing if any of my forms started working, but they are still showing the same error. Will wait to try a full delete and rebuild until you answer those couple of questions.
I deleted and recreated both the ad and ad response CPT's and the problem is still occurring. Are you sure this doesn't have anything to do with the upgrade to the latest beta version? This is what immediately happened right before I started experiencing problems.
Both issues seem to be related to relationships, and they started happening at the same time.
I have asked on the other thread, but have not received a response, regarding whether or not I'm supposed to change the cred_field "_wpcf_belongs..." field inside all the CRED forms. If I can get an answer to this, I would like to try migrating my site to the new relationships structure, but the wizard has told me my forms would have compatibility issues related to the _wpcf_belogs fields. I'd like to see if migrating relationships fixes the problem but am afraid to break anything further.