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

Notice: Undefined index: nb_users in overview.php - Wordpress Bug #7604

Closed
nopenopenope opened this issue Apr 1, 2015 · 2 comments
Closed
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@nopenopenope
Copy link

Hi guys,

as documented here http://forum.piwik.org/read.php?2,125685 there might be a bug in the very latest version of WP-Piwik.

The dashboard function generates a notice error when using WP-Piwik. I'm pretty sorry, I already hotfixed the error for me so I do not have the exact error anymore, however it looks like that the variable nb_users has to be initialised before it gets used.

In overview.php theres an array in the beginning of the file. If you add 'nb_users' => 0, to the array it seems fixed. I hope you can reproduce the error on your own, if not, give me a shot, I'm pretty sure I can reproduce it again, but I would really appreciate it to not unfix it.

If you have any questions, give me a shot!

Cheers

@mattab
Copy link
Member

mattab commented Apr 8, 2015

Hi @nopenopenope
thanks for the report - it's actually a little bug in the great WP-Piwik for Wordpress. Can you please report it in: https://wordpress.org/support/plugin/wp-piwik (if you still have the bug in the latest plugin version)

@mattab mattab closed this as completed Apr 8, 2015
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Apr 8, 2015
@mattab
Copy link
Member

mattab commented Apr 8, 2015

I've also notified André WP-Piwik lead developer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants