Javascript error when inspecting single page...
Support › MB Elementor Integrator › Javascript error when inspecting single page...
- This topic has 3 replies, 2 voices, and was last updated 2 years, 1 month ago by
Peter.
-
AuthorPosts
-
March 18, 2023 at 5:11 AM #41079
Jean Pierre Francois
ParticipantHello,
This is the referring page
https://meta.kioubizin.mu/company/test-company/When I do an inspection on this page, I am getting these errors:
Uncaught Error: Template not found: #tmpl-rwmb-media-button at n.template (wp-util.min.js?ver=6.1.1:2:371) at n.render (media.js?ver=5.6.17:391:24) at n.initialize (media.js?ver=5.6.17:404:9) at h.View (backbone.min.js?ver=1.4.1:2:14648) at new n (backbone.min.js?ver=1.4.1:2:23485) at n.createAddButton (media.js?ver=5.6.17:161:21) at n.initialize (media.js?ver=5.6.17:122:9) at h.View (backbone.min.js?ver=1.4.1:2:14648) at n [as constructor] (backbone.min.js?ver=1.4.1:2:23485) at new n (backbone.min.js?ver=1.4.1:2:23485)
and this one:
Uncaught TypeError: Cannot read properties of undefined (reading 'setAttribute') at i.aria (theme.min.js?wp-mce-49110-20201110:1:29283) at i.postRender (theme.min.js?wp-mce-49110-20201110:1:31108) at i.postRender (theme.min.js?wp-mce-49110-20201110:1:50318) at i.postRender (tinymce.min.js?ver=49110-20201110:2:359319) at i.postRender (theme.min.js?wp-mce-49110-20201110:1:113605) at i.postRender (tinymce.min.js?ver=49110-20201110:2:359319) at i.<anonymous> (theme.min.js?wp-mce-49110-20201110:1:22051) at Object.jt [as each] (tinymce.min.js?ver=49110-20201110:2:29356) at i.each (theme.min.js?wp-mce-49110-20201110:1:21573) at i.exec (theme.min.js?wp-mce-49110-20201110:1:22023)
March 18, 2023 at 9:07 PM #41092Peter
ModeratorHello Jean,
I see on your page, the frontend submission form is included in a popup, it might cause the JS issue. Please add the form to the page directly instead of in a popup and check this issue again. Let me know how it goes.
March 19, 2023 at 6:04 AM #41101Jean Pierre Francois
ParticipantIn fact yes, the popup was the issue, thank you for this!
I had to change and create a different page structure to accommodate the "Submit Review" shortcode on the page itself rather than in the popup.
Since MetaBox is supposed to be compatible with Elementor, I think you should work out a fix for this issue because having too much information (elements) directly on the page make it load slower whereas when we were using the button, the form would only load when a user clicks the button... But thanks for pointing the issue anyway and hope you can bring a fix to this issue in a near future.
March 20, 2023 at 6:46 PM #41116Peter
ModeratorHello,
Which is the widget of Elementor that you use to add the frontend submission shortcode? Please let me know how I can reproduce the issue on my demo site.
-
AuthorPosts
- You must be logged in to reply to this topic.