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

Undefined index in plugins/Live/Visitor.php(161) (using Piwik 2.16.0) #9820

Closed
phoob opened this issue Feb 22, 2016 · 2 comments
Closed

Undefined index in plugins/Live/Visitor.php(161) (using Piwik 2.16.0) #9820

phoob opened this issue Feb 22, 2016 · 2 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@phoob
Copy link
Contributor

phoob commented Feb 22, 2016

I see the following notice when I create or edit a segment, and define that it should be pre-processed:

WARNING: /var/www/piwik.dfo.no/public_html/plugins/Live/Visitor.php(161): Notice - Undefined index: customVariables - Piwik 2.16.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)

skjermbilde 2016-02-22 kl 12 31 58

@tsteur
Copy link
Member

tsteur commented Feb 23, 2016

Is it possible that you have the custom variables plugin disabled?

@tsteur
Copy link
Member

tsteur commented Feb 23, 2016

From the looks at the code I can see it might happen when Custom Variables plugin is disabled. You can try to change the following file to make it work: https://github.com/piwik/piwik/pull/9830/files or alternatively to enable the CustomVariables plugin until we have released a new version that contains the fix

@tsteur tsteur added the Bug For errors / faults / flaws / inconsistencies etc. label Feb 23, 2016
@tsteur tsteur added this to the 2.16.1 milestone Feb 23, 2016
@tsteur tsteur self-assigned this Feb 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants