Hey, i added custom variables to rank blogs by visits on our site.
Errors started coming in regularly.
After a search, i found [forum.piwik.org]
But that was a few releases ago, and looking at DataArray.php, it looks like that if statement, updated, has been added.
We are running 2.8.0
Much thanks for any help offered!
Error:
ERROR CoreConsole[2014-10-17 20:01:21] [87b7e] Got invalid response from API request: https://analytics.freepress.net/index.php?module=API&method=API.get&idSite=1&period=month&date=last2&format=php&token_auth=5a2c2a69dd85191d79b641dd6bf7761b&trigger=archivephp. Response was '<div style='word-wrap: break-word; border: 3px solid red; padding:4px; width:70%; background-color:#FFFF96;'> <strong>There is an error. Please report the message (Piwik 2.8.0) and full backtrace in the <a href='?module=Proxy&action=redirect&url=http://forum.piwik.org' target='_blank'>Piwik forums</a> (please do a Search first as it might have been reported already!).<br /><br/> Notice:</strong> <em>Undefined offset: 39</em> in <strong>/home/vhosts/analytics.freepress.net/core/DataArray.php</strong> on line <strong>121</strong> <br /><br />Backtrace --><div style="font-family:Courier;font-size:10pt"><br /> #0 Piwik\Error::errorHandler(...) called at [/home/vhosts/analytics.free
press.net/core/DataArray.php:121]<br /> #1 Piwik\DataArray->doSumVisitsMetrics(...) called at [/home/vhosts/analytics.freepress.net/core/DataArray.php:52]<br /> #2 Piwik\DataArray->sumMetricsVisits(...) called at [/home/vhosts/analytics.freepress.net/plugins/CustomVariables/Archiver.php:114]<br /> #3 Piwik\Plugins\CustomVariables\Archiver->aggregateFromVisits(...) called at [/home/vhosts/analytics.freepress.net/plugins/CustomVariables/Archiver.php:86]<br /> #4 Piwik\Plugins\CustomVariables\Archiver->aggregateCustomVariable(...) called at [/home/vhosts/analytics.freepress.net/plugins/CustomVariables/Archiver.php:64]<br /> #5 Piwik\Plugins\CustomVariables\Archiver->aggregateDayReport(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor/PluginsArchiver.php:100]<br /> #6 Piwik\ArchiveProcessor\PluginsArchiver->callAggregateAllPlugins(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor/Loader.php:122]<br /> #7 Piwik\ArchiveProce
ssor\Loader->prepareAllPluginsArchive(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor/Loader.php:72]<br /> #8 Piwik\ArchiveProcessor\Loader->prepareArchive(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:801]<br /> #9 Piwik\Archive->prepareArchive(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:614]<br /> #10 Piwik\Archive->cacheArchiveIdsAfterLaunching(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:568]<br /> #11 Piwik\Archive->getArchiveIds(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:508]<br /> #12 Piwik\Archive->get(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:348]<br /> #13 Piwik\Archive->getDataTableFromNumeric(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor.php:499]<br /> #14 Piwik\ArchiveProcessor->getAggregatedNumericMetrics(...) called at [/home/vhosts/analytics.freepress.net/core/ArchivePr
ocessor.php:260]<br /> #15 Piwik\ArchiveProcessor->aggregateNumericMetrics(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor/PluginsArchiver.php:192]<br /> #16 Piwik\ArchiveProcessor\PluginsArchiver->aggregateMultipleVisitsMetrics(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor/PluginsArchiver.php:62]<br /> #17 Piwik\ArchiveProcessor\PluginsArchiver->callAggregateCoreMetrics(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor/Loader.php:116]<br /> #18 Piwik\ArchiveProcessor\Loader->prepareAllPluginsArchive(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor/Loader.php:72]<br /> #19 Piwik\ArchiveProcessor\Loader->prepareArchive(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:801]<br /> #20 Piwik\Archive->prepareArchive(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:614]<br /> #21 Piwik\Archive->cacheArchiveIdsAfterLaunching(...)
called at [/home/vhosts/analytics.freepress.net/core/Archive.php:568]<br /> #22 Piwik\Archive->getArchiveIds(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:508]<br /> #23 Piwik\Archive->get(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:348]<br /> #24 Piwik\Archive->getDataTableFromNumeric(...) called at [/home/vhosts/analytics.freepress.net/plugins/VisitsSummary/API.php:59]<br /> #25 Piwik\Plugins\VisitsSummary\API->get(...) called at [:]<br /> #26 call_user_func_array(...) called at [/home/vhosts/analytics.freepress.net/core/API/Proxy.php:209]<br /> #27 Piwik\API\Proxy->call(...) called at [/home/vhosts/analytics.freepress.net/plugins/API/API.php:403]<br /> #28 Piwik\Plugins\API\API->get(...) called at [:]<br /> #29 call_user_func_array(...) called at [/home/vhosts/analytics.freepress.net/core/API/Proxy.php:209]<br /> #30 Piwik\API\Proxy->call(...) called at [/home/vhosts/analytics.freepress.net/core/API/Request.php:2
16]<br /> #31 Piwik\API\Request->process(...) called at [/home/vhosts/analytics.freepress.net/plugins/API/Controller.php:33]<br /> #32 Piwik\Plugins\API\Controller->index(...) called at [:]<br /> #33 call_user_func_array(...) called at [/home/vhosts/analytics.freepress.net/core/FrontController.php:579]<br /> #34 Piwik\FrontController->doDispatch(...) called at [/home/vhosts/analytics.freepress.net/core/FrontController.php:87]<br /> #35 Piwik\FrontController->dispatch(...) called at [/home/vhosts/analytics.freepress.net/core/dispatch.php:34]<br /> #36 require_once(...) called at [/home/vhosts/analytics.freepress.net/index.php:46]<br /> </div><br /> </pre></div><br /> <div style='word-wrap: break-word; border: 3px solid red; padding:4px; width:70%; background-color:#FFFF96;'> <strong>There is an error. Please report the message (Piwik 2.8.0) and full backtrace in the <a href='?module=Proxy&action=redirect&url=http://forum.piwik.org' target='_blank'>Piwik
forums</a> (please do a Search first as it might have been reported already!).<br /><br/> Notice:</stro
ERROR CoreConsole[2014-10-17 20:02:22] [87b7e] 1 total errors during this script execution, please investigate and try and fix these errors.
Errors started coming in regularly.
After a search, i found [forum.piwik.org]
But that was a few releases ago, and looking at DataArray.php, it looks like that if statement, updated, has been added.
We are running 2.8.0
Much thanks for any help offered!
Error:
ERROR CoreConsole[2014-10-17 20:01:21] [87b7e] Got invalid response from API request: https://analytics.freepress.net/index.php?module=API&method=API.get&idSite=1&period=month&date=last2&format=php&token_auth=5a2c2a69dd85191d79b641dd6bf7761b&trigger=archivephp. Response was '<div style='word-wrap: break-word; border: 3px solid red; padding:4px; width:70%; background-color:#FFFF96;'> <strong>There is an error. Please report the message (Piwik 2.8.0) and full backtrace in the <a href='?module=Proxy&action=redirect&url=http://forum.piwik.org' target='_blank'>Piwik forums</a> (please do a Search first as it might have been reported already!).<br /><br/> Notice:</strong> <em>Undefined offset: 39</em> in <strong>/home/vhosts/analytics.freepress.net/core/DataArray.php</strong> on line <strong>121</strong> <br /><br />Backtrace --><div style="font-family:Courier;font-size:10pt"><br /> #0 Piwik\Error::errorHandler(...) called at [/home/vhosts/analytics.free
press.net/core/DataArray.php:121]<br /> #1 Piwik\DataArray->doSumVisitsMetrics(...) called at [/home/vhosts/analytics.freepress.net/core/DataArray.php:52]<br /> #2 Piwik\DataArray->sumMetricsVisits(...) called at [/home/vhosts/analytics.freepress.net/plugins/CustomVariables/Archiver.php:114]<br /> #3 Piwik\Plugins\CustomVariables\Archiver->aggregateFromVisits(...) called at [/home/vhosts/analytics.freepress.net/plugins/CustomVariables/Archiver.php:86]<br /> #4 Piwik\Plugins\CustomVariables\Archiver->aggregateCustomVariable(...) called at [/home/vhosts/analytics.freepress.net/plugins/CustomVariables/Archiver.php:64]<br /> #5 Piwik\Plugins\CustomVariables\Archiver->aggregateDayReport(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor/PluginsArchiver.php:100]<br /> #6 Piwik\ArchiveProcessor\PluginsArchiver->callAggregateAllPlugins(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor/Loader.php:122]<br /> #7 Piwik\ArchiveProce
ssor\Loader->prepareAllPluginsArchive(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor/Loader.php:72]<br /> #8 Piwik\ArchiveProcessor\Loader->prepareArchive(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:801]<br /> #9 Piwik\Archive->prepareArchive(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:614]<br /> #10 Piwik\Archive->cacheArchiveIdsAfterLaunching(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:568]<br /> #11 Piwik\Archive->getArchiveIds(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:508]<br /> #12 Piwik\Archive->get(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:348]<br /> #13 Piwik\Archive->getDataTableFromNumeric(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor.php:499]<br /> #14 Piwik\ArchiveProcessor->getAggregatedNumericMetrics(...) called at [/home/vhosts/analytics.freepress.net/core/ArchivePr
ocessor.php:260]<br /> #15 Piwik\ArchiveProcessor->aggregateNumericMetrics(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor/PluginsArchiver.php:192]<br /> #16 Piwik\ArchiveProcessor\PluginsArchiver->aggregateMultipleVisitsMetrics(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor/PluginsArchiver.php:62]<br /> #17 Piwik\ArchiveProcessor\PluginsArchiver->callAggregateCoreMetrics(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor/Loader.php:116]<br /> #18 Piwik\ArchiveProcessor\Loader->prepareAllPluginsArchive(...) called at [/home/vhosts/analytics.freepress.net/core/ArchiveProcessor/Loader.php:72]<br /> #19 Piwik\ArchiveProcessor\Loader->prepareArchive(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:801]<br /> #20 Piwik\Archive->prepareArchive(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:614]<br /> #21 Piwik\Archive->cacheArchiveIdsAfterLaunching(...)
called at [/home/vhosts/analytics.freepress.net/core/Archive.php:568]<br /> #22 Piwik\Archive->getArchiveIds(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:508]<br /> #23 Piwik\Archive->get(...) called at [/home/vhosts/analytics.freepress.net/core/Archive.php:348]<br /> #24 Piwik\Archive->getDataTableFromNumeric(...) called at [/home/vhosts/analytics.freepress.net/plugins/VisitsSummary/API.php:59]<br /> #25 Piwik\Plugins\VisitsSummary\API->get(...) called at [:]<br /> #26 call_user_func_array(...) called at [/home/vhosts/analytics.freepress.net/core/API/Proxy.php:209]<br /> #27 Piwik\API\Proxy->call(...) called at [/home/vhosts/analytics.freepress.net/plugins/API/API.php:403]<br /> #28 Piwik\Plugins\API\API->get(...) called at [:]<br /> #29 call_user_func_array(...) called at [/home/vhosts/analytics.freepress.net/core/API/Proxy.php:209]<br /> #30 Piwik\API\Proxy->call(...) called at [/home/vhosts/analytics.freepress.net/core/API/Request.php:2
16]<br /> #31 Piwik\API\Request->process(...) called at [/home/vhosts/analytics.freepress.net/plugins/API/Controller.php:33]<br /> #32 Piwik\Plugins\API\Controller->index(...) called at [:]<br /> #33 call_user_func_array(...) called at [/home/vhosts/analytics.freepress.net/core/FrontController.php:579]<br /> #34 Piwik\FrontController->doDispatch(...) called at [/home/vhosts/analytics.freepress.net/core/FrontController.php:87]<br /> #35 Piwik\FrontController->dispatch(...) called at [/home/vhosts/analytics.freepress.net/core/dispatch.php:34]<br /> #36 require_once(...) called at [/home/vhosts/analytics.freepress.net/index.php:46]<br /> </div><br /> </pre></div><br /> <div style='word-wrap: break-word; border: 3px solid red; padding:4px; width:70%; background-color:#FFFF96;'> <strong>There is an error. Please report the message (Piwik 2.8.0) and full backtrace in the <a href='?module=Proxy&action=redirect&url=http://forum.piwik.org' target='_blank'>Piwik
forums</a> (please do a Search first as it might have been reported already!).<br /><br/> Notice:</stro
ERROR CoreConsole[2014-10-17 20:02:22] [87b7e] 1 total errors during this script execution, please investigate and try and fix these errors.