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

/htdocs/analytics/plugins/ScheduledReports/API.php(658): Warning - Invalid argument supplied for foreach() - Piwik 2.16.4 #10679

Closed
llsnndlldkm opened this issue Oct 4, 2016 · 4 comments
Labels
answered For when a question was asked and we referred to forum or answered it.
Milestone

Comments

@llsnndlldkm
Copy link

I am reporting this error as the nice script requested. I had entered the command:
/htdocs/analytics/console core:archive --force-all-websites --force-all-periods=315576000 --force-date-last-n=1000 --url='https://www.example.com/analytics

@zero-24
Copy link

zero-24 commented Oct 4, 2016

can you try: master...zero-24:patch-1 it should make sure that this is an array.

The other way arround could be:
master...zero-24:patch-2

@mattab
Copy link
Member

mattab commented Oct 4, 2016

Should be fixed in #10680

@mattab mattab closed this as completed Oct 4, 2016
@mattab mattab added this to the 2.16.5 milestone Oct 4, 2016
@mattab
Copy link
Member

mattab commented Oct 4, 2016

Unfortunately you may have to restore the table piwik_report from the backup in case your scheduled reports were overwritten wrongly.

@mattab
Copy link
Member

mattab commented Oct 4, 2016

Piwik 2.16.5 has been released and fixes this issue. In case your Scheduled reports are not working anymore you may have to re-create them manually, or you can also restore the table piwik_report (containing your Scheduled reports definition) from a backup if you have one. We are sorry for any inconvenience caused.

@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Oct 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants