Title: Uncaught TypeError ress_loadGooglefont
Last modified: June 7, 2018

---

# Uncaught TypeError ress_loadGooglefont

 *  Resolved [Ivijan-Stefan Stipic](https://wordpress.org/support/users/ivijanstefan/)
 * (@ivijanstefan)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/uncaught-typeerror-ress_loadgooglefont/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-typeerror-ress_loadgooglefont%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Denis Ryabov](https://wordpress.org/support/users/dryabov/)
 * (@dryabov)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/uncaught-typeerror-ress_loadgooglefont/#post-10373066)
 * 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](https://wordpress.org/support/users/dryabov/)
 * (@dryabov)
 * [8 years ago](https://wordpress.org/support/topic/uncaught-typeerror-ress_loadgooglefont/#post-10438948)
 * 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.

 * ![](https://ps.w.org/psn-pagespeed-ninja/assets/icon.svg?rev=1722219)
 * [PageSpeed Ninja - Cache, Minify, Defer CSS JavaScript, Critical CSS, Optimize Images, Convert WebP](https://wordpress.org/plugins/psn-pagespeed-ninja/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/psn-pagespeed-ninja/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/psn-pagespeed-ninja/)
 * [Active Topics](https://wordpress.org/support/plugin/psn-pagespeed-ninja/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/psn-pagespeed-ninja/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/psn-pagespeed-ninja/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Denis Ryabov](https://wordpress.org/support/users/dryabov/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/uncaught-typeerror-ress_loadgooglefont/#post-10438948)
 * Status: resolved