Invalid argument supplied for foreach()

Hi,

I have installed the Funnel pluggin on 19-sept (GitHub - jesstelford/funnels: Piwik (v1.5) plugin that allows the definition, analysis and visualisation of funnels associated with goals.)
I use Piwik v1.12.

But since i have installed the pluggin I get the following warnings when I retrieve results for a date most recent than 19-sept.


There is an error. Please report the message (Piwik 1.12) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Warning: Invalid argument supplied for foreach() in /var/www/html/piwik/plugins/Funnels/Funnels.php on line 660 

Backtrace -->

#0 Piwik_ErrorHandler(...) called at [/var/www/html/piwik/plugins/Funnels/Funnels.php:660]
#1 Piwik_Funnels->storeRefAndNextUrls(...) called at [/var/www/html/piwik/plugins/Funnels/Funnels.php:320]
#2 Piwik_Funnels->archiveDay(...) called at [:]
#3 call_user_func_array(...) called at [/var/www/html/piwik/libs/Event/Dispatcher.php:284]
#4 Event_Dispatcher->postNotification(...) called at [/var/www/html/piwik/core/PluginsManager.php:674]
#5 Piwik_PostEvent(...) called at [/var/www/html/piwik/core/ArchiveProcessing/Day.php:43]
#6 Piwik_ArchiveProcessing_Day->compute(...) called at [/var/www/html/piwik/core/ArchiveProcessing.php:485]
#7 Piwik_ArchiveProcessing->launchArchiving(...) called at [/var/www/html/piwik/core/Archive/Single.php:223]
#8 Piwik_Archive_Single->prepareArchive(...) called at [/var/www/html/piwik/core/Archive/Single.php:251]
#9 Piwik_Archive_Single->get(...) called at [/var/www/html/piwik/core/Archive/Single.php:434]
#10 Piwik_Archive_Single->getNumeric(...) called at [/var/www/html/piwik/core/ArchiveProcessing/Period.php:90]
#11 Piwik_ArchiveProcessing_Period->archiveNumericValuesGeneral(...) called at [/var/www/html/piwik/core/ArchiveProcessing/Period.php:48]
#12 Piwik_ArchiveProcessing_Period->archiveNumericValuesSum(...) called at [/var/www/html/piwik/core/ArchiveProcessing/Period.php:290]
#13 Piwik_ArchiveProcessing_Period->isThereSomeVisits(...) called at [/var/www/html/piwik/core/ArchiveProcessing/Period.php:261]
#14 Piwik_ArchiveProcessing_Period->compute(...) called at [/var/www/html/piwik/core/ArchiveProcessing.php:485]
#15 Piwik_ArchiveProcessing->launchArchiving(...) called at [/var/www/html/piwik/core/Archive/Single.php:223]
#16 Piwik_Archive_Single->prepareArchive(...) called at [/var/www/html/piwik/core/Archive/Single.php:251]
#17 Piwik_Archive_Single->get(...) called at [/var/www/html/piwik/core/Archive/Single.php:434]
#18 Piwik_Archive_Single->getNumeric(...) called at [/var/www/html/piwik/core/ArchiveProcessing/Period.php:301]
#19 Piwik_ArchiveProcessing_Period->isThereSomeVisits(...) called at [/var/www/html/piwik/core/ArchiveProcessing/Period.php:261]
#20 Piwik_ArchiveProcessing_Period->compute(...) called at [/var/www/html/piwik/core/ArchiveProcessing.php:485]
#21 Piwik_ArchiveProcessing->launchArchiving(...) called at [/var/www/html/piwik/core/Archive/Single.php:223]
#22 Piwik_Archive_Single->prepareArchive(...) called at [/var/www/html/piwik/core/Archive/Single.php:251]
#23 Piwik_Archive_Single->get(...) called at [/var/www/html/piwik/core/Archive/Single.php:499]
#24 Piwik_Archive_Single->getDataTable(...) called at [/var/www/html/piwik/core/Archive.php:359]
#25 Piwik_Archive::getDataTableFromArchive(...) called at [/var/www/html/piwik/plugins/Actions/API.php:232]
#26 Piwik_Actions_API->getPageTitles(...) called at [:]
#27 call_user_func_array(...) called at [/var/www/html/piwik/core/API/Proxy.php:188]
#28 Piwik_API_Proxy->call(...) called at [/var/www/html/piwik/core/API/Request.php:145]
#29 Piwik_API_Request->process(...) called at [/var/www/html/piwik/core/ViewDataTable.php:423]
#30 Piwik_ViewDataTable->loadDataTableFromAPI(...) called at [/var/www/html/piwik/core/ViewDataTable/HtmlTable.php:79]
#31 Piwik_ViewDataTable_HtmlTable->main(...) called at [/var/www/html/piwik/plugins/Actions/Controller.php:475]
#32 Piwik_Actions_Controller->configureGenericViewActions(...) called at [/var/www/html/piwik/plugins/Actions/Controller.php:420]
#33 Piwik_Actions_Controller->configureViewActions(...) called at [/var/www/html/piwik/plugins/Actions/Controller.php:239]
#34 Piwik_Actions_Controller->getPageTitles(...) called at [/var/www/html/piwik/plugins/Actions/Controller.php:222]
#35 Piwik_Actions_Controller->indexPageTitles(...) called at [:]
#36 call_user_func_array(...) called at [/var/www/html/piwik/core/FrontController.php:125]
#37 Piwik_FrontController->dispatch(...) called at [/var/www/html/piwik/index.php:47]

Can you help please ?

Cheers,
Florian

That’s a bug in the Funnels plugin unfortunately. Try contacting developer to ask him if he can fix issue.

We’ve just launched the new Funnels premium plugin! The premium Funnels plugin provides really powerful Conversion Funnels analytics directly in Piwik. Learn more & get the plugin in the Funnel Marketplace page. Check the Funnels User Guide and Funnels FAQ for more information. This plugin will help you increase conversions by showing you where visitors drop off the funnel. Funnels visualizes the steps your users take to complete a goal or purchase to instantly see how well they succeed or fail at each step. Based on this information you can evaluate your success and improve your website or app to boost your conversion rates (CRO) and sales. We have put a lot of love into Funnels to integrate it super nicely into Piwik!