WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics Dashboard for WP
version 4.2.3 not working (8 posts)

  1. davidlrattigan
    Member
    Posted 8 months ago #

    I just installed the latest update (4.2.3), and I've had to disable it again, as nothing appears on my WP dashboard as long as it's activated.

    Basically, all I see at wp-admin is the Google Analytics Dashboard header and nothing else.

    http://wordpress.org/plugins/google-analytics-dashboard-for-wp/

  2. Alin Marcu
    Member
    Plugin Author

    Posted 8 months ago #

    Hi,

    I think you have a fatal error, it can be generated by multiple things. If you want to solve it, please check your PHP error log or try to set WP_DEBUG to true in your wp-config.php (more info here http://codex.wordpress.org/WP_DEBUG).

    Post your error here for further help.

  3. eldenroot
    Member
    Posted 8 months ago #

    sane for me... it had been working for 8 months without problem... it stopped working 2 days ago... no changes on website

  4. Alin Marcu
    Member
    Plugin Author

    Posted 8 months ago #

    See the above post, I need the exact error, If you don't post the exact error from your error log I can't help you.

  5. davidlrattigan
    Member
    Posted 8 months ago #

    Hi, Alin,

    Here is the error I get when I activate your plugin (IPs sanitized):

    2013/12/21 19:09:07 [error] 24527#0: *23254 FastCGI sent in stderr: "PHP message: XML_ERR_NAME_REQUIRED at line 1, column 2
    PHP message: Space required at line 6, column 39
    PHP message: Mismatched tag at line 79, column 13" while reading response header from upstream, client: 000.000.000.000, server: prescotonline.co.uk, request: "GET /wp-admin/plugins.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/prescotonline.co.uk.sock:", host: "prescotonline.co.uk", referrer: "http://prescotonline.co.uk/wp-admin/"
    2013/12/21 19:09:28 [error] 24527#0: *23254 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot redeclare class Google_DataServiceResource in /srv/www/prescotonline.co.uk/htdocs/wp-content/plugins/google-analytics-dashboard-for-wp/src/contrib/Google_AnalyticsService.php on line 27" while reading upstream, client: 000.000.000.000, server: prescotonline.co.uk, request: "GET /wp-admin/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/prescotonline.co.uk.sock:", host: "prescotonline.co.uk", referrer: "http://prescotonline.co.uk/wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s="

  6. Alin Marcu
    Member
    Plugin Author

    Posted 8 months ago #

    Ok, that's because you probably use another analytics plugin, right? disable it and everything will work just fine.

  7. Kyle R
    Member
    Posted 5 months ago #

    How can you say disable it? People might want both?

    Bad coding, not checking if classes/functions already exist.

  8. Alin Marcu
    Member
    Plugin Author

    Posted 5 months ago #

    @kyle-r give it a try and if you can fix that issue, while keeping the library to its original state, using class_exists and function_exists please share the patch with us :)

Reply

You must log in to post.

About this Plugin

About this Topic