Support » Plugin: Googlyzer » [Plugin: Googlyzer] Error message on dashboard

  • The plugin was working fine. But now we get this error message on the dashboard:

    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/dogwalks/public_html/wp-content/plugins/googlyzer/inc/HomeWidget.php on line 375

    We get that multiple times, then another error at the bottom:

    Fatal error: Uncaught exception ‘googlyzer_Exception’ in /home/dogwalks/public_html/wp-content/plugins/googlyzer/inc/Utilities.php:123 Stack trace: #0 /home/dogwalks/public_html/wp-content/plugins/googlyzer/inc/HomeWidget.php(132): googlyzer_Utilities->checkException(Object(googlyzer_Exception), Array) #1 /home/dogwalks/public_html/wp-admin/includes/template.php(958): googlyzer_homeWidget->dash_widget(”, Array) #2 /home/dogwalks/public_html/wp-admin/includes/dashboard.php(221): do_meta_boxes() #3 /home/dogwalks/public_html/wp-admin/index.php(98): wp_dashboard() #4 {main} thrown in /home/dogwalks/public_html/wp-content/plugins/googlyzer/inc/Utilities.php on line 123

    My colleague said the error started when he logged out of the google account he had linked to googlyzer and logged in with another account.

    I have deleted and reinstalled the plugin but the error remains the same.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author wmsedgar



    Thanks for your post. We’ve not seen this issue in our tests, but we’re in the midst of testing a development build of the next release of Googlyzer so we will add this to our issues list to be investigated.

    If you deactivate and then uninstall Googlyzer (from the WordPress plugin management tab before deleting anything), all of the prior plugin options and data should be deleted. If you’re comfortable looking at the MySQL database, you can do a select on the wp_options table based on ‘%googlyzer%’ after uninstalling the pluging to see if any options are being left in the WP database after removal of the plugin. If you find any, they can be safely deleted and then you can reinstall. Let us know if you do see any after doing an uninstall, as they should not be there if the uninstall was successful.

    Hi wmsedgar,

    Thanks for the reply. There were 2 entries in the database:

    [Code/database dump moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    I deleted the plugin, deleted those entries and then reinstalled but the error message still remains.

    Something I just noticed, when the plugin is activated the ‘WordPress Blog’ and ‘Other WordPress News’ sections remain on ‘Loading…’ but when it’s deactivated they get updated.

    Is there anything else you could suggest?

    Thanks, Kirk

    Plugin Author wmsedgar



    We’re not sure what is going on. We have not seen errors like these anywhere in our tests. The items you deleted from the WP database were not options entries left by Googlyzer. We do not believe they had anything to do with the issue you’re experiencing. Try going into Googlyzer settings and logging out of the existing Google account and then signing back in to enable Googlyzer access. If that doesn’t work, we’d suggest removing Googlzyer and starting from the beginning (go through all steps for setting up Googlyzer for your Google account). You could also test on a fresh install of WP to see if there is anything associated with your Google account that might be causing an issue (perhaps try multiple Google accounts).


    I installed a clean wordpress site and installed only Googlyzer and the problem is exactly the same so it looks like it could be a problem with out analytics. Do you have any idea what I should look for?

    Interestingly the plugin produces the above error on the main wordpress dashboard but I can view all the stats and graphs if I look at the ‘Googlyzer Dashboard’ which I had only just noticed. Not sure if that helps in any way

    Plugin Author wmsedgar



    You’re the only user we’ve had report an issue like this on WP 3.4, and we have not been able to replicate this error in test. The error, if it is the same one you listed in your 1st post on this topic, suggests that the Home widget is not being created properly during plugin activation. However, it is very strange that this error appeared after you changed the Google account associated with Googlyzer.

    We have 2 further suggestions for you to attempt to resolve. First, try removing Googlyzer, re-installing, and set Googlyzer up with a different Google account. Second, if the same error persists, try disabling the Googlyzer Home Dashboard widget within Googlyzer settings to see if that clears the error. If it does, try re-enabling the Googlyzer Home Dashboard widget to see if it comes back.

    Please let us know the results.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Googlyzer] Error message on dashboard’ is closed to new replies.