Most user who report this have experiences an issue on their server, usually a setting in PHP module when post/get calls fail because of CURL. Between this and you sever acting as if a version below PHP 7.x in installed, I suspect something else is going on that is manifesting itself here. I would highly recommend contacting whomever does support for your website and tell them PHP 7 specific code is kicking back errors and that API with cURL calls are also failing, I, personally, am unable to debug your server.
If you check https://api.redux.io/gfonts and see a JSON string of Google fonts, then the server is working
The site took 3-5 minutes to load. I fixed it by adding this filter:
if ( !function_exists( ‘google_field_path’ ) ):
function google_field_path() {
return ‘https://raw.githubusercontent.com/reduxframework/google-fonts/master/google_fonts.json’;
}
endif;
add_filter( “redux/typography/google_fonts/url”, “google_field_path” );
This means that the server has a problem connecting to your API address:
https://api.redux.io/gfonts
Is my solution optimal or can it be done better?
I’m not seeing that kind of lag here. You are free to add that filter in your project if you like. If I tie the core to GitHub and something happen in the future where GitHub isn’t available, then it means mass breakage. The redirect from the server saves that issue.
It may also be an internet traffic issue somewhere.
Okay thank you. If there is any problem, I will contact you, and in the meantime I am closing this thread.