Title: Console Errors
Last modified: January 16, 2020

---

# Console Errors

 *  [Chrispian](https://wordpress.org/support/users/chrispianb/)
 * (@chrispianb)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/console-errors-13/)
 * We are getting two errors in the console.
 * First one:
 * > Failed to load resource: net::ERR_NAME_NOT_RESOLVED in sfbap1-script.js:1
 * When you try to go to the JS source for this error it’s a 404.
 * [https://www.EXAMPLE.comjs/sfbap1-script.js?ver=5.3.2](https://www.EXAMPLE.comjs/sfbap1-script.js?ver=5.3.2)
 * It’s not including the full path to the JS so it’s failing to load.
 * And this one, which I think is a cascade error due to the first script not loading
   properly:
 * > sfbap1-script.js?ver=5.3.2:4 Uncaught TypeError: this._addClass is not a function
   > 
   > at e.<computed>.<computed>._create (sfbap1-script.js?ver=5.3.2:4) at e.<computed
   > >.<computed>._create (plugins.js?ver=1.0.0:75) at e.<computed>.<computed>._createWidget(
   > plugins.js?ver=1.0.0:75) at new e.<computed>.<computed> (plugins.js?ver=1.0.0:
   > 75) at HTMLDivElement.<anonymous> (plugins.js?ver=1.0.0:75) at Function.each(
   > load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,
   > jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-position,utils&
   > ver=5.3.2:2) at a.fn.init.each (load-scripts.php?c=0&load[chunk_0]=jquery-core,
   > jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,
   > jquery-ui-position,utils&ver=5.3.2:2) at a.fn.init.e.fn.<computed> [as draggable](
   > plugins.js?ver=1.0.0:75) at initDraggable (backend.min.js?ver=6.0.5:10) at 
   > p (load-scripts.php?c=0&load[chunk_0]=jquery-ui-draggable,jquery-ui-button,
   > jquery-ui-dialog,wpdialogs,hoverIntent,common,hoverintent-js,admin-bar,heartbeat,
   > autosave,w&load[chunk_1]=p-ajax-response,jquery-color,wp-lists,quicktags,jquery-
   > query,admin-comments,suggest,postbox,jquery-ui-menu,jquery-ui-autocomplet&load[
   > chunk_2]=e,tags-suggest,tags-box,underscore,word-count,wp-sanitize,post,editor-
   > expand,thickbox,shortcode,backbone,wp-util,wp-backbone,med&load[chunk_3]=ia-
   > models,wp-plupload&ver=5.3.2:432)
 * We found this while trying to edit pages in WP Bakery. Disabling WP Social Feeds
   fixes the error but we would like to keep using this plugin.

Viewing 1 replies (of 1 total)

 *  Thread Starter [Chrispian](https://wordpress.org/support/users/chrispianb/)
 * (@chrispianb)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/console-errors-13/#post-12370991)
 * I found where the issue is and what needs to be updated:
 * In wp-social-feed/includes/sfbap1-enqueue-scripts.php line 46 reads:
 * `wp_enqueue_script( 'sfbap1-scriptjs', 'js/sfbap1-script.js', array() );`
 * But it should be something like:
 * `wp_enqueue_script( 'sfbap1-scriptjs', 'plugin_dir_url( __FILE__ ) . '../'js/
   sfbap1-script.js', array() );`
 * The issue is that as it’s written it’s throwing a 404 on admin side and it’s 
   causing an error that’s conflicting with WP Bakery’s page editor.
 * Happy to do a quick PR if you have a repo for this plugin.

Viewing 1 replies (of 1 total)

The topic ‘Console Errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-social-feed_313131.svg)
 * [Social Feed | Custom Feed for Social Media Networks](https://wordpress.org/plugins/wp-social-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-social-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-social-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-social-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-social-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-social-feed/reviews/)

## Tags

 * [Console error](https://wordpress.org/support/topic-tag/console-error/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [wp-bakery](https://wordpress.org/support/topic-tag/wp-bakery/)

 * 1 reply
 * 1 participant
 * Last reply from: [Chrispian](https://wordpress.org/support/users/chrispianb/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/console-errors-13/#post-12370991)
 * Status: not resolved