WordPress.org

Ready to get started?Download WordPress

Forums

WP-Piwik
[resolved] Fatal error on Settings/statistics page (3 posts)

  1. GeeksTech
    Member
    Posted 1 year ago #

    Hi guys.

    I just come across a error.

    When i access the WP-Piwik Settings and then go to statistics i am getting the following error: Fatal error: Can't use method return value in write context in /home/USERNAMEHERE/public_html/wp-content/plugins/wp-piwik/settings/views.php on line 48
    I check the file and this is whats on line 48:
    echo '<input name="wp-piwik_displayto['.$strKey.']" type="checkbox" value="1"'.(isset(self::$settings->getGlobalOption('capability_read_stats')[$strKey]) && self::$settings->getGlobalOption('capability_read_stats')[$strKey]?' checked="checked"':'').'/> '.$strName.' &nbsp; ';

    Anyone have any idea why that is?

    From what i can tell when i access my Piwik site, my wordpress is still sending and generating statistics, but i thought i better get it checked out.

    P.s i am running the WP-Piwik 0.9.9.4 plugin, so i am upto date.

    http://wordpress.org/extend/plugins/wp-piwik/

  2. vrijewereld
    Member
    Posted 1 year ago #

    Unfortunately I have no insight into the cause of this error, but I am also experiencing this problem since I updated to the latest 0.9.9.4 version.

  3. braekling
    Member
    Plugin Author

    Posted 1 year ago #

    I'm sorry. Fix will be available soon.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic