after updating from 1.8 to 1.8.1 (both auto-update and fresh install) the dashboard shows the following error message where once was the overview graph (Übersicht mit Graph in german):
Fatal error: Call to a member function getFirstRow() on a non-object in /www/htdocs/w00ebc43/public_html/piwik/plugins/VisitsSummary/Controller.php on line 115
For what it’s worth, I am getting a similar error when trying to fix 301 Moved Permanently by adjusting the method declaration (making it public and using $table parameter) and then using the $table parameter instead of $this->table.
[quote=fkrauthan]
For it helps to remove that widget and add it again. Now it works again.[/quote]
Same thing here. Removing and re-adding solved the problem. Thank you.
Removing and adding widget solves problem. But only for a short time, until user selects one column(metrics) for graph. For example (avg_time_on_site).
Then calling API VisitsSummary.get results in table with single column. avg_time_on_site
After that API\ResponseBuilder collapses it according to