When creating a report I get the following error:
There is an error. Please report the message (Piwik 1.8.1) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).
Notice: Undefined offset: 1 in /var/www/vhosts/example.com/web/plugins/ImageGraph/API.php on line 323
#0 Piwik_ErrorHandler(…) called at [/var/www/vhosts/example.com/web/plugins/ImageGraph/API.php:323]#1 Piwik_ImageGraph_API->get(…) called at [:]#2 call_user_func_array(…) called at [/var/www/vhosts/example.com/web/core/API/Proxy.php:190]#3 Piwik_API_Proxy->call(…) called at [/var/www/vhosts/example.com/web/core/API/Request.php:128]#4 Piwik_API_Request->process(…) called at [/var/www/vhosts/example.com/web/core/ReportRenderer.php:198]#5 Piwik_ReportRenderer::getStaticGraph(…) called at [/var/www/vhosts/example.com/web/plugins/PDFReports/API.php:449]#6 Piwik_PDFReports_API->generateReport(…) called at [/var/www/vhosts/example.com/web/plugins/PDFReports/API.php:523]#7 Piwik_PDFReports_API->sendEmailReport(…) called at [:]#8 call_user_func_array(…) called at [/var/www/vhosts/example.com/web/core/API/Proxy.php:190]#9 Piwik_API_Proxy->call(…) called at [/var/www/vhosts/example.com/web/core/API/Request.php:128]#10 Piwik_API_Request->process(…) called at [/var/www/vhosts/example.com/web/plugins/API/Controller.php:27]#11 Piwik_API_Controller->index(…) called at [:]#12 call_user_func_array(…) called at [/var/www/vhosts/example.com/web/core/FrontController.php:138]#13 Piwik_FrontController->dispatch(…) called at [/var/www/vhosts/example.com/web/index.php:53]
In the apache log I also find the following error:
[Mon Jun 04 09:05:23 2012] [error] [client xx.xxx.xx.xxx] PHP Fatal error: Call to a member function getRows() on a non-object in /var/www/vhosts/example.com/web/plugins/ImageGraph/API.php on line 323, referer: https://example.com/index.php?module=PDFReports&action=index&idSite=23&period=day&date=yesterday
Is there any way to solve this?
Edit: I accidentally placed it in the wrong forum. I can’t seem to move or delete it. Sorry for this.