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

Widget error message "The report 'nb_pageviews' was requested but it is not available at this stage..." #4392

Closed
anonymous-matomo-user opened this issue Dec 17, 2013 · 10 comments
Labels
Bug For errors / faults / flaws.
Milestone

Comments

@anonymous-matomo-user
Copy link

Error: The report 'nb_pageviews' was requested but it is not available at this stage. You may also disable the related plugin (nb) to avoid this error.

Had this plugin installed before. After 2.0 upgrade - this error started to show up.

@mattab
Copy link
Member

mattab commented Dec 18, 2013

Thanks for the report, where does this error appear? do you also see a backtrace or more information?

@mattab
Copy link
Member

mattab commented Dec 19, 2013

Please try to remove the widget and add it again to the dashboard. It should fix it!

If after removing/adding widget you still see error please reopen this ticket and we will investigate.

@anonymous-matomo-user
Copy link
Author

that did the trick (very strange)

@anonymous-matomo-user
Copy link
Author

Hi there, I'm seeing this too since migrating from 1.12 to 2.0.2.

This is using the "Visits Overview (with graph)" widget. To trigger the bug, I simply have to add various data lines to the graph. In my case, to complement "Visits" I added:

  • Unique visitors
  • Visits with conversions
  • Pageviews

They show up nicely in the graph... but as soon as you reload the page, the widget's contents will be replaced by the error message, and you'll have to remove and re-add the widget.

I don't know what the "nb" plugin would be referring to, since I'm only using the official/stock plugins that come with Piwik.

@mattab
Copy link
Member

mattab commented Mar 16, 2014

In 043879c: Fixes #4392 Adjust message

@anonymous-matomo-user
Copy link
Author

This bug happens to me every single time I log into Piwik 2.1.0. My Piwik deployment is used by a large number of users who cannot be asked to remove/add the widget every time they want to use the software.

Perhaps I am missing something, but I do not see a permanent solution in any of the previous posts in this thread. Is there a permanent solution available now?

@anonymous-matomo-user
Copy link
Author

After making the changes to Archive.php posted here: http://dev.piwik.org/trac/changeset/043879c14e7c311542de813da99b004b90bd71b6

The problem is still not resolved. If I change the graph metrics it still fails. What is the permanent solution? Can someone please post step by step instructions? There are obviously a large number of people suffering from this issue.

@peterbo
Copy link
Contributor

peterbo commented May 7, 2014

Reproducible on the demo account:

  • Use the widget "Visits Overview (with graph)"
  • Add the "Downloads" line-graph to the chart
  • Refresh the widget

-> the Widget now displays the error "Error: The report 'nb_downloads' was requested but it is not available at this stage. (Plugin 'nb' is not activated.)"

Is this perhaps because "nb_downloads" is missing from the Metrics mapping class and therefore not considered a core metric?

This applies for "nb_outlinks" and probably others, as well.

@mattab
Copy link
Member

mattab commented Jun 20, 2014

Let's have a look at this when this branch is merged in master: https://github.com/piwik/piwik/tree/report_and_dimension_refactoring

@anonymous-matomo-user anonymous-matomo-user added this to the 2.5.0 - Piwik 2.5.0 milestone Jul 8, 2014
@quba
Copy link
Contributor

quba commented Jul 18, 2014

I was able to reproduce this bug using current master branch. Just add this widget and select new metric to plot that is from Actions plugin (visit scope metrics work without any issues). Please note: bug appears after page refresh.

@mattab mattab modified the milestones: Short term, Piwik 2.5.0 Aug 3, 2014
sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws.
Projects
None yet
Development

No branches or pull requests

4 participants