When using the settings for Sky, Corolla or Picture Reloaded I get an undefined call to google_web_fonts_list_options(). Base theme and all sub-themes just updated to latest versions today.

Removed all 4 themes and then unpacked themes to make sure it was not a problem of having originally over written the theme files.

Tried running update but it showed no updates.

Cleared theme registry, did not help.

Clear cache, did not help.

(Last two steps done using devel module).

Comments

Jeff Burnz’s picture

Where from Nevets, can you paste the error message, cheers.

nevets’s picture

Here are the error messages

Fatal error: Call to undefined function google_web_fonts_list_options() in K:\htdocs\d7_as\sites\all\themes\pixture_reloaded\theme-settings.php on line 83

Fatal error: Call to undefined function google_web_fonts_list_options() in K:\htdocs\d7_as\sites\all\themes\corolla\theme-settings.php on line 65

Fatal error: Call to undefined function google_web_fonts_list_options() in K:\htdocs\d7_as\sites\all\themes\sky\theme-settings.php on line 65

Jeff Burnz’s picture

Try using this in the top of the theme-settings.php files

include_once(drupal_get_path('theme', 'adaptivetheme') . '/inc/google.web.fonts.inc');

I havent had to explicitly do this, but people are reporting this, this will clear it up but I am a little stumped as to why I dont get this on my local server, weird eh?

If you can confirm this fixes your issue I'll push up fixes and cut new releases strait away.

nevets’s picture

Yes, that did the trick by adding to each of three themes theme-settings.php files.

Jeff Burnz’s picture

Status: Active » Fixed

Awesome, all new versions released with the fix included (7.x-2.1 versions), thanks nevets.

Status: Fixed » Closed (fixed)

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

ataxia’s picture

I got this error after installing the Sky theme - the problem was resolved after I installed the AdaptiveTheme theme, which I guess is required for Sky.

Jeff Burnz’s picture

Yes, the base theme Adaptivetheme is a requirement for Sky theme, its on the project page, however you did not see that, so I wonder if I should make this more clear?

We get this problem a lot, but I wonder if people actually even read the project pages and just hit the download? I am not sure how to help users with this common problem, other than make some notice on the project page that is huge?

tebb’s picture

I also had the same/similar issue, but then realized I had version 2 of Corolla with version 1 of AT.