1. General discussions
  2. Tuesday, 13 November 2018
Hello Joomshapers,

I just wanted to inform you about the issue that we are all going through recently, both with Helix3 and Helix Ultimate frameworks. That's why I have putted this in "General Discussion" category, because it happens with both template frameworks.

1) On Helix3, when you Update Fonts List (template's admin > Typography > Update Fonts List > One Click Update) for Google Fonts, it will clear the whole list and remove the whole list from ~/templates/shaper_helix3/webfonts/webfonts.json (JSON) file.

google-fonts-helix3.png

The problem is that there is no way back, after you click "Save", Google webfonts list will be empty. Also, the "Warning" message is generated:
Warning: Invalid argument supplied for foreach() in ~/plugins/system/helix3/fields/typography.php on line 50... etc.

2) On Helix Ultimate, same thing:

google-fonts-helix-ultimate.jpg

Again, the "Warning" message is generated: Warning: Invalid argument supplied for foreach() in ~/plugins/system/helixultimate/fields/helixfont.php on line 198... etc.

It looks to me like Google is blocking this "update", that was working before in Helix3 and Helix Ultimate, perhaps due to Google compliant GDPR policy, or they are changing something, as we speak... the same way they did with Google Maps in June 2016... I am not sure. Well, I am sure about one thing... Google is more and more annoying...

Do you have an idea how to fix this? This problem does look pretty important. When ever you click to "Update Fonts List" it will remove all the fonts from the list, and if you click "Save", front-end you will loose all the Google fonts from template, without option to revert it.

Lastly, to mention that I have tested this on both local server (MAMP) and on live server, on PHP 5.6, PHP 7.1.12, and on PHP 7.2.1. In all scenarios it is the same, not working.

Kind regards,

Aplikko team
Attachments (2)
Accepted Answer
Will be soon with Helix update
temporary use this below unzipped file here:

templates\shaper_helixultimate\webfonts
Attachments (2)
  1. more than a month ago
  2. General discussions
  3. # Permalink
Responses (23)
Hi,
we noticed, you're not first one here on forum.
Google Fonts required now API, I don't think it's related with GDPR which is from may 2018.
We have to update frameworks, and decide how to solve it.
Probably we will remove that button, and update list via Helix update
or add extra API field.
  1. more than a month ago
  2. General discussions
  3. # 1
Ok Paul,

Yes, I saw the other post on this issue, but after I released this one, so I missed it.

Hey Paul, can you send me one "Amarone" bottle like this one: http://www.cantinealdegheri.it/prodotti/le-riserve~2/amarone-della-valpolicella-classico~18.html as well? I think I have found SP Cookie Consent in SPPB 3.3.8...

Just kidding... :D

Have a great day!
  1. more than a month ago
  2. General discussions
  3. # 2
Inside my packages of SPPB I don't have any cookie plugin, I searched files,
maybe "damaged" version was for short period. No vine, sorry. Only candy on JoomlaDay.
  1. more than a month ago
  2. General discussions
  3. # 3
BTW
What is weird I was able to update Fonts in Helix Ultimate, J3.9 .. so maybe it's somehow related with something "else". Can you send me access to test site where you have this error with helix. Use PM
  1. more than a month ago
  2. General discussions
  3. # 4
Hi Paul,

I don't have Helix Ultimate on "live" server, only Helix3. I am developing website based on Helix Ultimate, but on local host (MAMP).

The problem is that Helix Ultimate doesn't have (exist) ~/templates/shaper_helixultimate/webfonts folder (with webfonts.json) when you install it. You can unzip "helixultimate_template_j3_v1.0.4.zip" and see. Both: Quickstart or "Template Only" don't have this folder "webfonts", so Google fonts (webfonts) is generated from Helix Ultimate:

~/plugins/system/helixultimate/assets/webfonts/webfonts.json

...which is "fallback" when you don't have it in template's folder (~/templates/shaper_helixultimate/webfonts), and that's fine. This is generated from ~/plugins/system/helixultimate/fields/helixfont.php, lines 28, 29:


$template_path = \JPATH_SITE . '/templates/' . $style->template . '/webfonts/webfonts.json';
$plugin_path = \JPATH_PLUGINS . '/system/helixultimate/assets/webfonts/webfonts.json';


So, when you first attempt to "Update Fonts List" in Helix ultimate, Helix will generate this folder "webfonts" (~/templates/shaper_helixultimate/webfonts), but the JSON (webfonts.json) will be empty, and there the problems kicks in.

Please, have a look at Google developer's docs: https://developers.google.com/fonts/docs/developer_api?apix_params=%7B%7D. It is stated:

To retrieve the dynamic list of fonts offered by the Google Fonts service, send the following request:

https : // www.googleapis.com/webfonts/v1/webfonts?key=YOUR-API-KEY


So, perhaps they started the same thing with API key for Google fonts, as they did with Google maps?

Kind regards,

Aplikko team
  1. more than a month ago
  2. General discussions
  3. # 5
(...)perhaps they started the same thing with API key for Google fonts, as they did with Google maps?


Yes, I have exactly same suspicions.
  1. more than a month ago
  2. General discussions
  3. # 6
Just to add this wrongly (empty list) from generated webfonts.json after clicking "Update Fonts List" (see the whole code below, because it is not allowed to attach JSON files on forum). Maybe it will help your developers (great guys) to figure out the solution?

{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "ipRefererBlocked",
"message": "The request did not specify any referer. Please ensure that the client is sending referer or use the API Console to remove the referer restrictions.",
"extendedHelp": "https://console.developers.google.com/apis/credentials?project=184597416728"
}
],
"code": 403,
"message": "The request did not specify any referer. Please ensure that the client is sending referer or use the API Console to remove the referer restrictions."
}
}


Kind regards and have a great day Paul
  1. more than a month ago
  2. General discussions
  3. # 7
OK, I solved my, the same, issue by replacing the webfont.jason file with the last server backup version prior to clicking the 'update' button. One has to go back and set the fonts again but quicker than anything else I can think of at the moment
  1. more than a month ago
  2. General discussions
  3. # 8
yes, our developer is sitting under it.

---
Thanks.
  1. more than a month ago
  2. General discussions
  3. # 9
As I got message, update of Helix should be tomorrow.
Till than please wait for official helix update and do not click Font Update button
  1. more than a month ago
  2. General discussions
  3. # 10
Hello.
Is there any update on this?
Last msg here was 6 days ago.
Ive installed latest estate template quickstart 3 days ago and clicked update fonts list button
because I didnt know about this issue. And now all google fonts are gone.
I would like to avoid setting up whole website again.
Regards
  1. more than a month ago
  2. General discussions
  3. # 11
Hello Paul,

Yes, there is no update yet. Any news?

Kind regards,

Aplikko team
  1. more than a month ago
  2. General discussions
  3. # 12
Hello Paul,

Yes, there is no update yet. Any news?

Kind regards,

Aplikko team


All you have to do is replace one file (webfonts.json), which I believe they issued a zip download some where in the forum. And of course do no update fonts till the issue is fixed on the template.
  1. more than a month ago
  2. General discussions
  3. # 13
Sorry, update should be soon, I cannot speed up process.
  1. more than a month ago
  2. General discussions
  3. # 14
I managed to grab webfonts.json file from other already installed template on my dev server because it doesnt exist in core or template package. I guess that it's created during template installation after 1st save.
  1. more than a month ago
  2. General discussions
  3. # 15
Is there any update for this?
The fonts are totally missing from the template administration.
  1. more than a month ago
  2. General discussions
  3. # 16
GREAT.
That did the job for now.

Thank you
  1. more than a month ago
  2. General discussions
  3. # 17
Some fonts are still missing, EXO2 don't work, K2D are not available. I hope it can be fix quickly. I use K2D.

Update: I have updated the whole list, change the json, so now the json file expand to 473 kb instead of 436 kb.
  1. more than a month ago
  2. General discussions
  3. # 18
Anytime you can add google font manually, it's very easy.
  1. more than a month ago
  2. General discussions
  3. # 19
Hello every boby.
I see that the last message in this page is rather old, so I would like to know if the problem is still here ?
I bought the template Flex few months ago, couldn't install it bacause of a lot of other personnal projects, and now I have time I can't work on it.
So if you have informations or solutions, I would be very glad :D
Thank you !
  1. more than a month ago
  2. General discussions
  3. # 20
Yoann some facts:
1) Flex template is NOT ours (!) it's from Aplikko / ThemeForest
2) It's not our fault that you were too busy to test and ask them for help.
3) During last 6 months they updated their template as well.

Here you have subscription and support for SPPB Pro only.
We do not solve problems caused by addons override.
  1. more than a month ago
  2. General discussions
  3. # 21
Yes, you're right.
As I saw that Aplikko was on this forum talking about font troubles, and as the screenshots were showing exactly what I saw on my joomla, I thought it was the good place to talk about that.
Be sure that I didn't meen to disturb, I'll be more carefull next time.
Thank you anyway for your answer, and have a nice day ^^
  1. more than a month ago
  2. General discussions
  3. # 22


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.