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

trunk regression Strict Notice: Non-static method Piwik_Archive::makePeriodFromQueryParams() should not be called statically in #3291

Closed
anonymous-matomo-user opened this issue Jul 31, 2012 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Critical Indicates the severity of an issue is very critical and the issue has a very high priority.
Milestone

Comments

@anonymous-matomo-user
Copy link

after the last update the source encounters an error.

Strict Notice: Non-static method
Piwik_Archive::makePeriodFromQueryParams() should not be called statically in
/usr/local/www/statsglobal/data/www/statsglobal.ru/core/Archive.php on line 212

correct this error you can change the function makePeriodFromQueryParams() to static. The patch is attached.


PHP: 5.4.5

@anonymous-matomo-user
Copy link
Author

Attachment: Patch Piwik
piwik.patch

@mattab
Copy link
Member

mattab commented Jul 31, 2012

(In [6605]) Fixes #3291 Thanks @zarethernet for the early report & patch, very appreciated!

@anonymous-matomo-user anonymous-matomo-user added this to the 1.8.3 - Piwik 1.8.3 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. Critical Indicates the severity of an issue is very critical and the issue has a very high priority.
Projects
None yet
Development

No branches or pull requests

2 participants