Skip Navigation

[Gelöst] The Post Type resets after saving form

This support ticket is created vor 6 Jahren. 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Luo Yang vor 6 Jahren.

Assistiert von: Luo Yang.

Author
Artikel
#1151516

I am trying to: Update a CRED form

Link to a page where the issue can be seen: Dashboard Editor /wp-admin/post.php?post=ID&action=edit&classic-editor

I expected to see: Editor should remember selected post type when page is reloaded

Instead, I got: Defaults to "Posts" post type after every reload so subsequent saves change the setting unless I configure every time.

#1151517

This appears in the console:

Uncaught TypeError: CodeMirror.fromTextArea is not a function
    at toggleCodeMirror (icl_editor_addon_plugin.js?ver=3.2.4:1109)
    at Object.codemirror (icl_editor_addon_plugin.js?ver=3.2.4:1152)
    at Toolset.CRED.PostFormsEditor.Toolset.CRED.EditorPagePrototype.initCodemirror (editor.prototype.js?ver=2.1.2:68)
    at Toolset.CRED.PostFormsEditor.Toolset.CRED.EditorPagePrototype.initMainEditor (editor.prototype.js?ver=2.1.2:151)
    at Toolset.CRED.PostFormsEditor.Toolset.CRED.EditorPagePrototype.initIclEditor (editor.prototype.js?ver=2.1.2:48)
    at Toolset.CRED.PostFormsEditor.Toolset.CRED.EditorPagePrototype.init (editor.prototype.js?ver=2.1.2:360)
    at new Toolset.CRED.PostFormsEditor (main.js?ver=2.1.2:18)
    at HTMLDocument.<anonymous> (main.js?ver=2.1.2:24)
    at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,shortcode,utils,backbone,wp-util,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-u&load[]=i-mouse,jquery-ui-sortable&ver=4.9.8:2)
    at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,shortcode,utils,backbone,wp-util,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-u&load[]=i-mouse,jquery-ui-sortable&ver=4.9.8:2)
#1151750

Hello,

The problem you mentioned above is abnormal, please check these:
1) You are using the latest version of Toolset plugins
2) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2017, and test again
3) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL and form URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/