Title: eModal Javascript Error: Cannot call method &#039;split&#039;
Last modified: August 21, 2016

---

# eModal Javascript Error: Cannot call method 'split'

 *  Resolved [ijcotoc](https://wordpress.org/support/users/ijcotoc/)
 * (@ijcotoc)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/emodal-javascript-error-cannot-call-method-split/)
 * Hi,
 * It seems that this plug-in would be great for what I am looking for.
 * I just installed it and when I tried to use it, I got the following error:
    Uncaught
   TypeError: Cannot call method ‘split’ of undefined.
 * I am trying to use this plug-in on the website premiumhomes.ca, however I cannot
   keep the plug-in active because with the javascript error, part of my page will
   not load. The part that does not load is my header which contains my menu, so
   its very important to the page.
 * Please let me know if you can help.
    Thanks
 * [http://wordpress.org/plugins/easy-modal/](http://wordpress.org/plugins/easy-modal/)

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

 *  Thread Starter [ijcotoc](https://wordpress.org/support/users/ijcotoc/)
 * (@ijcotoc)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/emodal-javascript-error-cannot-call-method-split/#post-4122108)
 * I had found out that there was an error within my main.js script that had not
   affected any other plug-ins until this point.
 * Thanks
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/emodal-javascript-error-cannot-call-method-split/#post-4122120)
 * Awesome glad you found the solution. If you have any further issues dont hesitate
   asking. If you dont mind take a moment to rate and review the plugin [http://wordpress.org/support/view/plugin-reviews/easy-modal](http://wordpress.org/support/view/plugin-reviews/easy-modal)

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

The topic ‘eModal Javascript Error: Cannot call method 'split'’ is closed to new
replies.

 * ![](https://ps.w.org/easy-modal/assets/icon-256x256.png?rev=982657)
 * [Easy Modal](https://wordpress.org/plugins/easy-modal/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-modal/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-modal/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-modal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-modal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-modal/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/emodal-javascript-error-cannot-call-method-split/#post-4122120)
 * Status: resolved