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

An iterator cannot be used with foreach by reference in core/DataTable/Filter/ColumnDelete.php #11331

Closed
e7o-de opened this issue Feb 8, 2017 · 0 comments
Assignees
Milestone

Comments

@e7o-de
Copy link

e7o-de commented Feb 8, 2017

Hey,

Got this error in my logs (Piwik 3.0.1), couldn't find a issue containing this one (not sure why):

Fatal error: An iterator cannot be used with foreach by reference in /var/www/piwik/piwik/core/DataTable/Filter/ColumnDelete.php on line 180

I just removed the & in my local installation and the graphs are now rendering as expected; looks like the reference is not required at the moment (saw the hint for Piwik 4). Would be great if you would just remove that reference for now, it will save investigation work for non-experts I guess ;)

@mattab mattab changed the title foreach reference An iterator cannot be used with foreach by reference in core/DataTable/Filter/ColumnDelete.php Feb 20, 2017
@mattab mattab added this to the 3.0.2 milestone Feb 20, 2017
@mattab mattab self-assigned this Feb 20, 2017
mattab added a commit that referenced this issue Feb 20, 2017
mattab added a commit that referenced this issue Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants