ERROR: Failed to get data from API: The Super User has disabled the Segmentation feature #10918
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
not-in-changelog
For issues or pull requests that should not be included in our release changelog on matomo.org.
Regression
Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone
Hello,
Piwik 3.0.0-b3
When stats are public using anonymous user, and segmentation is disabled for public page, one error message is displayed "sometime" on first access :
ERROR: Failed to get data from API: The Super User has disabled the Segmentation feature.
#0 /way/to/piwik/core/Archive.php(225): Piwik\Segment->__construct('visitorType%3D%...', Array)
#1 /way/to/piwik/plugins/VisitsSummary/API.php(29): Piwik\Archive::build('5', 'day', 'last7', 'visitorType%3D%...')
#2 [internal function]: Piwik\Plugins\VisitsSummary\API->get('5', 'day', 'last7', 'visitorType%3D%...', 'nb_visits,nb_ac...')
#3 /way/to/piwik/core/API/Proxy.php(219): call_user_func_array(Array, Array)
#4 /way/to/piwik/core/API/Request.php(236): Piwik\API\Proxy->call('\Piwik\Plugins\...', 'get', Array)
#5 /way/to/piwik/core/API/Request.php(398): Piwik\API\Request->process()
#6 /way/to/piwik/plugins/VisitFrequency/API.php(51): Piwik\API\Request::processRequest('VisitsSummary.g...', Array)
#7 [internal function]: Piwik\Plugins\VisitFrequency\API->get('5', 'day', 'last7', false, 'nb_visits_retur...')
#8 /way/to/piwik/core/API/Proxy.php(219): call_user_func_array(Array, Array)
#9 /way/to/piwik/plugins/API/API.php(388): Piwik\API\Proxy->call('\Piwik\Plugins\...', 'get', Array)
#10 [internal function]: Piwik\Plugins\API\API->get('5', 'day', 'last7', false, false)
#11 /way/to/piwik/core/API/Proxy.php(219): call_user_func_array(Array, Array)
#12 /way/to/piwik/core/Plugin/Visualization.php(264): Piwik\API\Proxy->call('\Piwik\Plugins\...', 'get', Array)
#13 /way/to/piwik/core/Plugin/Visualization.php(181): Piwik\Plugin\Visualization->loadDataTableFromAPI()
#14 /way/to/piwik/core/Plugin/Controller.php(249): Piwik\Plugin\Visualization->render()
#15 /way/to/piwik/plugins/VisitsSummary/Controller.php(121): Piwik\Plugin\Controller->renderView(Object(Piwik\Plugins\CoreVisualizations\Visualizations\JqplotGraph\Evolution))
#16 [internal function]: Piwik\Plugins\VisitsSummary\Controller->getEvolutionGraph()
#17 /way/to/piwik/core/FrontController.php(518): call_user_func_array(Array, Array)
#18 /way/to/piwik/core/FrontController.php(122): Piwik\FrontController->doDispatch(NULL, NULL, NULL)
#19 /way/to/piwik/core/dispatch.php(34): Piwik\FrontController->dispatch()
#20 /way/to/piwik/index.php(27): require_once('/way/to/p...')
#21 {main}
Thanks,
Eric
The text was updated successfully, but these errors were encountered: