Title: Javascript stops functioning due to theme conflict
Last modified: March 31, 2017

---

# Javascript stops functioning due to theme conflict

 *  Resolved [Himani Lotia](https://wordpress.org/support/users/imani3011/)
 * (@imani3011)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/javascript-stops-functioning-due-to-theme-conflict/)
 * hi,
 * I am receiving the below error on my client’s Website. Due to which I ain’t able
   to view other functionalities.
 * ![console error](https://i0.wp.com/i.imgur.com/ztLCnAE.png)
 * ![Source Theme Folder](https://i0.wp.com/i.imgur.com/llnZBaI.png)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [Himani Lotia](https://wordpress.org/support/users/imani3011/)
 * (@imani3011)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/javascript-stops-functioning-due-to-theme-conflict/#post-8983207)
 * Hello,
 * Am waiting for an update for this particular issue! I am planning to buy a pro-
   version of this issue is resolved!
 * Thanks
    Himani
 *  Theme Author [ThemeZee](https://wordpress.org/support/users/themezee/)
 * (@themezee)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/javascript-stops-functioning-due-to-theme-conflict/#post-8994384)
 * Hello Himani,
 * Thanks so much for reporting this issue.
 * I will look into it and fix it with the next update of Poseidon.
 * Best,
    Thomas
 *  Theme Author [ThemeZee](https://wordpress.org/support/users/themezee/)
 * (@themezee)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/javascript-stops-functioning-due-to-theme-conflict/#post-8994390)
 * Can you please send me the URL to your website?
 * A quick test showed that there is no issue in the sticky-header.js file by default,
   it works fine without any JS errors. So it is more likely a conflict with another
   plugin.
 * Best,
    Thomas
 *  Thread Starter [Himani Lotia](https://wordpress.org/support/users/imani3011/)
 * (@imani3011)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/javascript-stops-functioning-due-to-theme-conflict/#post-9014749)
 * Hello,
 * when I update the sticky-header.js file like below, it resolves the error!
 *  var body = $( ‘body’ ),
    if (body.length) { top_position = $( this ).offset().
   top – body.offset().top – 1, header_height = $( this ).height() + top_position,
   small_header = top_position + 70; }

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Javascript stops functioning due to theme conflict’ is closed to new 
replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/poseidon/2.4.2/screenshot.jpg)
 * Poseidon
 * [Support Threads](https://wordpress.org/support/theme/poseidon/)
 * [Active Topics](https://wordpress.org/support/theme/poseidon/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/poseidon/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/poseidon/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Himani Lotia](https://wordpress.org/support/users/imani3011/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/javascript-stops-functioning-due-to-theme-conflict/#post-9014749)
 * Status: resolved