Title: Error with google fonts
Last modified: December 30, 2021

---

# Error with google fonts

 *  Resolved [TheSickle](https://wordpress.org/support/users/thesickle/)
 * (@thesickle)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/error-with-google-fonts/)
 * Hello,
 * First of all amazing plugin thank you for that.
 * Unfortunatrlly I have been having a strange error on GTmetrix, when I enable 
   the plugin:
    `css?family=&display=swap (canceled) fonts.googleapis.com 0`
 * I tested with all plugins disabled error is not present, I tried with all plugins
   enabled besides Twentig no error, I enable Twentig and the error appears.
 * Please advise how to resolve this ?
 * Thank you in advance for the time and help.

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

 *  Plugin Author [Twentig](https://wordpress.org/support/users/twentig/)
 * (@twentig)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/error-with-google-fonts/#post-15237287)
 * Hi,
 * Thanks for the kind words.
 * It seems there’s an issue with the Google Fonts URL that is generated. There 
   should be a font name in the URL: `family=fontname&display=swap` while you currently
   have `css?family=&display=swap`. In the Customizer > Twentig Options > Fonts 
   panel, have you selected a Google font? If possible, would you please share the
   URL of your website?
 * Thanks,
    Tom
 *  Thread Starter [TheSickle](https://wordpress.org/support/users/thesickle/)
 * (@thesickle)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/error-with-google-fonts/#post-15239307)
 * Hello,
 * Its on a dev server with internal access only for now so no way to share 🙁
 * Everything works perfectly I tested on a new install and the issue is not present,
   but might be related to the Litespeed caching we are configuring or some other
   conflict I am missing, but no matter what I try I get this error even if I do
   not select google font in Customizer. Tried to stop Litespeed, but error was 
   still there.
 * I suspect something breaks at some point and I am sure its somethings really 
   stupid 😀 I am still troubleshooting this to see if I can get a resolution was
   hoping you have had similar issues to give me a pointer where to look 🙂
 *  Thread Starter [TheSickle](https://wordpress.org/support/users/thesickle/)
 * (@thesickle)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/error-with-google-fonts/#post-15239414)
 * I think after a ton of testing the culprit was : Webfontloader.min.js coming 
   from Litespeed which was triggered when trying to use the option: Load Google
   Fonts Asynchronously. Why the error vanished when removing your plaugin I have
   no idea tbh otherwise I would have created the ticket for litespeed plugin.
 * I also think that some other setting is causing this as well, because I tested
   with Load Google Fonts Asynchronously off and still got the error, my best guess
   is that services related to their API with QUIC.cloud have some issue with this,
   but as long as things work for now and speeds are good I am ok 🙂
 * Again thank you for your efforts really amazing work 🙂
 *  Plugin Author [Twentig](https://wordpress.org/support/users/twentig/)
 * (@twentig)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/error-with-google-fonts/#post-15240498)
 * Hi,
 * Thanks for the heads up, glad things are working now.
 * If you enjoy Twentig, please rate it. It would really help me out 🙂
    Tom
 *  Thread Starter [TheSickle](https://wordpress.org/support/users/thesickle/)
 * (@thesickle)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-google-fonts/#post-15271735)
 * Yes I will do that right now 🙂

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

The topic ‘Error with google fonts’ is closed to new replies.

 * ![](https://ps.w.org/twentig/assets/icon.svg?rev=2569439)
 * [Twentig Supercharged Block Editor – Blocks, Patterns, Starter Sites, Portfolio](https://wordpress.org/plugins/twentig/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/twentig/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/twentig/)
 * [Active Topics](https://wordpress.org/support/plugin/twentig/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/twentig/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/twentig/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [TheSickle](https://wordpress.org/support/users/thesickle/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-google-fonts/#post-15271735)
 * Status: resolved