Okay
  Public Ticket #2011873
Javascript Error
Closed

Comments

  • Paul started the conversation

    Having issue adding components to page in page builder. Getting the following error in console log:

    Uncaught TypeError: Cannot read property 'attributes' of undefined
        at n.html2element (composer-view.js?ver=4.7.4:139)
        at n.render (composer-view.js?ver=4.7.4:149)
        at n.addShortcode (composer-view.js?ver=4.7.4:222)
        at n.addShortcode (composer-view.js?ver=4.7.4:581)
        at _ (load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,jquery-ui-widget,jquery-ui-position,wp-pointer,heartbeat,autosave,wp-ajax-response,jquery-color,wp-&load[]=lists,quicktags,jquery-query,admin-comments,suggest,jquery-ui-mouse,jquery-ui-sortable,postbox,jquery-ui-menu,wp-a11y,jquery-ui-&load[]=autocomplete,tags-suggest,tags-box,word-count,post,editor-expand,thickbox,shortcode,backbone,wp-backbone,media-models,wp-pluploa&load[]=d,wp-mediaelement,wp-api-request,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-edit,svg-painter,wp-auth&load[]=-check,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker,jquery-ui-tabs,jquery-ui-droppable,jquery-ui&load[]=-accordion,jquery-ui-resizable,jquery-ui-button,jquery-ui-dialog,editor,wplink,media-upload,wp-embed&ver=3d1a51c41cd1de6e7ad89b498e9e1aab:441)
        at m (load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,jquery-ui-widget,jquery-ui-position,wp-pointer,heartbeat,autosave,wp-ajax-response,jquery-color,wp-&load[]=lists,quicktags,jquery-query,admin-comments,suggest,jquery-ui-mouse,jquery-ui-sortable,postbox,jquery-ui-menu,wp-a11y,jquery-ui-&load[]=autocomplete,tags-suggest,tags-box,word-count,post,editor-expand,thickbox,shortcode,backbone,wp-backbone,media-models,wp-pluploa&load[]=d,wp-mediaelement,wp-api-request,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-edit,svg-painter,wp-auth&load[]=-check,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker,jquery-ui-tabs,jquery-ui-droppable,jquery-ui&load[]=-accordion,jquery-ui-resizable,jquery-ui-button,jquery-ui-dialog,editor,wplink,media-upload,wp-embed&ver=3d1a51c41cd1de6e7ad89b498e9e1aab:441)
        at f (load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,jquery-ui-widget,jquery-ui-position,wp-pointer,heartbeat,autosave,wp-ajax-response,jquery-color,wp-&load[]=lists,quicktags,jquery-query,admin-comments,suggest,jquery-ui-mouse,jquery-ui-sortable,postbox,jquery-ui-menu,wp-a11y,jquery-ui-&load[]=autocomplete,tags-suggest,tags-box,word-count,post,editor-expand,thickbox,shortcode,backbone,wp-backbone,media-models,wp-pluploa&load[]=d,wp-mediaelement,wp-api-request,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-edit,svg-painter,wp-auth&load[]=-check,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker,jquery-ui-tabs,jquery-ui-droppable,jquery-ui&load[]=-accordion,jquery-ui-resizable,jquery-ui-button,jquery-ui-dialog,editor,wplink,media-upload,wp-embed&ver=3d1a51c41cd1de6e7ad89b498e9e1aab:441)
        at Object.u.trigger (load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,jquery-ui-widget,jquery-ui-position,wp-pointer,heartbeat,autosave,wp-ajax-response,jquery-color,wp-&load[]=lists,quicktags,jquery-query,admin-comments,suggest,jquery-ui-mouse,jquery-ui-sortable,postbox,jquery-ui-menu,wp-a11y,jquery-ui-&load[]=autocomplete,tags-suggest,tags-box,word-count,post,editor-expand,thickbox,shortcode,backbone,wp-backbone,media-models,wp-pluploa&load[]=d,wp-mediaelement,wp-api-request,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-edit,svg-painter,wp-auth&load[]=-check,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker,jquery-ui-tabs,jquery-ui-droppable,jquery-ui&load[]=-accordion,jquery-ui-resizable,jquery-ui-button,jquery-ui-dialog,editor,wplink,media-upload,wp-embed&ver=3d1a51c41cd1de6e7ad89b498e9e1aab:441)
        at Object.ListenerHelper.triggerShortcodeEvents (events.js?ver=4.7.4:19)
        at n.<anonymous> (composer-view.js?ver=4.7.4:1014)


  •  75
    Scott replied

    Hey there,

    Thanks for reaching in,

    Seems like some sort of plugin conflict. Have you tried plugin compatibility test. Please try deactivating your third party plugins one by one while clearing your cache each time in order to figure out if one of them is causing this.

    Hope this helps,

    Regards

    Themenectar Support Team

  • Paul replied

    Thank you for the response. I have performed a systemic deactivation of all plugins and the same error occurs.

    I should mention this is a older version of the theme, current state 

    Wordpress Version: 4.9.8

    Salient Version: 1.0.0

    Salient Visual Composer Version: 4.7.4

  •  8,994
    Tahir replied

    Hey Again,

    Please update to Salient Theme Version 10.0.4 and Salient WPBakery Page Builder 5.7 . 

    If you are not seeing the Plugin Update Notification you need to uncheck the " Disable Theme Reccomended Plugin Notifications " Field in "Salient Theme Options Panel"  -> General Settings -> "Toggle Theme Features" Section .

    To get a list of Bug Fixes and new Feature addons in the Latest Theme update,  the changelog can be viewed here : http://themenectar.com/changelogs/salient.html .

    Update the theme by following this guide: http://themenectar.com/docs/salient/updating-salient/ .

    Best.


    ThemeNectar Support Team