logger_error Piwik_ViewDataTable_GenerateGraphHTML

The logger_error file is being populated with errors referencing

Declaration of Piwik_ViewDataTable_GenerateGraphHTML::init() should be compatible with that of Piwik_ViewDataTable::init()

each time the Dashboard is viewed. Full logger_error file attached.

It has something to do with the widgets; visit summary, visit length, server time. Removing the widgets from the Dashboard obviously stops the errors. I’m at a loss as to what the errors mean and how to go about resolving it.

Had no issues reported during installation besides utf8 character encoding which has been added to config.ini.php.

Being on a shared hosting environment, I’m restricted in what I can do, but any help would be greatly appreciated.

are you using the latest piwik version?

Sorry, yes, using the latest version of Piwik. Have installed twice, both times giving the same errors, which leads me to think that it’s a server issue. Not sure where to start to solve the problem. Piwik does run fine regardless of the errors, but I’d like to have it working as intended to.

I think we fixed something similar recently - can you try using the SVN release? http://dev.piwik.org/trac#SVNAccess

direct link to trunk: http://dev.piwik.org/trac/changeset/1898/t…&format=zip

Installed the SVN build referred to and no longer receive the before-mentioned errors. The only issue I have noticed is with the Live widget causing mod_security issues. The server logs reference spy.js as the culprit, however, I am happy using Piwik without that plugin.

Thank you for your help.

Thanks for confirming the fix in svn.

As for mod_security, it looks like your host uses an overzealous custom/third-party rule. Since there’s no rule against spy.* in the core/optional mod_security rules, this is a wontfix.