Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Weekly Goals fail both in overview and on details page #2587

Closed
anonymous-matomo-user opened this issue Jul 24, 2011 · 2 comments
Closed
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.
Milestone

Comments

@anonymous-matomo-user
Copy link

Hello,

there is a bug when I call piwik statistics and the timeframe is "week" then the goal statistics graph does show an error.
The error does not appear if the timeframe is different (day, month or year). The behaviour applies both for websites with goals defined and those without goals.

Version: Piwik 1.5.1

Error Report follows:

There is an error. Please report the message and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Undefined offset: 1297814400 in /srv/www/htdocs/piwik/core/Archive/Array/IndexedByDate.php on line 135

Backtrace -->
#0 Piwik_ErrorHandler(...) called at [Piwik_Archive_Array_IndexedByDate->getDataTableFromNumeric(...) called at /srv/www/htdocs/piwik/plugins/Goals/API.php:302#2 Piwik_Goals_API->get(...) called at [call_user_func_array(...) called at /srv/www/htdocs/piwik/core/API/Proxy.php:179#4 Piwik_API_Proxy->call(...) called at [Piwik_API_Request->process(...) called at /srv/www/htdocs/piwik/core/ViewDataTable.php:391#6 Piwik_ViewDataTable->loadDataTableFromAPI(...) called at [Piwik_ViewDataTable_GenerateGraphData_ChartEvolution->loadDataTableFromAPI(...) called at /srv/www/htdocs/piwik/core/ViewDataTable/GenerateGraphData.php:98#8 Piwik_ViewDataTable_GenerateGraphData->main(...) called at [Piwik_Controller->renderView(...) called at /srv/www/htdocs/piwik/plugins/Goals/Controller.php:333#10 Piwik_Goals_Controller->getEvolutionGraph(...) called at [call_user_func_array(...) called at /srv/www/htdocs/piwik/core/FrontController.php:136#12 Piwik_FrontController->dispatch(...) called at [Piwik_FrontController->fetchDispatch(...) called at /srv/www/htdocs/piwik/core/ViewDataTable/GenerateGraphHTML.php:148#14 Piwik_ViewDataTable_GenerateGraphHTML->getGraphData(...) called at [Piwik_ViewDataTable_GenerateGraphHTML->buildView(...) called at /srv/www/htdocs/piwik/core/ViewDataTable/GenerateGraphHTML.php:92#16 Piwik_ViewDataTable_GenerateGraphHTML->main(...) called at [Piwik_Controller->renderView(...) called at /srv/www/htdocs/piwik/plugins/Goals/Controller.php:333#18 Piwik_Goals_Controller->getEvolutionGraph(...) called at [Piwik_Goals_Controller->getOverviewView(...) called at /srv/www/htdocs/piwik/plugins/Goals/Controller.php:218#20 Piwik_Goals_Controller->widgetGoalsOverview(...) called at [call_user_func_array(...) called at /srv/www/htdocs/piwik/core/FrontController.php:136#22 Piwik_FrontController->dispatch(...) called at [/srv/www/htdocs/piwik/index.php:53]

Fatal error: Call to a member function addRowsFromArray() on a non-object in /srv/www/htdocs/piwik/core/Archive/Array/IndexedByDate.php on line 135

@anonymous-matomo-user
Copy link
Author

Same here...

@robocoder
Copy link
Contributor

dupe #2578

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

2 participants