Title: JavaScript Error
Last modified: March 19, 2021

---

# JavaScript Error

 *  Resolved [Mark Krieger](https://wordpress.org/support/users/markcanada/)
 * (@markcanada)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-196/)
 * Hi
 * We noticed an error in /wp-content/plugins/custom-fonts/assets/js/bsf-custom-
   fonts.js?ver=1.3.1
 * The JavaScript console in Chrome reports:
 *     ```
       Uncaught TypeError: Cannot read property 'split' of undefined
           at HTMLDocument.<anonymous> (bsf-custom-fonts.js?ver=1.3.1:181)
           at HTMLDocument.dispatch (jquery.min.js:2)
           at HTMLDocument.v.handle (jquery.min.js:2)
           at Object.trigger (jquery.min.js:2)
           at l (jquery.min.js:2)
           at XMLHttpRequest.<anonymous> (jquery.min.js:2)
       (anonymous)    @    bsf-custom-fonts.js?ver=1.3.1:181
       dispatch    @    jquery.min.js:2
       v.handle    @    jquery.min.js:2
       trigger    @    jquery.min.js:2
       l    @    jquery.min.js:2
       (anonymous)    @    jquery.min.js:2
       load (async)        
       send    @    jquery.min.js:2
       ajax    @    jquery.min.js:2
       s.ajax.s.ajax    @    jquery-migrate.min.js:2
       S.<computed>    @    jquery.min.js:2
       (anonymous)    @    jetpack-jitm.min.js?ver=1.13.6:1
       each    @    jquery.min.js:2
       each    @    jquery.min.js:2
       a    @    jetpack-jitm.min.js?ver=1.13.6:1
       (anonymous)    @    jetpack-jitm.min.js?ver=1.13.6:1
       e    @    jquery.min.js:2
       t    @    jquery.min.js:2
       setTimeout (async)        
       (anonymous)    @    jquery.min.js:2
       c    @    jquery.min.js:2
       fireWith    @    jquery.min.js:2
       fire    @    jquery.min.js:2
       c    @    jquery.min.js:2
       fireWith    @    jquery.min.js:2
       ready    @    jquery.min.js:2
       B    @    jquery.min.js:2
       ```
   
 * All the best
    Mark

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

 *  Thread Starter [Mark Krieger](https://wordpress.org/support/users/markcanada/)
 * (@markcanada)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-196/#post-14212365)
 * …a quick update – this only happens when JetPack is installed…
 *  Plugin Support [Team Brainstorm Force](https://wordpress.org/support/users/brainstormteam/)
 * (@brainstormteam)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-196/#post-14221163)
 * Hi [@markcanada](https://wordpress.org/support/users/markcanada/),
 * I tried to replicate the same but it was not happening on my end. I didn’t see
   any error in my browser console. Is there any specific step or something you 
   did on the Jetpack settings?
 * Kind regards,
    Herman 🙂
 *  Thread Starter [Mark Krieger](https://wordpress.org/support/users/markcanada/)
 * (@markcanada)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-196/#post-14291364)
 * Sorry about the delay. I didn’t get the reply notification and I placed this 
   because it came up on another site which I usually don’t work on.
    On my test
   site I installed your plugin and Jetpack without any configuration settings and
   the error came up. I’ll have to have another look when I have some time and report
   back.
 *  Plugin Support [Herman Asrori (BSF)](https://wordpress.org/support/users/bsfherman/)
 * (@bsfherman)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-196/#post-14296180)
 * Hi [@markcanada](https://wordpress.org/support/users/markcanada/),
 * That would be great if we can have any update regarding this as I was not able
   to replicate this on my end.
 * Or if you can open a ticket thru our [Support Portal](https://wpastra.com/support/),
   that would be even better, so we can have a closer look at your site.
 * Kind regards,
    Herman 🙂
 *  Thread Starter [Mark Krieger](https://wordpress.org/support/users/markcanada/)
 * (@markcanada)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-196/#post-14296215)
 * Hi Herman
 * Placed a ticket, but your system doesn’t allow selecting this plugin – so I selected
   our main license.
 * Ticket ID 532524
 * All the best
    Mark
 *  Plugin Support [Herman Asrori (BSF)](https://wordpress.org/support/users/bsfherman/)
 * (@bsfherman)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-196/#post-14298569)
 * Hi [@markcanada](https://wordpress.org/support/users/markcanada/),
 * Thanks for that. I had responded to your ticket.
 * Since you had submitted a ticket, I am going to close this topic, and let’s continue
   the conversation related to this issue using the ticket.
 * If you have any other queries, feel free to open a [new topic](https://wordpress.org/support/plugin/custom-fonts/#new-topic-0)
   or submit a ticket thru our [Support Portal](https://wpastra.com/support/).
 * Have a great day!
 * Herman 🙂
 *  [karlemilnikka](https://wordpress.org/support/users/karlemilnikka/)
 * (@karlemilnikka)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-196/#post-14303025)
 * Just FYI, I can confirm that we have the same issue on one of our sites (not 
   running Jetpack).
 * Best regards
    Karl Emil Nikka
 *  Plugin Support [Herman Asrori (BSF)](https://wordpress.org/support/users/bsfherman/)
 * (@bsfherman)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-196/#post-14305788)
 * Hi [@karlemilnikka](https://wordpress.org/support/users/karlemilnikka/),
 * Thank you for confirming this. I can also confirm that the same thing is happening
   on my end with the Jetpack plugin active.
 * Anyway, since you are not running Jetpack, could you please let us know what 
   plugin could be the one clashes with Custom Fonts? And also, do you notice any
   functionality on your site affected because of this error?
 * Kind regards,
    Herman 🙂
 *  [karlemilnikka](https://wordpress.org/support/users/karlemilnikka/)
 * (@karlemilnikka)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-196/#post-14307134)
 * [@bsfherman](https://wordpress.org/support/users/bsfherman/) I haven’t done any
   further research since we are phasing out the plugin. I just wanted to chip in
   with a confirmation and tell you that the issue isn’t solely related to Jetpack.
   I can look into it further later this week if it would be of help.
 * I haven’t noticed any negative affects on the site because of the error.
 * Best regards
    Karl Emil Nikka
 *  [karlemilnikka](https://wordpress.org/support/users/karlemilnikka/)
 * (@karlemilnikka)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-196/#post-14317724)
 * Hi [@bsfherman](https://wordpress.org/support/users/bsfherman/). I’ve now done
   some further investigation. It seems like it’s the combination of Custom Fonts
   and Updraft Plus that triggers the console error.
 * Best regards
    Karl Emil Nikka
 *  Plugin Support [Herman Asrori (BSF)](https://wordpress.org/support/users/bsfherman/)
 * (@bsfherman)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-196/#post-14318398)
 * Hi [@karlemilnikka](https://wordpress.org/support/users/karlemilnikka/),
 * Thanks a lot for your time and effort. It helps a lot.
 * Once we finish investigating and fix the issue, we will release an update for
   this.
 * Once again, we really appreciate your help!
 * Kind regards,
    Herman 🙂
 *  [karlemilnikka](https://wordpress.org/support/users/karlemilnikka/)
 * (@karlemilnikka)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-196/#post-14318454)
 * [@bsfherman](https://wordpress.org/support/users/bsfherman/) Always happy to 
   help the developers of my favourite WordPress theme. Do you want me to install
   a demo-site showing the issue (like I did with the previous bug-reports)?
 * Best regards
    Karl Emil Nikka
 *  Plugin Support [Herman Asrori (BSF)](https://wordpress.org/support/users/bsfherman/)
 * (@bsfherman)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-196/#post-14321214)
 * Hi [@karlemilnikka](https://wordpress.org/support/users/karlemilnikka/),
 * Thank you so much for your offer, but it’s fine.
 * I would like to inform you that we have just released an update contains the 
   patch to fix the issue. I have confirmed myself that there are no longer errors
   in the console. Please check this [screenshot](https://share.getcloudapp.com/Blu4Y8bq).
 * Please update the plugin and let me know whether or not it’s working fine on 
   your end.
 * Kind regards,
    Herman 🙂
 *  [karlemilnikka](https://wordpress.org/support/users/karlemilnikka/)
 * (@karlemilnikka)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-196/#post-14324178)
 * [@bsfherman](https://wordpress.org/support/users/bsfherman/) I can confirm that
   the new version solved the issue. Thanks!
 * Best regards
    Karl Emil Nikka

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

The topic ‘JavaScript Error’ is closed to new replies.

 * ![](https://ps.w.org/custom-fonts/assets/icon-256x256.gif?rev=3001076)
 * [Custom Fonts - Host Your Fonts Locally](https://wordpress.org/plugins/custom-fonts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-fonts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-fonts/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-fonts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-fonts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-fonts/reviews/)

 * 14 replies
 * 4 participants
 * Last reply from: [karlemilnikka](https://wordpress.org/support/users/karlemilnikka/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-196/#post-14324178)
 * Status: resolved