I have a problem with VisitsSummary on my dashboard. I have an internal server error (500) and in my log files :
PHP Fatal error: Call to a member function getRowsCount() on a non-object in /home/home/www/piwik/plugins/VisitsSummary/Controller.php on line 130, referer: http:/URL/index.php?module=CoreHome&action=index&idSite=1&period=day&date=today
How can i fix that ?
I’m running on Piwik 1.9.2 and i just remove / add all file for try but i have the same problem…
It should not be a memory error since it does not mention memory ?
leskolat, memory errors are usually reported on the screen or in the error log.
Ok i just thought the widget thing was reminisent of a memory problem.
here it seems it’s a bug in Piwik somehow - can you try latest beta: [piwik.org]
and let me know if you sitll have the problem ?
If the beta is an issue how about updating the php to 5.4.x? Worst case it will still be there but some have reported an improvement in some performance with it as a php 5.4.x.
Here the bug is php warning, so it means unfortunately that some special data lead piwik to “bug” so I’d say if we can reproduce the issue we can fix it in piwik!
Something else came to mind. How are you putting the piwik code on your pages? is it via an include? I see the error points to a taxonomy on your site that is /home/home/www… is the site structure really that way?