Support » Plugin: WP Google Fonts » Undefined index Notice/Error

  • ken90


    Whenever I place “define(‘WP_DEBUG’, true);” in wp-config.php I get undefined index notice. Is there any quick way of solving this problem? I know it’s not a critical bug, but it would be great to have it solved.

    Notice: Undefined index: googlefonts_font1 in .... google-fonts.php on line 802
    Notice: Undefined index: googlefonts_font2 in .... google-fonts.php on line 802

Viewing 1 replies (of 1 total)
  • Aaron Brown


    Thanks @ken90. We’ll address this in the upcoming release. In the mean time, if you want you can edit the following line, which should take care of the issue.

    On line 802 replace:



    if(isset($this->options[$option]) && $this->options[$option]){

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined index Notice/Error’ is closed to new replies.