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

Usort Warning ReportsProvider.php line 166 #12281

Closed
mstroeve opened this issue Nov 17, 2017 · 4 comments · Fixed by #12349
Closed

Usort Warning ReportsProvider.php line 166 #12281

mstroeve opened this issue Nov 17, 2017 · 4 comments · Fixed by #12349
Assignees
Labels
Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.

Comments

@mstroeve
Copy link

OS : Ubuntu 14.0.4.5 LTS
PHP Version: PHP 5.5.9-1ubuntu4.22

Original warning message:

WARNING: /piwik/core/Plugin/ReportsProvider.php(166): Warning - usort(): Array was modified by the user comparison function - Piwik 3.2.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)

reported here first: https://forum.piwik.org/t/usort-warning-reportsprovider-php-166/26341

@mattab
Copy link
Member

mattab commented Dec 3, 2017

We had this problem and it seems that upgrading PHP to latest version has fixed it. Latest of 7.0 or 7.1

could you try upgrading to latest PHP 5.5 or 5.6 or 7.0 and see if this error occurs again in the future?

@mattab mattab added the Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. label Dec 3, 2017
@mstroeve
Copy link
Author

mstroeve commented Dec 7, 2017

I cant seem to reproduce it anymore after:

  1. update piwik with recent update.
  2. double checking plugins and removing 2 old plugins
  3. running latetst 14.04 LTS sec. updates (no php packages where there).

So one of these seemed to fix it. This issue can be closed

@mstroeve mstroeve closed this as completed Dec 7, 2017
@mattab
Copy link
Member

mattab commented Dec 7, 2017

We will try to fix this issue as it seems quite a few people experience it

@mattab mattab reopened this Dec 7, 2017
@mattab mattab added this to the 3.2.2 milestone Dec 7, 2017
@olivierlambert
Copy link

Hi there! Got it since last Piwik update (3.2.1) on Debian 9 (with PHP 5.6.30)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants