Title: JS Error From Another Plugin
Last modified: September 1, 2016

---

# JS Error From Another Plugin

 *  [rickykpg](https://wordpress.org/support/users/rickykpg/)
 * (@rickykpg)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/js-error-from-another-plugin/)
 * Hello,
 * I’m not getting this error from the plugin but another plugin I use is reporting
   it, not sure if an actual bug or just an issue with the two plugins when used
   together.
 *     ```
       TypeError: a.data(...) is undefined
       File "http://localhost/jmm/wp-content/plugins/page-scroll-to-id/js/jquery.malihu.PageScroll2id.js?ver=1.6.1", line 2, char 5808
       ```
   
 * The other plugin where I’m seeing the error message is [https://wordpress.org/plugins/live-composer-page-builder/](https://wordpress.org/plugins/live-composer-page-builder/)
 * [https://wordpress.org/plugins/page-scroll-to-id/](https://wordpress.org/plugins/page-scroll-to-id/)

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

 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/js-error-from-another-plugin/#post-7701247)
 * I can’t really tell without seeing your page but have you added the class `_mPS2id-
   t` manually in your element(s)?
 *  Thread Starter [rickykpg](https://wordpress.org/support/users/rickykpg/)
 * (@rickykpg)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/js-error-from-another-plugin/#post-7701311)
 * Hello,
 * At the moment the site is locally hosted, when it goes live and if the error 
   is still present I’ll reply to this thread with the link.
 *  Thread Starter [rickykpg](https://wordpress.org/support/users/rickykpg/)
 * (@rickykpg)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/js-error-from-another-plugin/#post-7701368)
 * Some additional information, not sure if it will help without seeing the page.
 *     ```
       TypeError: a.data(...) is undefined
       O._currentTarget()
       jquery.malihu.PageScroll2id.js:2
       O._setClasses()
       jquery.malihu.PageScroll2id.js:2
       I.init/</<()
       jquery.malihu.PageScroll2id.js:2
       .each()
       jquery.js:2
       n.prototype.each()
       jquery.js:2
       I.init/<()
       jquery.malihu.PageScroll2id.js:2
       n.event.dispatch()
       jquery.js:3
       n.event.add/r.handle()
       jquery.js:3
       .offset()
       jquery.js:4
       t()
       jq-sticky-anything.min.js:7
       e.fn.stickThis/checkElement<()
       jq-sticky-anything.min.js:7
       ```
   
 * jquery.malihu.PageScroll2id.js:2:5808

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

The topic ‘JS Error From Another Plugin’ is closed to new replies.

 * ![](https://ps.w.org/page-scroll-to-id/assets/icon-256x256.png?rev=1401043)
 * [Page scroll to id](https://wordpress.org/plugins/page-scroll-to-id/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-scroll-to-id/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-scroll-to-id/)
 * [Active Topics](https://wordpress.org/support/plugin/page-scroll-to-id/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-scroll-to-id/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-scroll-to-id/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [rickykpg](https://wordpress.org/support/users/rickykpg/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/js-error-from-another-plugin/#post-7701368)
 * Status: not resolved