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' => 'www.dms.puglia.it', 'prettyDate' => 'Thursday, October 6, 2022', 'metadata' => array ( 'category' => 'Visitors', 'subcategory' => 'Locations', 'name' => 'Country', 'module' => 'UserCountry', 'action' => 'getCountry', 'dimension' => 'Country', 'documentation' => 'Shows which country your visitors connected from when accessing 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', 'conversion_rate' => 'Conversion Rate', ), 'imageGraphUrl' => 'index.php?module=API&method=ImageGraph.get&idSite=37&apiModule=UserCountry&apiAction=getCountry&token_auth=anonymous&period=day&date=today', 'imageGraphEvolutionUrl' => 'index.php?module=API&method=ImageGraph.get&idSite=37&apiModule=UserCountry&apiAction=getCountry&token_auth=anonymous&period=day&date=2022-09-07,2022-10-06', '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', 'conversion_rate' => 'Conversion Rate', ), 'reportData' => Piwik\DataTable::__set_state(array( 'rows' => array ( 0 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Italy', 'nb_uniq_visitors' => 895, 'nb_visits' => 1016, 'nb_actions' => 0, 'conversion_rate' => '0%', 'nb_actions_per_visit' => 0.0, 'avg_time_on_site' => '00:02:13', 'bounce_rate' => '0%', )), 1 => Piwik\DataTable\Row::__set_state(array( 'label' => 'United States', 'nb_uniq_visitors' => 14, 'nb_visits' => 15, 'nb_actions' => 0, 'conversion_rate' => '0%', 'nb_actions_per_visit' => 0.0, 'avg_time_on_site' => '00:03:27', 'bounce_rate' => '0%', )), 2 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Unknown', 'nb_uniq_visitors' => 12, 'nb_visits' => 12, 'nb_actions' => 0, 'conversion_rate' => '0%', 'nb_actions_per_visit' => 0.0, 'avg_time_on_site' => '00:02:59', 'bounce_rate' => '0%', )), 3 => Piwik\DataTable\Row::__set_state(array( 'label' => 'France', 'nb_uniq_visitors' => 3, 'nb_visits' => 3, 'nb_actions' => 0, 'conversion_rate' => '0%', 'nb_actions_per_visit' => 0.0, 'avg_time_on_site' => '00:00:40', 'bounce_rate' => '0%', )), 4 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Spain', 'nb_uniq_visitors' => 2, 'nb_visits' => 2, 'nb_actions' => 0, 'conversion_rate' => '0%', 'nb_actions_per_visit' => 0.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '0%', )), 5 => Piwik\DataTable\Row::__set_state(array( 'label' => 'United Kingdom', 'nb_uniq_visitors' => 2, 'nb_visits' => 2, 'nb_actions' => 0, 'conversion_rate' => '0%', 'nb_actions_per_visit' => 0.0, 'avg_time_on_site' => '00:00:19', 'bounce_rate' => '0%', )), 6 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Germany', 'nb_uniq_visitors' => 1, 'nb_visits' => 1, 'nb_actions' => 0, 'conversion_rate' => '0%', 'nb_actions_per_visit' => 0.0, 'avg_time_on_site' => '00:19:41', 'bounce_rate' => '0%', )), 7 => Piwik\DataTable\Row::__set_state(array( 'label' => 'Netherlands', 'nb_uniq_visitors' => 1, 'nb_visits' => 1, 'nb_actions' => 0, 'conversion_rate' => '0%', 'nb_actions_per_visit' => 0.0, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '0%', )), ), 'currentId' => 4, 'depthLevel' => 0, 'indexNotUpToDate' => true, 'rebuildIndexContinuously' => false, 'tableSortedBy' => false, 'queuedFilters' => array ( ), 'disabledFilters' => array ( ), 'rowsCountBeforeLimitFilter' => 0, 'enableRecursiveSort' => false, 'enableRecursiveFilters' => false, 'rowsIndexByLabel' => array ( ), 'summaryRow' => NULL, 'totalsRow' => NULL, 'metadata' => array ( ), 'maximumAllowedRows' => 0, )), 'reportMetadata' => Piwik\DataTable::__set_state(array( 'rows' => array ( 0 => Piwik\DataTable\Row::__set_state(array( 'code' => 'it', 'logo' => 'plugins/Morpheus/icons/dist/flags/it.png', 'segment' => 'countryCode==it', 'logoHeight' => 16, )), 1 => Piwik\DataTable\Row::__set_state(array( 'code' => 'us', 'logo' => 'plugins/Morpheus/icons/dist/flags/us.png', 'segment' => 'countryCode==us', 'logoHeight' => 16, )), 2 => Piwik\DataTable\Row::__set_state(array( 'code' => 'xx', 'logo' => 'plugins/Morpheus/icons/dist/flags/xx.png', 'segment' => 'countryCode==xx', 'logoHeight' => 16, )), 3 => Piwik\DataTable\Row::__set_state(array( 'code' => 'fr', 'logo' => 'plugins/Morpheus/icons/dist/flags/fr.png', 'segment' => 'countryCode==fr', 'logoHeight' => 16, )), 4 => Piwik\DataTable\Row::__set_state(array( 'code' => 'es', 'logo' => 'plugins/Morpheus/icons/dist/flags/es.png', 'segment' => 'countryCode==es', 'logoHeight' => 16, )), 5 => Piwik\DataTable\Row::__set_state(array( 'code' => 'gb', 'logo' => 'plugins/Morpheus/icons/dist/flags/gb.png', 'segment' => 'countryCode==gb', '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' => 'nl', 'logo' => 'plugins/Morpheus/icons/dist/flags/nl.png', 'segment' => 'countryCode==nl', 'logoHeight' => 16, )), ), 'currentId' => 3, 'depthLevel' => 0, 'indexNotUpToDate' => true, 'rebuildIndexContinuously' => false, 'tableSortedBy' => false, 'queuedFilters' => array ( ), 'disabledFilters' => array ( ), 'rowsCountBeforeLimitFilter' => 0, 'enableRecursiveSort' => false, 'enableRecursiveFilters' => false, 'rowsIndexByLabel' => array ( ), 'summaryRow' => NULL, 'totalsRow' => NULL, 'metadata' => array ( ), 'maximumAllowedRows' => 0, )), 'reportTotal' => array ( 'nb_uniq_visitors' => 930, 'nb_visits' => 1052, 'nb_actions' => 0, 'nb_users' => 0, 'max_actions' => 0.0, 'sum_visit_length' => 141357, 'bounce_count' => 0, 'nb_visits_converted' => 0, 'nb_actions_per_visit' => 0.0, ), 'timerMillis' => '39', );