Title: Plugin is causing JavaScript error on widgets screen
Last modified: August 21, 2016

---

# Plugin is causing JavaScript error on widgets screen

 *  Resolved [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/plugin-is-causing-javascript-error-on-widgets-screen/)
 * I used on my test site latest version of thisplugin and found it is causing the
   following JavaScript error which is breaking the functionality of other plugins.
 * `Uncaught TypeError: undefined is not a function localhost/wordpress/wp-content/
   plugins/socials-ignited/js/admin_widget.js?ver=3.9.1:`
 * [https://wordpress.org/plugins/socials-ignited/](https://wordpress.org/plugins/socials-ignited/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/plugin-is-causing-javascript-error-on-widgets-screen/#post-5165598)
 * You can solve this issue temporarily by editing the following latest version(
   1.7.2 ) of Socials Ignited plugin file on line number 19 as below.
 * **Socials Ignited plugin file:**
    socials-ignited\js\admin_widget.js
 * **Before Editing:**
 *     ```
       if(settings.data.search('action=save-widget') != -1 ) {
       ```
   
 * **After Editing:**
 *     ```
       if( settings.data.search != undefined && settings.data.search('action=save-widget') != -1 ) {
       ```
   
 * **Note:** You are making changes in the plugin file and these changes will be
   overwritten and lost when you update the plugin and you will have to make these
   again after plugin updation.

Viewing 1 replies (of 1 total)

The topic ‘Plugin is causing JavaScript error on widgets screen’ is closed to new
replies.

 * ![](https://ps.w.org/socials-ignited/assets/icon-256x256.png?rev=2521500)
 * [Socials Ignited](https://wordpress.org/plugins/socials-ignited/)
 * [Support Threads](https://wordpress.org/support/plugin/socials-ignited/)
 * [Active Topics](https://wordpress.org/support/plugin/socials-ignited/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/socials-ignited/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/socials-ignited/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/plugin-is-causing-javascript-error-on-widgets-screen/#post-5165598)
 * Status: resolved