Forums

[Plugin: Google Analytics for WordPress] Admin Dashboard error after installation - Quickpress missi (2 posts)

  1. dasfudd
    Member
    Posted 2 years ago #

    Hello,
    I just installed Google Analytics for WordPress plugin and after setting plugin to active in my admin dashboard the right side is missing (Quickpress, recent drafts, ...) even on the left side there is nothing under recent comments now.

    If i disable Google Analytics plugin, everthing works fine again.

    Is this a bug?

    Thank you very much!

  2. CarstenTimm
    Member
    Posted 1 year ago #

    I had the same problem:
    When I have this plugin activated in wordpress 2.9.2 wp-admin/index.php delivers an Internal Server Error

    In the file "googleanalytics.php" added /* in front of line 46 and */ in the back of line 46, disabling that line of code - It now looks like this: /*add_action('wp_dashboard_setup', array(&$this,'widget_setup')); */

    In the file "yst_plugin_tools.php" I also blocked out line 28 it now looks like this: /*add_action('wp_dashboard_setup', array(&$this,'widget_setup')); */

    And I blocked out lines 219 to 223 in the same file, it now looks like this: `/*function widget_setup() {
    $options = get_option('yoastdbwidget');
    if (!$options['removedbwidget'])
    wp_add_dashboard_widget( 'yoast_db_widget' , 'The Latest news from Yoast' , array(&$this, 'db_widget'));
    }*/`

    Now wp-admin/index.php works again, and the plugin works, I'am not sure if you need to block out all the lines of code that I blocked out, but I works :-)

    I disabled the plugin while editing the code, and activated it again after uploading the edited files.

    I hope this workaround works for you also, let us know. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic