• Resolved slushman

    (@slushman)


    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 https://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://www.ads-software.com/plugins/popup-maker/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @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

    (@danieliser)

    @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 and or support.

    Thread Starter slushman

    (@slushman)

    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

    (@danieliser)

    @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

    (@slushman)

    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

    (@danieliser)

    @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.