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
PDFReports: Send Report Now not working, Error: Object of class Piwik_Date could not be converted to int #1783
Comments
I couldn't reproduce the problem on trunk (i.e., no error). On 1.0, using FF3.6, I can't get the 'Send Report Now' button to even trigger. Steve: can you email us a stack trace? (if you opt to attach it here, you should filter the contents) |
here is the trace in error log:
|
I don't know why line 59 of Date.php is triggering an error, but can you try the following change? In plugins/PDFReports/API.php's sendEmailReport() function, change:
to:
|
yes! that fixed it. The PDFReports works fine after applying that change. |
(In [3273]) fixes #1783 |
HI, there:
The mail function on the server seems fine, if I do recover password I can get the email. However, the Email Report is not working, everytime I tried "Send Report Now", I got the following error in application log:
Piwik_ErrorHandler(8, Object of class Piwik_Date could not be converted to int, /var/www/html/core/Date.php, 59, Array ([=> Piwik_Date Object ( => 1287591505,[=> UTC),timezone => )) called at [/var/www/html/core/Date.php:59]<br />
any idea what is causing this and how can I fix it?
thank you very much!
sincerely
Steve
The text was updated successfully, but these errors were encountered: