Error when using Typekit

andrefadyl's picture
andrefadyl
Thu, 11/19/2015 - 04:02
#1
Error when using Typekit

Hi Mega Drupal, 

Whenever Im trying to use Typekit for Custom Fonts on MegaSlider or Appearance settings. It gives me error : 

Warning: file_get_contents(http://typekit.com/api/v1/json/kits/bai2nnl/published): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in _fullscreen_get_typekit_font() (line 339 of/home/domain/public_html/beta/sites/all/modules/custom/md_fullscreen_slider/inc/md_fullscreen_slider.utils.inc).


and 


  • Warning: file_get_contents(http://typekit.com/api/v1/json/kits/bai2nnl/published): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in _md_make_process_typekit_font() (line 92 of/home/domain/public_html/beta/sites/all/themes/md_make/theme_setting/admin/utilities.inc).

  • Notice: Undefined variable: fontarray in _md_make_process_typekit_font() (line 110 of /home/domain/public_html/beta/sites/all/themes/md_make/theme_setting/admin/utilities.inc).

  • Notice: Undefined variable: fontvars in _md_make_process_typekit_font() (line 110 of /home/domain/public_html/beta/sites/all/themes/md_make/theme_setting/admin/utilities.inc).

  • Warning: Invalid argument supplied for foreach() in theme_add_font_style() (line 159 of /home/domain/public_html/beta/sites/all/themes/md_make/theme_setting/admin/utilities.inc).

How to use custom Typekit fonts ? 

Best Regards, 

Andre Fadyl

phuonght's picture
phuonght
Thu, 11/19/2015 - 04:57

Hi,

Error occurs because of wrong Typekit ID or unpublish Typekit.

You could take a look at Typekit documentation at: http://help.typekit.com/customer/portal/articles/6780

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.