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 in Events report: Unsupported pivot: the subtable dimension for 'Events.Event Actions' does not match the requested pivotBy dimension #9716
Comments
Tested in latest Safari, Chrome and Firefox on Mac OS, and IE11 on Windows. |
What are the steps to reproduce this? I couldn't reproduce it. Are you using any custom plugins? @mattab could you reproduce it? |
@tsteur Here are the steps to reproduce:
|
Thx. I can reproduce it with these steps: #9667 Tried to fix it but currently couldn't find a way to do it. Need to have a more detailed look some day later |
How can i escape this bug to view normal events, i cannot view events when this bug occur |
If you can, try to switch to another visualization. Or create a new user and view the reports with this user. |
Can you please describe how you mean I should do to switch to another visualization? As you can in my attached screen shot above (the first one) there is just an error message – no data table where I can choose another visualization. |
I just realize this is not possible there as you are seeing this all the time. In my case, when I reproduced it, I was still able to change the visualization. Can you maybe try to execute a query on the DB: delete from piwik_option where option_name like "viewDataTableParameters_$YOUR_PIWIK_USERNAME_Events.%";
-- for example when username is "root"
delete from piwik_option where option_name like "viewDataTableParameters_root_Events.%"; |
Awesome! Deleting the options from piwik_option solved the issue for me. |
FYI Added a FAQ to document how to reset the report settings: How do I reset the visualisations settings stored for a specific user, or for all users? |
Hopefully this issue is fixed in 2.16.1-b3 (Learn more: http://piwik.org/faq/how-to-update/faq_159/ ). I'm closing now but if you experience this issue and are already using > 2.16.1-b3 please leave a comment asking to re-open this issue. |
Just for the sake of it, I ran into that same issue recently with Matomo 3.3.0. Here is one scenario where this happens (and can be reproduced):
Not a big deal in my case (tiny personal web site), but there you go. Thanks. |
This issue (or a similar issue) was again experienced recently on the Cloud and it will be great to find the root cause and solution to prevent this from happening again. Unfortunately we don't know the exact steps to reproduce but the error message was: |
I found a way to reproduce:
--> this will result in a similar error as above The error is caused by this: |
After upgrading to Piwik 2.16.0, I get errors when viewing the events report, specifically when I click to view the "Event Actions" sub-report. Instead of a table, the following error message is displayed:
Unsupported pivot: the subtable dimension for 'Events.Event Actions' does not match the requested pivotBy dimension. [subtable dimension = Events.EventName, pivot by dimension = Events.EventCategory]
And if I immediately go to the Administration page thereafter, I get this additional error message:
ERROR: Failed to get data from API: Unsupported pivot: the subtable dimension for 'Events.Event Actions' does not match the requested pivotBy dimension. [subtable dimension = Events.EventName, pivot by dimension = Events.EventCategory] #0 /var/www/xx.xx.xx/public_html/core/DataTable/Filter/PivotByDimension.php(170): Piwik\DataTable\Filter\PivotByDimension->checkSupportedPivot() #1 [internal function]: Piwik\DataTable\Filter\PivotByDimension->__construct(Object(Piwik\DataTable), 'Events.getActio...', 'Events.EventCat...', '', 0, 0) #2 /var/www/xx.xx.xx/public_html/core/DataTable.php(493): ReflectionClass->newInstanceArgs(Array) #3 /var/www/xx.xx.xx/public_html/core/API/DataTablePostProcessor.php(160): Piwik\DataTable->filter('PivotByDimensio...', Array) #4 /var/www/xx.xx.xx/public_html/core/API/DataTablePostProcessor.php(110): Piwik\API\DataTablePostProcessor->applyPivotByFilter(Object(Piwik\DataTable)) #5 /var/www/xx.xx.xx/public_html/core/Plugin/Visualization.php(444): Piwik\API\DataTablePostProcessor->process(Object(Piwik\DataTable)) #6 /var/www/xx.xx.xx/public_html/core/Plugin/Visualization.php(185): Piwik\Plugin\Visualization->applyFilters() #7 /var/www/xx.xx.xx/public_html/core/Plugin/ViewDataTable.php(414): Piwik\Plugin\Visualization->buildView() #8 /var/www/xx.xx.xx/public_html/core/Plugin/Report.php(338): Piwik\Plugin\ViewDataTable->render() #9 /var/www/xx.xx.xx/public_html/core/Plugin/Controller.php(327): Piwik\Plugin\Report->render() #10 /var/www/xx.xx.xx/public_html/plugins/Events/Controller.php(96): Piwik\Plugin\Controller->renderReport('getAction') #11 /var/www/xx.xx.xx/public_html/plugins/Events/Controller.php(48): Piwik\Plugins\Events\Controller->indexEvent('indexAction') #12 [internal function]: Piwik\Plugins\Events\Controller->indexAction() #13 /var/www/xx.xx.xx/public_html/core/FrontController.php(495): call_user_func_array(Array, Array) #14 /var/www/xx.xx.xx/public_html/core/FrontController.php(99): Piwik\FrontController->doDispatch(NULL, NULL, NULL) #15 /var/www/xx.xx.xx/public_html/core/dispatch.php(34): Piwik\FrontController->dispatch() #16 /var/www/xx.xx.xx/public_html/index.php(27): require_once('/var/www/xx.xx...') #17 {main}
I have Piwik running on PHP 5.5.9-1ubuntu4.14 on Ubuntu 14.04.3 LTS.
I have also posted this issue in the Piwik forum.
The text was updated successfully, but these errors were encountered: