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

Archive Loader throwing [warn] level error message regression #4320

Closed
mgazdzik opened this issue Nov 19, 2013 · 1 comment
Closed

Archive Loader throwing [warn] level error message regression #4320

mgazdzik opened this issue Nov 19, 2013 · 1 comment
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@mgazdzik
Copy link
Contributor

Problem occurs on 2.0-b7 version with config variable always_archive_data_day = 1

When trying to display any report (or after making API call) I get following message:
getMinTimeArchiveProcessed() should be called prior to isArchiveTemporary()

From what I've found out it is caused by line 156 in Core\ArchiveProcessor\Loader.php
Because of condition being true function exits without executing $this->getMinTimeArchiveProcessed() and because of that $this->temporaryArchive remains uninitialized. This leads to throwing Exception in line 207 in Loader.php

@mattab
Copy link
Member

mattab commented Nov 20, 2013

In e247407: Fixes #4320 Run the getMinTimeArchiveProcessed init function even if force archiving is enabled via debug setting

@mgazdzik mgazdzik added this to the 2.0 - Piwik 2.0 milestone Jul 8, 2014
sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
…n even if force archiving is enabled via debug setting
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

2 participants