After enabling google fonts, i chose this font.
<link href='https://fonts.googleapis.com/css?family=Quicksand' rel='stylesheet' type='text/css'>
i enter this:

https://fonts.googleapis.com/css?family=Quicksand

I get server 500 error. This happened before but I wasn't sure if it was AT related (google fonts worked before but disappeared)

resulting in this error in my log:

Notice: Undefined index: settings_font_fallback in at_core_submit_fonts() (line 19 of /path/to/web/themes/adaptivetheme/at_core/forms/ext/fonts_submit.php).

fortunately I was able to back into my settings and switch to Bartik (last time I had to completely reinstall)

Thanks for all your hard work!
Chris

Comments

sushichris created an issue. See original summary.

sushichris’s picture

My apologies! Seems that my theme didn't update, I completely reinstalled AT and the font works fine!

sushichris’s picture

Status: Active » Fixed
Jeff Burnz’s picture

Status: Fixed » Active

I'm setting this back to active, lets fix this part of the problem so it doesnt happen to anyone else:

Undefined index: settings_font_fallback in at_core_submit_fonts()

The way google fonts changed recently and that is why you got an error, looks like I need to do some more work so this error does not happen (I had done some work on it, but clearly not enough).

However this would not cause a server 500 error, so I am wondering if you have any other logs that might indicate why you got the server 500?

  • Jeff Burnz committed 4e43762 on 8.x-1.x
    Issue #2631830: Google Font breaks site
    
    Signed-off-by: jmburnz...
sushichris’s picture

@Jeff Burnz(I am not sure if you received my messages but I have sent you a few private messages, one with the error log)

Jeff Burnz’s picture

I got it, I'll go over it tonight, cheers!

sushichris’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.