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

MultiSites Plugin Error #1904

Closed
anonymous-matomo-user opened this issue Dec 20, 2010 · 7 comments
Closed

MultiSites Plugin Error #1904

anonymous-matomo-user opened this issue Dec 20, 2010 · 7 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

Every time when I run http://analytics.mysite.com/index.php?module=MultiSites&action=index&idSite=1&period=day&date=today, I found a lot of errors in my log file (see one example in the attachment). I was trying to debug the code (all errors are related to lines 78 - 83 in plugins/MultiSites/Controller.php), but don't have the time luxury, so please help me understand this issue and potentially solve it.

@anonymous-matomo-user
Copy link
Author

Attachment:
error.txt

@mattab
Copy link
Member

mattab commented Dec 20, 2010

what version of Piwik are you using?

@anonymous-matomo-user
Copy link
Author

1.0

@robocoder
Copy link
Contributor

What about your PHP version? I have E_STRICT (2048) here, and I'm not seeing those error messages.

@robocoder
Copy link
Contributor

What if you change array_shift() to reset() ?

@robocoder
Copy link
Contributor

or current() ?

@robocoder
Copy link
Contributor

(In [3516]) fixes #1904 - worksforme (must be php version specific); modify code to use a temporary variable

@anonymous-matomo-user anonymous-matomo-user added this to the Piwik 1.1.1 milestone Jul 8, 2014
This issue was closed.
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

3 participants