@anonymous-matomo-user opened this Issue on December 20th 2010

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 commented on December 20th 2010

Attachment:
error.txt

@mattab commented on December 20th 2010 Member

what version of Piwik are you using?

@anonymous-matomo-user commented on December 20th 2010

1.0

@robocoder commented on December 22nd 2010 Contributor

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

@robocoder commented on December 22nd 2010 Contributor

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

@robocoder commented on December 22nd 2010 Contributor

or current() ?

@robocoder commented on December 22nd 2010 Contributor

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

This Issue was closed on December 22nd 2010
Powered by GitHub Issue Mirror