Opened 11 months ago

Closed 6 months ago

Last modified 3 months ago

#3943 closed Bug (fixed)

Evolution graph fails to load and returns stack trace for Actions.getPageUrls

Reported by: tsteur Owned by:
Priority: normal Milestone: 2.0.3 - Piwik 2.0.3
Component: Core Keywords:
Cc: Sensitive: no



in Piwik Mobile App I'm trying to display this evolution graph which is a subtable report:,2013-05-18&idSubtable=45&filter_sort_column=nb_hits&column=nb_hits&columns=nb_hits&language=en&width=600&height=300&fontSize=18&showMetricTitle=0&aliasedGraph=1&legendAppendMetric=0&backgroundColor=efefef&gridColor=dcdcdc&colors=cb2026&legendFontSize=18

it outputs the following stack trace:

Notice: Undefined index: period in /home/piwik-demo/www/ on line 441 

Backtrace -->

#0 Piwik_ErrorHandler(...) called at [/home/piwik-demo/www/]
#1 Piwik_ImageGraph_API->get(...) called at [:]
#2 call_user_func_array(...) called at [/home/piwik-demo/www/]
#3 Piwik_API_Proxy->call(...) called at [/home/piwik-demo/www/]
#4 Piwik_API_Request->process(...) called at [/home/piwik-demo/www/]
#5 Piwik_API_Controller->index(...) called at [:]
#6 call_user_func_array(...) called at [/home/piwik-demo/www/]
#7 Piwik_FrontController->dispatch(...) called at [/home/piwik-demo/www/]

I'm not sure whether it is related to #3533 and #3887 but I don't think so. The evolution graph url is generated by this subtable report:

Currently, no evolution graph is working for subtable reports which always results in a blank graph in mobile app. Maybe a quick solution is to not return any evolution graph url in MetadataAPI for subtable reports as mentioned here #3887

Change History (4)

comment:1 Changed 11 months ago by matt (mattab)

  • Milestone set to 2.0 - Piwik 2.0

comment:2 Changed 7 months ago by matt (mattab)

  • Milestone changed from 2.0 - Piwik 2.0 to Piwik 2.1

Piwik 2.0 full focus mode: Moving normal + low priorities to Piwik 2.1 milestone.

comment:3 Changed 6 months ago by tsteur

  • Resolution set to fixed
  • Status changed from new to closed

This bug seems to be fixed.

comment:4 Changed 3 months ago by matt (mattab)

  • Milestone changed from 2.1 - Piwik 2.1 to 2.0.3 - Piwik 2.0.3
Note: See TracTickets for help on using tickets.