Support » Plugin: WP-Piwik » Fatal error on Settings/statistics page

  • Resolved GeeksTech


    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 plugin, so i am upto date.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error on Settings/statistics page’ is closed to new replies.