• Resolved Mark Krieger

    (@markcanada)


    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

    (@markcanada)

    …a quick update – this only happens when JetPack is installed…

    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hi @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

    (@markcanada)

    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)

    (@bsfherman)

    Hi @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, that would be even better, so we can have a closer look at your site.

    Kind regards,
    Herman ??

    Thread Starter Mark Krieger

    (@markcanada)

    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)

    (@bsfherman)

    Hi @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 or submit a ticket thru our Support Portal.

    Have a great day!

    Herman ??

    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)

    (@bsfherman)

    Hi @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 ??

    @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

    Hi @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)

    (@bsfherman)

    Hi @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 ??

    @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)

    (@bsfherman)

    Hi @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.

    Please update the plugin and let me know whether or not it’s working fine on your end.

    Kind regards,
    Herman ??

    @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.