Error: Data structure returned is not convertible in the requested format. Try to call this method with the parameters '&format=original&serialize=1'; you will get the original php data structure serialized. The data structure looks like this: $data = array ( 'website' => 'Piwik Forums', 'prettyDate' => 'Monday, October 23, 2017', 'metadata' => array ( 'category' => 'Visitors', 'subcategory' => 'Locations', 'name' => 'Country', 'module' => 'UserCountry', 'action' => 'getCountry', 'dimension' => 'Country', 'documentation' => 'This report shows which country your visitors were in when they accessed your website.', 'metrics' => array ( 'nb_visits' => 'Visits', 'nb_uniq_visitors' => 'Unique visitors', 'nb_actions' => 'Actions', ), 'metricsDocumentation' => array ( 'nb_visits' => 'If a visitor comes to your website for the first time or if they visit a page more than 30 minutes after their last page view, this will be recorded as a new visit.', 'nb_uniq_visitors' => 'The number of unduplicated visitors coming to your website. Every user is only counted once, even if they visit the website multiple times a day.', 'nb_actions' => 'The number of actions performed by your visitors. Actions can be page views, internal site searches, downloads or outlinks.', 'nb_actions_per_visit' => 'The average number of actions (page views, site searches, downloads or outlinks) that were performed during the visits.', 'avg_time_on_site' => 'The average duration of a visit.', 'bounce_rate' => 'The percentage of visits that only had a single pageview. This means, that the visitor left the website directly from the entrance page.', 'conversion_rate' => 'The percentage of visits that triggered a goal conversion.', ), 'processedMetrics' => array ( 'nb_actions_per_visit' => 'Actions per Visit', 'avg_time_on_site' => 'Avg. Time on Website', 'bounce_rate' => 'Bounce Rate', ), 'metricsGoal' => array ( 'nb_conversions' => 'Conversions', 'revenue' => 'Revenue', ), 'processedMetricsGoal' => array ( 'revenue_per_visit' => 'Revenue per Visit', ), 'imageGraphUrl' => 'index.php?module=API&method=ImageGraph.get&idSite=7&apiModule=UserCountry&apiAction=getCountry&token_auth=anonymous&period=day&date=today', 'imageGraphEvolutionUrl' => 'index.php?module=API&method=ImageGraph.get&idSite=7&apiModule=UserCountry&apiAction=getCountry&token_auth=anonymous&period=day&date=2017-09-24,2017-10-23', 'uniqueId' => 'UserCountry_getCountry', ), 'columns' => array ( 'label' => 'Country', 'nb_visits' => 'Visits', 'nb_uniq_visitors' => 'Unique visitors', 'nb_actions' => 'Actions', 'nb_actions_per_visit' => 'Actions per Visit', 'avg_time_on_site' => 'Avg. Time on Website', 'bounce_rate' => 'Bounce Rate', 'revenue' => 'Revenue', ), 'reportData' => Piwik\DataTable::__set_state(array( 'rows' => array ( 0 => Piwik\DataTable\Row::__set_state(array( 'label' => 'United States', 'nb_uniq_visitors' => 17, 'nb_visits' => 18, 'nb_actions' => 33, 'nb_actions_per_visit' => 1.8000000000000000444089209850062616169452667236328125, 'avg_time_on_site' => '00:01:38', 'bounce_rate' => '72%', 'revenue' => '$ 0', )), 1 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Japan', 'nb_uniq_visitors' => 7, 'nb_visits' => 7, 'nb_actions' => 10, 'nb_actions_per_visit' => 1.399999999999999911182158029987476766109466552734375, 'avg_time_on_site' => '00:01:59', 'bounce_rate' => '71%', 'revenue' => '$ 0', )), 2 => Piwik\DataTable\Row::__set_state(array( 'label' => 'China', 'nb_uniq_visitors' => 4, 'nb_visits' => 4, 'nb_actions' => 5, 'nb_actions_per_visit' => 1.3000000000000000444089209850062616169452667236328125, 'avg_time_on_site' => '00:00:01', 'bounce_rate' => '75%', 'revenue' => '$ 0', )), 3 => Piwik\DataTable\Row::__set_state(array( 'label' => 'South Korea', 'nb_uniq_visitors' => 3, 'nb_visits' => 3, 'nb_actions' => 4, 'nb_actions_per_visit' => 1.3000000000000000444089209850062616169452667236328125, 'avg_time_on_site' => '00:00:06', 'bounce_rate' => '67%', 'revenue' => '$ 0', )), 4 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Vietnam', 'nb_uniq_visitors' => 3, 'nb_visits' => 3, 'nb_actions' => 3, 'nb_actions_per_visit' => 1.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', 'revenue' => '$ 0', )), 5 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Canada', 'nb_uniq_visitors' => 2, 'nb_visits' => 2, 'nb_actions' => 4, 'nb_actions_per_visit' => 2.0, 'avg_time_on_site' => '00:00:35', 'bounce_rate' => '50%', 'revenue' => '$ 0', )), 6 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Germany', 'nb_uniq_visitors' => 2, 'nb_visits' => 2, 'nb_actions' => 2, 'nb_actions_per_visit' => 1.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', 'revenue' => '$ 0', )), 7 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Malaysia', 'nb_uniq_visitors' => 2, 'nb_visits' => 2, 'nb_actions' => 2, 'nb_actions_per_visit' => 1.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', 'revenue' => '$ 0', )), 8 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Russia', 'nb_uniq_visitors' => 2, 'nb_visits' => 2, 'nb_actions' => 2, 'nb_actions_per_visit' => 1.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', 'revenue' => '$ 0', )), 9 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Singapore', 'nb_uniq_visitors' => 2, 'nb_visits' => 2, 'nb_actions' => 2, 'nb_actions_per_visit' => 1.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', 'revenue' => '$ 0', )), 10 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Ukraine', 'nb_uniq_visitors' => 2, 'nb_visits' => 2, 'nb_actions' => 3, 'nb_actions_per_visit' => 1.5, 'avg_time_on_site' => '00:00:34', 'bounce_rate' => '50%', 'revenue' => '$ 0', )), 11 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Australia', 'nb_uniq_visitors' => 1, 'nb_visits' => 1, 'nb_actions' => 1, 'nb_actions_per_visit' => 1.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', 'revenue' => '$ 0', )), 12 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Belize', 'nb_uniq_visitors' => 1, 'nb_visits' => 1, 'nb_actions' => 2, 'nb_actions_per_visit' => 2.0, 'avg_time_on_site' => '00:00:50', 'bounce_rate' => '0%', 'revenue' => '$ 0', )), 13 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Ecuador', 'nb_uniq_visitors' => 1, 'nb_visits' => 1, 'nb_actions' => 1, 'nb_actions_per_visit' => 1.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', 'revenue' => '$ 0', )), 14 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Hong Kong SAR China', 'nb_uniq_visitors' => 1, 'nb_visits' => 1, 'nb_actions' => 1, 'nb_actions_per_visit' => 1.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', 'revenue' => '$ 0', )), 15 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Indonesia', 'nb_uniq_visitors' => 1, 'nb_visits' => 1, 'nb_actions' => 3, 'nb_actions_per_visit' => 3.0, 'avg_time_on_site' => '00:00:50', 'bounce_rate' => '0%', 'revenue' => '$ 0', )), 16 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Ireland', 'nb_uniq_visitors' => 1, 'nb_visits' => 1, 'nb_actions' => 1, 'nb_actions_per_visit' => 1.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', 'revenue' => '$ 0', )), 17 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Mongolia', 'nb_uniq_visitors' => 1, 'nb_visits' => 1, 'nb_actions' => 1, 'nb_actions_per_visit' => 1.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', 'revenue' => '$ 0', )), 18 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Poland', 'nb_uniq_visitors' => 1, 'nb_visits' => 1, 'nb_actions' => 2, 'nb_actions_per_visit' => 2.0, 'avg_time_on_site' => '00:00:02', 'bounce_rate' => '0%', 'revenue' => '$ 0', )), 19 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Sri Lanka', 'nb_uniq_visitors' => 1, 'nb_visits' => 1, 'nb_actions' => 1, 'nb_actions_per_visit' => 1.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', 'revenue' => '$ 0', )), 20 => Piwik\DataTable\Row::__set_state(array( 'label' => 'United Kingdom', 'nb_uniq_visitors' => 1, 'nb_visits' => 1, 'nb_actions' => 1, 'nb_actions_per_visit' => 1.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', 'revenue' => '$ 0', )), 21 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Uruguay', 'nb_uniq_visitors' => 1, 'nb_visits' => 1, 'nb_actions' => 1, 'nb_actions_per_visit' => 1.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', 'revenue' => '$ 0', )), ), 'currentId' => 3, 'depthLevel' => 0, 'indexNotUpToDate' => true, 'rebuildIndexContinuously' => false, 'tableSortedBy' => false, 'queuedFilters' => array ( ), 'disabledFilters' => array ( ), 'rowsCountBeforeLimitFilter' => 0, 'enableRecursiveSort' => false, 'enableRecursiveFilters' => false, 'rowsIndexByLabel' => array ( ), 'summaryRow' => NULL, 'metadata' => array ( ), 'maximumAllowedRows' => 0, )), 'reportMetadata' => Piwik\DataTable::__set_state(array( 'rows' => array ( 0 => Piwik\DataTable\Row::__set_state(array( 'code' => 'us', 'logo' => 'plugins/Morpheus/icons/dist/flags/us.png', 'segment' => 'countryCode==us', 'logoHeight' => 16, )), 1 => Piwik\DataTable\Row::__set_state(array( 'code' => 'jp', 'logo' => 'plugins/Morpheus/icons/dist/flags/jp.png', 'segment' => 'countryCode==jp', 'logoHeight' => 16, )), 2 => Piwik\DataTable\Row::__set_state(array( 'code' => 'cn', 'logo' => 'plugins/Morpheus/icons/dist/flags/cn.png', 'segment' => 'countryCode==cn', 'logoHeight' => 16, )), 3 => Piwik\DataTable\Row::__set_state(array( 'code' => 'kr', 'logo' => 'plugins/Morpheus/icons/dist/flags/kr.png', 'segment' => 'countryCode==kr', 'logoHeight' => 16, )), 4 => Piwik\DataTable\Row::__set_state(array( 'code' => 'vn', 'logo' => 'plugins/Morpheus/icons/dist/flags/vn.png', 'segment' => 'countryCode==vn', 'logoHeight' => 16, )), 5 => Piwik\DataTable\Row::__set_state(array( 'code' => 'ca', 'logo' => 'plugins/Morpheus/icons/dist/flags/ca.png', 'segment' => 'countryCode==ca', 'logoHeight' => 16, )), 6 => Piwik\DataTable\Row::__set_state(array( 'code' => 'de', 'logo' => 'plugins/Morpheus/icons/dist/flags/de.png', 'segment' => 'countryCode==de', 'logoHeight' => 16, )), 7 => Piwik\DataTable\Row::__set_state(array( 'code' => 'my', 'logo' => 'plugins/Morpheus/icons/dist/flags/my.png', 'segment' => 'countryCode==my', 'logoHeight' => 16, )), 8 => Piwik\DataTable\Row::__set_state(array( 'code' => 'ru', 'logo' => 'plugins/Morpheus/icons/dist/flags/ru.png', 'segment' => 'countryCode==ru', 'logoHeight' => 16, )), 9 => Piwik\DataTable\Row::__set_state(array( 'code' => 'sg', 'logo' => 'plugins/Morpheus/icons/dist/flags/sg.png', 'segment' => 'countryCode==sg', 'logoHeight' => 16, )), 10 => Piwik\DataTable\Row::__set_state(array( 'code' => 'ua', 'logo' => 'plugins/Morpheus/icons/dist/flags/ua.png', 'segment' => 'countryCode==ua', 'logoHeight' => 16, )), 11 => Piwik\DataTable\Row::__set_state(array( 'code' => 'au', 'logo' => 'plugins/Morpheus/icons/dist/flags/au.png', 'segment' => 'countryCode==au', 'logoHeight' => 16, )), 12 => Piwik\DataTable\Row::__set_state(array( 'code' => 'bz', 'logo' => 'plugins/Morpheus/icons/dist/flags/bz.png', 'segment' => 'countryCode==bz', 'logoHeight' => 16, )), 13 => Piwik\DataTable\Row::__set_state(array( 'code' => 'ec', 'logo' => 'plugins/Morpheus/icons/dist/flags/ec.png', 'segment' => 'countryCode==ec', 'logoHeight' => 16, )), 14 => Piwik\DataTable\Row::__set_state(array( 'code' => 'hk', 'logo' => 'plugins/Morpheus/icons/dist/flags/hk.png', 'segment' => 'countryCode==hk', 'logoHeight' => 16, )), 15 => Piwik\DataTable\Row::__set_state(array( 'code' => 'id', 'logo' => 'plugins/Morpheus/icons/dist/flags/id.png', 'segment' => 'countryCode==id', 'logoHeight' => 16, )), 16 => Piwik\DataTable\Row::__set_state(array( 'code' => 'ie', 'logo' => 'plugins/Morpheus/icons/dist/flags/ie.png', 'segment' => 'countryCode==ie', 'logoHeight' => 16, )), 17 => Piwik\DataTable\Row::__set_state(array( 'code' => 'mn', 'logo' => 'plugins/Morpheus/icons/dist/flags/mn.png', 'segment' => 'countryCode==mn', 'logoHeight' => 16, )), 18 => Piwik\DataTable\Row::__set_state(array( 'code' => 'pl', 'logo' => 'plugins/Morpheus/icons/dist/flags/pl.png', 'segment' => 'countryCode==pl', 'logoHeight' => 16, )), 19 => Piwik\DataTable\Row::__set_state(array( 'code' => 'lk', 'logo' => 'plugins/Morpheus/icons/dist/flags/lk.png', 'segment' => 'countryCode==lk', 'logoHeight' => 16, )), 20 => Piwik\DataTable\Row::__set_state(array( 'code' => 'gb', 'logo' => 'plugins/Morpheus/icons/dist/flags/gb.png', 'segment' => 'countryCode==gb', 'logoHeight' => 16, )), 21 => Piwik\DataTable\Row::__set_state(array( 'code' => 'uy', 'logo' => 'plugins/Morpheus/icons/dist/flags/uy.png', 'segment' => 'countryCode==uy', 'logoHeight' => 16, )), ), 'currentId' => 2, 'depthLevel' => 0, 'indexNotUpToDate' => true, 'rebuildIndexContinuously' => false, 'tableSortedBy' => false, 'queuedFilters' => array ( ), 'disabledFilters' => array ( ), 'rowsCountBeforeLimitFilter' => 0, 'enableRecursiveSort' => false, 'enableRecursiveFilters' => false, 'rowsIndexByLabel' => array ( ), 'summaryRow' => NULL, 'metadata' => array ( ), 'maximumAllowedRows' => 0, )), 'reportTotal' => array ( 'nb_visits' => 58, 'nb_uniq_visitors' => 57, 'nb_actions' => 85, 'nb_visits_converted' => 0, 'bounce_count' => 44, ), 'timerMillis' => '46', );