Hi, I created a form with plugin “ninja form”. I encountered two problems with “tagdiv composer”. The first is that when I enter the tagdiv composer and save the page, I lose the form. The second and terrible error is when I try to save the form as an element, the “div composer tag” stops working. Inspecting the following error occurs:
Uncaught TypeError: Can not read property ‘shortcode’ of undefined
at js_files_for_wrapper.min.js? ver = c05702a41ebbb3f5c0473f6df376a5d3: 508
at function.m.each.m.forEach (load-scripts.php? c = 1 & load [] = hoverIntent, common, admin-bar, underscore, backbone, shortcode, thickbox, wp-util, wp-backbone, media-models , wp-plupload, jquery-ui-sorta & load [] = ble, wp-mediaelement, wp-api-request, media-views, media-editor, media-audiovideo, mce-view, imgareaselect, image-edit, svg-painter & view = 5.0: 8)
at js_files_for_wrapper.min.js? ver = c05702a41ebbb3f5c0473f6df376a5d3: 507
at function.m.each.m.forEach (load-scripts.php? c = 1 & load [] = hoverIntent, common, admin-bar, underscore, backbone, shortcode, thickbox, wp-util, wp-backbone, media-models , wp-plupload, jquery-ui-sorta & load [] = ble, wp-mediaelement, wp-api-request, media-views, media-editor, media-audiovideo, mce-view, imgareaselect, image-edit, svg-painter & view = 5.0: 8)
at Object.updateSavedShortcodes (js_files_for_wrapper.min.js? ver = c05702a41ebbb3f5c0473f6df376a5d3: 506)
at Object.init (js_files_for_wrapper.min.js? ver = c05702a41ebbb3f5c0473f6df376a5d3: 483)
at js_files_for_wrapper.min.js? ver = c05702a41ebbb3f5c0473f6df376a5d3: 514
at js_files_for_wrapper.min.js? ver = c05702a41ebbb3f5c0473f6df376a5d3: 514
I simulated twice just to confirm, and it really stops working when saved the form as an element. I installed wordpress again. I want to know the procedure to correct this problem, because the only solution I found was to reinstall, and this is bad, because I’m at the beginning more in the future can cause great problems should this happen.
Hi,
How are you adding the form in the page? Try to enter it’s shortcode in a text element like the column text for example
– https://www.screencast.com/t/blwvdntdcZj6
Then save the page and view it. There should be no problem (the latest theme version -9.2- contains a fix for some previous problems with shortcodes in the composer).
I haven’t tried that plugin however, only contact form or WP forms. I tried to save a column text element containing a contact form shortcode in it, seems to work alright
– https://www.screencast.com/t/yDjZTQu728Vf
– https://www.screencast.com/t/GEwlyJ8gYF5
Thanks
Hi,
I inserted it directly into the default editor “[ninja_forms id = 1]”. When viewing in td-composer it appears normal, but when I save it and go back to the editor it is gone. And due to this error stopped working the td-composer. How do I get it back up and running without having to reinstall everything?