Title: Javascript errors
Last modified: January 22, 2018

---

# Javascript errors

 *  Resolved [joshmaxrubinstein](https://wordpress.org/support/users/joshmaxrubinstein/)
 * (@joshmaxrubinstein)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/javascript-errors-32/)
 * I get the following JS errors when the page loads and when I try to submit the
   email address and name fields. API key for mailchimp is all set up.
 *     ```
       backbone-view-model-min.js:1 Uncaught TypeError: Cannot read property 'apply' of undefined
       ```
   
 *     ```
       Refused to display 'https://www.facebook.com/xti.php?xt=AZWqON41lSfZEihuBkCQy9B-e6NiNcKGWFTFC8w6kyUpIA4XQAVMsChkDljlz0vE3y24dACGFsje1TdI8RfBo_rRzKH3hlg0nrZSQNwdSxlhO3HYZXw0fHhXuMrsZAK5mGxCbHdjV-eRT3a_MpbeOkGHGXkmix_AICJ-YIP72l8pQg8NY2VPcN5XiwaNaOvJKDmslV5vcs_sBSgxHYARs-WYrWSfCqpV87beev-98VZ8dCq__cC2A770ppuULlcPhLRJY6gdswWSjVr7cTc6LQzp7v5GQ4htSPR0LPCrX-KC4KAuHexX-RUy0yfEXr4-xrrnEU8A6v9tUpJV4aaOq2x5wk_NAboCSPerCdytQoEMcQZGP283yWyqgclFvmTdqSiZg1SpQ2QpK3BBmydnUy6ZR1pYAEdfpM8HZZffiTEDDY-UkcSem5ryHGrO9PzGDsg7m_g2VXAEFfHwgKEyxrGIodRFnpxwNos9fCUb2uDGQjcjeqYt6uPEIKLQSDG6w_3DQ7xCiWhJVKDAD8vDc3pWIa2N7U87WC-yTyzQqS7LnhzyVrdCc5gl07pHZ_8sopHvZmIvtZ9Wc6uCFM91N2ngeKstdLhuzOrBgAyH_S33j3aMMolSTiqE1IGMFQ07rg-qdnW4rgFfLIGKSV0FmM4PyV9Nbjpl-DILTJuFXuWhypwgwCMc9uQ3uA4CFQLa45JN-HIbjb_7w_m_thUGmOl7&isv=1&cts=1516581567&csp' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
       backbone-view-model-min.js:1 Uncaught TypeError: Cannot read property 'apply' of undefined
           at Object.e.ajax (backbone-view-model-min.js:1)
           at L.s.e.sync (backbone-view-model-min.js:1)
           at L.s.sync (backbone-view-model-min.js:1)
           at L.s.save (backbone-view-model-min.js:1)
           at HTMLDocument.<anonymous> (log-view.js:48)
           at HTMLDocument.dispatch (jquery-3.1.1.slim.min.js:3)
           at HTMLDocument.q.handle (jquery-3.1.1.slim.min.js:3)
           at Object.trigger (jquery-3.1.1.slim.min.js:3)
           at HTMLDocument.<anonymous> (jquery-3.1.1.slim.min.js:3)
           at Function.each (jquery-3.1.1.slim.min.js:2)
       ```
   
    -  This topic was modified 8 years, 3 months ago by [joshmaxrubinstein](https://wordpress.org/support/users/joshmaxrubinstein/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-errors-32%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/javascript-errors-32/#post-9888494)
 * Hello [@joshmaxrubinstein](https://wordpress.org/support/users/joshmaxrubinstein/)
 * Hope you’re doing well!
 * It looks like there is a conflict with another plugin or theme. Please run a 
   quick test:
    – Deactivate all the other plugins except Hustle – Switch to a default
   WordPress theme
 * Check if an email can be submitted. If it can, and no JS errors are shown, start
   activating one plugin at the time till you find the one that causes it.
 * The error looks like showing up a Facebook link. Please let us know what plugin/
   iframe you’re using to show “Like” button in the footer. Would you please temporarily
   remove it and check if the opt-in will work?
 * If the issue still persists, please let us know more information about the opt-
   in setup. What is email service enabled?
 * Please advise,
 * Kind regards,
    Nastia
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/javascript-errors-32/#post-10088478)
 * Hello [@joshmaxrubinstein](https://wordpress.org/support/users/joshmaxrubinstein/)
 * I trust all is well!
 * We’ve not heard from you in a while. I’ve marked this ticket as resolved for 
   now, but if you need anything else at all, we’re here for you, please just reopen
   the ticket or create a new one.
 * Have a good day!
 * Cheers,
    Nastia

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

The topic ‘Javascript errors’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popup/assets/icon-256x256.gif?rev=3446944)
 * [Hustle - Email Marketing, Lead Generation, Optins, Popups](https://wordpress.org/plugins/wordpress-popup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popup/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popup/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/javascript-errors-32/#post-10088478)
 * Status: resolved