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
Using the segment editor with Piwik 1.12 in real-time works without problem but turning it into "Pre-processed" ( segmented reports are pre-processed (faster, requires archive.php cron))AND set it to set "and displayed for all websites" gives an error:
Warning: array_merge(): Argument #1 is not an array in /piwik/plugins/SegmentEditor/SegmentEditor.php on line 50
Backtrace -->
#0 Piwik_ErrorHandler(...) called at [:]
#1 array_merge(...) called at [/piwik/plugins/SegmentEditor/SegmentEditor.php:50]
#2 Piwik_SegmentEditor->getKnownSegmentsToArchiveAllSites(...) called at [:]
#3 call_user_func_array(...) called at [/piwik/libs/Event/Dispatcher.php:284]
#4 Event_Dispatcher->postNotification(...) called at [/piwik/core/PluginsManager.php:674]
#5 Piwik_PostEvent(...) called at [/piwik/core/Piwik.php:1544]
#6 Piwik::getKnownSegmentsToArchive(...) called at [/piwik/core/ArchiveProcessing.php:1020]
#7 Piwik_ArchiveProcessing::shouldProcessReportsAllPluginsFor(...) called at [/piwik/core/ArchiveProcessing.php:1006]
#8 Piwik_ArchiveProcessing->shouldProcessReportsAllPlugins(...) called at [/piwik/core/ArchiveProcessing/Period.php:287]
#9 Piwik_ArchiveProcessing_Period->isThereSomeVisits(...) called at [/piwik/core/Archive/Single.php:233]
#10 Piwik_Archive_Single->prepareArchive(...) called at [/piwik/core/Archive/Single.php:251]
#11 Piwik_Archive_Single->get(...) called at [/piwik/core/Archive/Single.php:499]
#12 Piwik_Archive_Single->getDataTable(...) called at [/piwik/plugins/UserCountry/API.php:197]
#13 Piwik_UserCountry_API->getDataTable(...) called at [/piwik/plugins/UserCountry/API.php:36]
#14 Piwik_UserCountry_API->getCountry(...) called at [:]
#15 call_user_func_array(...) called at [/piwik/core/API/Proxy.php:188]
#16 Piwik_API_Proxy->call(...) called at [/piwik/core/API/Request.php:145]
#17 Piwik_API_Request->process(...) called at [/piwik/core/ViewDataTable.php:423]
#18 Piwik_ViewDataTable->loadDataTableFromAPI(...) called at [/piwik/core/ViewDataTable/HtmlTable.php:79]
#19 Piwik_ViewDataTable_HtmlTable->main(...) called at [/piwik/core/Controller.php:147]
#20 Piwik_Controller->renderView(...) called at [/piwik/plugins/UserCountry/Controller.php:317]
#21 Piwik_UserCountry_Controller->getCountry(...) called at [/piwik/plugins/UserCountry/Controller.php:25]
#22 Piwik_UserCountry_Controller->index(...) called at [:]
#23 call_user_func_array(...) called at [/piwik/core/FrontController.php:125]
#24 Piwik_FrontController->dispatch(...) called at [/piwik/index.php:47]
It looks the we also need to have more than one condition. The segment I was trying to setup had 4 "or" conditions in it all about "Visitor IP is not".
Using the segment editor with Piwik 1.12 in real-time works without problem but turning it into "Pre-processed" ( segmented reports are pre-processed (faster, requires archive.php cron))AND set it to set "and displayed for all websites" gives an error:
It looks the we also need to have more than one condition. The segment I was trying to setup had 4 "or" conditions in it all about "Visitor IP is not".
Another user had the same problem. See http://forum.piwik.org/read.php?2,104431,page=1#msg-104439
The text was updated successfully, but these errors were encountered: