• Resolved Ivijan-Stefan Stipic

    (@ivijanstefan)


    Hi,

    great job on this plugin. I have some console error and want to remove it. Generaly when your plugin generate javascript for Google fonts it throw this error.

    Uncaught TypeError: Cannot read property 'split' of undefined
        at ress_loadGooglefont ((index):3)
        at (index):3

    Please check that, fix and push update.

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Denis Ryabov

    (@dryabov)

    It’s because of font “Pacifico” is loaded without width specified. This case was not supported by PageSpeed Ninja, but seems I’ve fixed it locally, so wait for next release. Now you can set “Google Fonts loading” option in Advanced tab (section “Eliminate render-blocking JavaScript and CSS in above-the-fold content”) to “Flash of invisible text” to avoid this error.

    Plugin Author Denis Ryabov

    (@dryabov)

    Fixed in 0.9.26

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uncaught TypeError ress_loadGooglefont’ is closed to new replies.