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

Archiving (cron task) is out since Matomo version: 3.10.0-rc5 #14595

Closed
eldk opened this issue Jun 30, 2019 · 1 comment · Fixed by #14596
Closed

Archiving (cron task) is out since Matomo version: 3.10.0-rc5 #14595

eldk opened this issue Jun 30, 2019 · 1 comment · Fixed by #14596
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Milestone

Comments

@eldk
Copy link

eldk commented Jun 30, 2019

Hello,

Got this error on cron archiving since update to Matomo version: 3.10.0-rc5:

Got invalid response from API request: ?module=API&method=API.get&idSite=8&period=day&date=last4&format=php&trigger=archivephp. Response was 'Matomo encountered an error: Cannot use object of type stdClass as array (which lead to: Cannot use object of type stdClass as array on /way/to/piwik/plugins/Tour/Tour.php(128) )'

Deactivate Tour plugin make archiving task complete with no error.

This server is still in php5, will be updated in next days.

Thanks,

Eric

@tsteur tsteur added this to the 3.10.0 milestone Jul 1, 2019
@tsteur tsteur added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Jul 1, 2019
tsteur added a commit that referenced this issue Jul 1, 2019
fix #14595

Not sure why it wouldn't be an array. Even when using ` json_decode($defaultLayout);` compared to ` json_decode($defaultLayout, true);` it is an array on my instance and works nicely. Just in case there is some other plugin installed that changes it maybe, check if it is an array
mattab pushed a commit that referenced this issue Jul 1, 2019
…14596)

fix #14595

Not sure why it wouldn't be an array. Even when using ` json_decode($defaultLayout);` compared to ` json_decode($defaultLayout, true);` it is an array on my instance and works nicely. Just in case there is some other plugin installed that changes it maybe, check if it is an array
@eldk
Copy link
Author

eldk commented Jul 1, 2019

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants