Javascript error when inspecting single page...

Support MB Elementor Integrator Javascript error when inspecting single page...

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41079

    Hello,

    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)
    #41092
    PeterPeter
    Moderator

    Hello 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.

    #41101

    In 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.

    #41116
    PeterPeter
    Moderator

    Hello,

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.