Reports for segments spit out error message


#1

After updating to 2.14 I created a segment of users with only new users (returning users excluded)

When trying to access the user overview for this whole year I get a red box on top saying:


ERROR: Failed to get data from API: The segment 'visitorType%253D%253Dnew' is not valid. #0 /var/www/analytics/piwik/core/Segment.php(121): Piwik\Segment\SegmentExpression->parseSubExpressions() #1 /var/www/analytics/piwik/core/Segment.php(101): Piwik\Segment->initializeSegment('visitorType%252...', Array) #2 /var/www/analytics/piwik/core/Archive.php(218): Piwik\Segment->__construct('visitorType%252...', Array) #3 /var/www/analytics/piwik/core/Archive.php(452): Piwik\Archive::build('1', 'range', 'previous7', 'visitorType%252...', false) #4 /var/www/analytics/piwik/core/Archive.php(489): Piwik\Archive::getDataTableFromArchive('Actions_actions...', '1', 'range', 'previous7', 'visitorType%252...', false, false, false) #5 /var/www/analytics/piwik/plugins/Actions/API.php(93): Piwik\Archive::createDataTableFromArchive('Actions_actions...', '1', 'range', 'previous7', 'visitorType%252...', false, false, false, false) #6 /var/www/analytics/piwik/plugins/Actions/API.php(165): Piwik\Plugins\Actions\API->getPageUrls('1', 'range', 'previous7', 'visitorType%252...', false, false) #7 [internal function]: Piwik\Plugins\Actions\API->getExitPageUrls('1', 'range', 'previous7', 'visitorType%252...', false, false) #8 /var/www/analytics/piwik/core/API/Proxy.php(211): call_user_func_array(Array, Array) #9 /var/www/analytics/piwik/core/Plugin/Visualization.php(259): Piwik\API\Proxy->call('\Piwik\Plugins\...', 'getExitPageUrls', Array) #10 /var/www/analytics/piwik/core/Plugin/Visualization.php(180): Piwik\Plugin\Visualization->loadDataTableFromAPI() #11 /var/www/analytics/piwik/core/Plugin/ViewDataTable.php(414): Piwik\Plugin\Visualization->buildView() #12 /var/www/analytics/piwik/core/Plugin/Report.php(338): Piwik\Plugin\ViewDataTable->render() #13 /var/www/analytics/piwik/plugins/CoreHome/Controller.php(78): Piwik\Plugin\Report->render() #14 /var/www/analytics/piwik/plugins/CoreHome/Controller.php(66): Piwik\Plugins\CoreHome\Controller->renderReportWidget(Object(Piwik\Plugins\Actions\Reports\GetExitPageUrls)) #15 [internal function]: Piwik\Plugins\CoreHome\Controller->renderReportMenu(Object(Piwik\Plugins\Actions\Reports\GetExitPageUrls)) #16 /var/www/analytics/piwik/core/FrontController.php(494): call_user_func_array(Array, Array) #17 /var/www/analytics/piwik/core/FrontController.php(94): Piwik\FrontController->doDispatch(NULL, NULL, NULL) #18 /var/www/analytics/piwik/core/dispatch.php(34): Piwik\FrontController->dispatch() #19 /var/www/analytics/piwik/index.php(27): require_once('/var/www/analyt...') #20 {main}

The data appears though after some time. I hope it is also correct…


(Matthieu Aubry) #2

Hi there,

Which browser and operating system are you using?


#3

Chrome Version 43.0.2357.130 (64-bit) on Ubuntu 12.04

The error shows only on wider time ranges, on one week for example not.

When I go to Actions->Pages and want to open Row Evolution, I get:
The segment ‘visitorType%253D%253Dnew’ is not valid.

Piwik is running on
~$ php --version
PHP 5.3.10-1ubuntu3.19 with Suhosin-Patch (cli) (built: Jul 2 2015 15:05:04)

Old segments (created before the update) don’t show this behavior.


(Matthieu Aubry) #4

Hi there,

Could you create a bug report with steps to reproduce? our issue tracker: Issues · matomo-org/piwik · GitHub