Title: Google Fonts errors
Last modified: August 30, 2016

---

# Google Fonts errors

 *  Resolved [slushman](https://wordpress.org/support/users/slushman/)
 * (@slushman)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/google-fonts-errors/)
 * I’m seeing the following errors on the front-end of my client’s site:
 * Warning: array_key_exists() [function.array-key-exists]: The first argument should
   be either a string or an integer in /home/peoples/www/www/wp-content/plugins/
   popup-maker/includes/integrations/google-fonts.php on line 11
 * Warning: array_key_exists() [function.array-key-exists]: The first argument should
   be either a string or an integer in /home/peoples/www/www/wp-content/plugins/
   popup-maker/includes/integrations/google-fonts.php on line 18
 * Warning: array_key_exists() [function.array-key-exists]: The first argument should
   be either a string or an integer in /home/peoples/www/www/wp-content/plugins/
   popup-maker/includes/integrations/google-fonts.php on line 25
 * The URL is [http://www.pdcarea.com/](http://www.pdcarea.com/)
 * I currently have commented out the add_action call in the includes/integrations/
   google-fonts.php file so the error doesn’t display.
 * Whether we have an pop-up turned on or not, the error appears. FYI, We don’t 
   currently have a pop-up active.
 * We’re using Google fonts in the theme, but not in this plugin. We have the “Don’t
   load google fonts” checkbox checked.
 * It doesn’t appear to be a conflict with any plugins as I’ve deactivated everything
   but Popup Maker and the error still appears.
 * I also tried activating Twenty Fifteen and the error still appears.
 * [https://wordpress.org/plugins/popup-maker/](https://wordpress.org/plugins/popup-maker/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/google-fonts-errors/#post-6226858)
 * [@slushman](https://wordpress.org/support/users/slushman/) – Hmm, this should
   have been resolved in the latest update for sure. I am reopening the issue on
   github and will take a look at it to find the solution. If you are ok with leaving
   that comment in there it shouldn’t affect any other functionalities in the plugin
   since you aren’t using GFonts.
 * Thanks for the detailed report.
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/google-fonts-errors/#post-6227022)
 * [@slushman](https://wordpress.org/support/users/slushman/) – Checking back in.
   Can you check and see if your still having this issue in the latest version (
   v1.3).
 * Closing this ticket due to inactivity. If your still having an issue post here
   and we will continue troubleshooting.
 * Please take a moment to [rate and review the plugin](https://wordpress.org/support/view/plugin-reviews/popup-maker)
   and or support.
 *  Thread Starter [slushman](https://wordpress.org/support/users/slushman/)
 * (@slushman)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/google-fonts-errors/#post-6227027)
 * Hey Daniel,
 * Sorry, just getting back to this. Sadly, this is still happening. We recently
   updated to version 1.3.6 on the client site and it broke immediately since my
   changes we written over.
 * I’ve setup a test site we can play with, if you want to check it out. I’ll email
   you the credentials and such and you can play around with it.
 * I went ahead and deactivated all the plugins and switched to Twenty Fifteen to
   make sure if it wasn’t anything else conflicting, but I’m getting the same set
   of error messages as before.
 * If I comment out the same line I mentioned above, the error for Google Fonts 
   disappears.
 * Strangely, I’m also getting an error related to the css-functions.php file too.
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/google-fonts-errors/#post-6227028)
 * [@slushman](https://wordpress.org/support/users/slushman/) – Can you post the
   error from CSS functions here. I will be working on a patch for this week so 
   I would like to get both of these issues wrapped up quickly.
 *  Thread Starter [slushman](https://wordpress.org/support/users/slushman/)
 * (@slushman)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/google-fonts-errors/#post-6227029)
 * You bet!
 * Warning: strlen() expects parameter 1 to be string, array given in /home/edcc/
   www/www/pdctest/wp-content/plugins/popup-maker/includes/css-functions.php on 
   line 12
 * Warning: substr() expects parameter 1 to be string, array given in /home/edcc/
   www/www/pdctest/wp-content/plugins/popup-maker/includes/css-functions.php on 
   line 17
 * Warning: substr() expects parameter 1 to be string, array given in /home/edcc/
   www/www/pdctest/wp-content/plugins/popup-maker/includes/css-functions.php on 
   line 18
 * Warning: substr() expects parameter 1 to be string, array given in /home/edcc/
   www/www/pdctest/wp-content/plugins/popup-maker/includes/css-functions.php on 
   line 19
 * Fatal error: Unsupported operand types in /home/edcc/www/www/pdctest/wp-content/
   plugins/popup-maker/includes/css-functions.php on line 28
 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/google-fonts-errors/#post-6227030)
 * [@slushman](https://wordpress.org/support/users/slushman/) – Thanks, got an issue
   on github and will be looking into both.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Google Fonts errors’ is closed to new replies.

 * ![](https://ps.w.org/popup-maker/assets/icon-256x256.gif?rev=3097653)
 * [Popup Maker - Boost Sales, Conversions, Optins, Subscribers with the Ultimate WP Popup Builder](https://wordpress.org/plugins/popup-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-maker/reviews/)

## Tags

 * [googlefonts](https://wordpress.org/support/topic-tag/googlefonts/)

 * 6 replies
 * 2 participants
 * Last reply from: [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/google-fonts-errors/#post-6227030)
 * Status: resolved