You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BugFor errors / faults / flaws / inconsistencies etc.MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.
PHP Fatal error: Call to undefined method Piwik_PDFReports::getReports() in /path/to/piwik-1.0/plugins/PDFReports/API.php on line 307
getReports()``` belongs to```
Piwik_PDFReports_API``` class and, now (far from v0.7, http://dev.piwik.org/trac/changeset?new=2989%40trunk%2Fplugins%2FPDFReports%2FPDFReports.php&old=2767%40trunk%2Fplugins%2FPDFReports%2FPDFReports.php#file0) PDFReports scheduled tasks send emails through a static call within the context of```
Piwik_PDFReports```:
class Piwik_PDFReports extends Piwik_Plugin
{
...
function generateAndSendScheduledReports($period)
{
...
// For each, generate the file and send the message with the attached report
foreach($reportsToGenerate as $report)
{
Piwik_PDFReports_API::sendEmailReport( $report['idreport'],
$report['idsite'],
$period);
}
}
The text was updated successfully, but these errors were encountered:
BugFor errors / faults / flaws / inconsistencies etc.MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Find below the exception:
class Piwik_PDFReports extends Piwik_Plugin
{
...
function generateAndSendScheduledReports($period)
{
...
// For each, generate the file and send the message with the attached report
foreach($reportsToGenerate as $report)
{
Piwik_PDFReports_API::sendEmailReport( $report['idreport'],
$report['idsite'],
$period);
}
}
The text was updated successfully, but these errors were encountered: