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

ERROR: Failed to get data from API: The Super User has disabled the Segmentation feature #10918

Closed
eldk opened this issue Nov 28, 2016 · 3 comments
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.

Comments

@eldk
Copy link

eldk commented Nov 28, 2016

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

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Dec 6, 2016
@mattab mattab added this to the 3.0.0 milestone Dec 6, 2016
@eldk
Copy link
Author

eldk commented Dec 14, 2016

Thanks

@eldk
Copy link
Author

eldk commented Dec 20, 2016

Hello,

It's happened for login users too not only for anonymous.

Thanks.

@mattab mattab added the Regression Indicates a feature used to work in a certain way but it no longer does even though it should. label Dec 25, 2016
@michalkleiner
Copy link
Contributor

We don't think this is an issue anymore since the code related to this has been refactored. If you think this is still a problem please open a new issue. Thank you for your understanding.

@michalkleiner michalkleiner closed this as not planned Won't fix, can't repro, duplicate, stale Aug 28, 2023
@michalkleiner michalkleiner added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Aug 28, 2023
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. 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.
Projects
None yet
Development

No branches or pull requests

3 participants