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
widget error message "The report 'nb_uniq_pageviews' was requested but it is not available" #3440
Comments
Could we avoid this error and fail gracefully, or is the error really not expected? |
Here is the trace :
|
(In [7500]) Fixes #3440, make sure Actions metrics are associated w/ an Actions report in Piwik_Archive_Single::getRequestedReportFor and make sure Piwik_VisitsSummary_Controller::getVisitsSummary can handle case where Piwik_API_Request returns false. |
There are metrics in the array that do not belong to the Actions plugin, ie.
Were this added for a reason? Vote for revert |
They are referenced by Archive.php in the $mappingFromIdToName as actions metrics so I guess I put them in w/ the others. I can see they're not actually archived as numeric metrics, though, by the Actions plugin. I guess I can remove them? |
Replying to capedfuzz:
Sounds good to remove them and only put the actions metrics, this would prevent further issues. |
(In [7621]) Refs #3440, remove non-archived metrics from Piwik_Archive::$actionMetrics. |
To fix it, maybe could have a test case that used to trigger the error? thoughts? |
Ok, fixed. |
reported in forum
Error: The report 'nb_uniq_pageviews' was requested but it is not available at this stage. You may also disable the related plugin to avoid this error.
Steps to reproduce
The text was updated successfully, but these errors were encountered: