Support » Plugin: Elementor Website Builder » Uncaught TypeError: Cannot read property ‘add’ of undefined

  • Resolved s1lviu

    (@s1lviu)


    When trying to publish a singular template, I encounter the following error:

    https://i.imgur.com/57TPfox.png

    VM504:8 Uncaught TypeError: Cannot read property 'add' of undefined
        at eval (eval at s.template (load-scripts.php?c=1&load[]=underscore,jquery-core,jquery-migrate,backbone,shortcode,utils,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.2:1), <anonymous>:8:19)
        at i (load-scripts.php?c=1&load[]=underscore,jquery-core,jquery-migrate,backbone,shortcode,utils,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.2:1)
        at Object.render (backbone.marionette.min.js?ver=2.4.5:22)
        at N.d._renderTemplate (backbone.marionette.min.js?ver=2.4.5:23)
        at N.d.render (backbone.marionette.min.js?ver=2.4.5:23)
        at N.d.renderChildView (backbone.marionette.min.js?ver=2.4.5:22)
        at N.d._addChildView (backbone.marionette.min.js?ver=2.4.5:22)
        at N.d.addChild (backbone.marionette.min.js?ver=2.4.5:22)
        at N.d.<anonymous> (backbone.marionette.min.js?ver=2.4.5:22)
        at load-scripts.php?c=1&load[]=underscore,jquery-core,jquery-migrate,backbone,shortcode,utils,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.2:1
    (anonymous) @ VM504:8
    i @ load-scripts.php?c=1&load[]=underscore,jquery-core,jquery-migrate,backbone,shortcode,utils,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.2:1
    render @ backbone.marionette.min.js?ver=2.4.5:22
    _renderTemplate @ backbone.marionette.min.js?ver=2.4.5:23
    render @ backbone.marionette.min.js?ver=2.4.5:23
    renderChildView @ backbone.marionette.min.js?ver=2.4.5:22
    _addChildView @ backbone.marionette.min.js?ver=2.4.5:22
    addChild @ backbone.marionette.min.js?ver=2.4.5:22
    (anonymous) @ backbone.marionette.min.js?ver=2.4.5:22
    (anonymous) @ load-scripts.php?c=1&load[]=underscore,jquery-core,jquery-migrate,backbone,shortcode,utils,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.2:1
    s.each.s.forEach @ load-scripts.php?c=1&load[]=underscore,jquery-core,jquery-migrate,backbone,shortcode,utils,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.2:1
    showCollection @ backbone.marionette.min.js?ver=2.4.5:22
    _renderChildren @ backbone.marionette.min.js?ver=2.4.5:22
    _renderChildren @ backbone.marionette.min.js?ver=2.4.5:23
    render @ backbone.marionette.min.js?ver=2.4.5:23
    _renderView @ backbone.marionette.min.js?ver=2.4.5:22
    show @ backbone.marionette.min.js?ver=2.4.5:22
    showConditionsModal @ editor.min.js?ver=2.1.9:2
    onClickButtonPublish @ editor.min.js?ver=2.1.9:2
    dispatch @ load-scripts.php?c=1&load[]=underscore,jquery-core,jquery-migrate,backbone,shortcode,utils,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.2:4
    r.handle @ load-scripts.php?c=1&load[]=underscore,jquery-core,jquery-migrate,backbone,shortcode,utils,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&load[]=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.2.2:4
Viewing 1 replies (of 1 total)
  • Does publishing work? Does this error actually affect anything? Are you using any custom HTML or JS in your template? Have you copy/pasted text into a text editor widget from another source? Can you share the URL that has the problem? Or is this happening on all pages?

Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught TypeError: Cannot read property ‘add’ of undefined’ is closed to new replies.