WordPress.org

Ready to get started?Download WordPress

Forums

Googlyzer
Error message on dashboard (6 posts)

  1. kirky
    Member
    Posted 2 years ago #

    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.

    http://wordpress.org/extend/plugins/googlyzer/

  2. wmsedgar
    Member
    Plugin Author

    Posted 2 years ago #

    kirky,

    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.

  3. kirky
    Member
    Posted 2 years ago #

    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

  4. wmsedgar
    Member
    Plugin Author

    Posted 2 years ago #

    kirky,

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

  5. kirky
    Member
    Posted 2 years ago #

    Hi,

    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

  6. wmsedgar
    Member
    Plugin Author

    Posted 2 years ago #

    kirky,

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic