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' => 'Totodunet', 'prettyDate' => 'Tuesday, April 23, 2024', 'metadata' => array ( 'category' => 'Visitors', '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 he visits a page more than 30 minutes after his 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 he visits 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=6&apiModule=UserCountry&apiAction=getCountry&token_auth=anonymous&period=day&date=yesterday', 'imageGraphEvolutionUrl' => 'index.php?module=API&method=ImageGraph.get&idSite=6&apiModule=UserCountry&apiAction=getCountry&token_auth=anonymous&period=day&date=2024-03-25,2024-04-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( 'maxVisitsSummed' => 0, 'columns' => array ( 'label' => 'France', 'nb_uniq_visitors' => 19, 'nb_visits' => 23, 'nb_actions' => 79, 'nb_actions_per_visit' => 3.4, 'avg_time_on_site' => '00:09:27', 'bounce_rate' => '43%', 'revenue' => '0 €', ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), 1 => Piwik\DataTable\Row::__set_state(array( 'maxVisitsSummed' => 0, 'columns' => array ( 'label' => 'United States', 'nb_uniq_visitors' => 2, 'nb_visits' => 2, 'nb_actions' => 3, 'nb_actions_per_visit' => 1.5, 'avg_time_on_site' => '00:00:03', 'bounce_rate' => '50%', 'revenue' => '0 €', ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), 2 => Piwik\DataTable\Row::__set_state(array( 'maxVisitsSummed' => 0, 'columns' => array ( 'label' => 'Benin', 'nb_uniq_visitors' => 1, 'nb_visits' => 1, 'nb_actions' => 3, 'nb_actions_per_visit' => 3.0, 'avg_time_on_site' => '00:23:24', 'bounce_rate' => '0%', 'revenue' => '0 €', ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), 3 => Piwik\DataTable\Row::__set_state(array( 'maxVisitsSummed' => 0, 'columns' => array ( 'label' => 'Morocco', '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 €', ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), 4 => Piwik\DataTable\Row::__set_state(array( 'maxVisitsSummed' => 0, 'columns' => array ( 'label' => 'Russia', '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 €', ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), 5 => Piwik\DataTable\Row::__set_state(array( 'maxVisitsSummed' => 0, 'columns' => array ( 'label' => 'Senegal', '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 €', ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), 6 => Piwik\DataTable\Row::__set_state(array( 'maxVisitsSummed' => 0, 'columns' => array ( 'label' => 'Tunisia', '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 €', ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), 7 => Piwik\DataTable\Row::__set_state(array( 'maxVisitsSummed' => 0, 'columns' => array ( 'label' => 'Unknown', 'nb_uniq_visitors' => 1, 'nb_visits' => 1, 'nb_actions' => 3, 'nb_actions_per_visit' => 3.0, 'avg_time_on_site' => '00:27:36', 'bounce_rate' => '0%', 'revenue' => '0 €', ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), ), '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( 'maxVisitsSummed' => 0, 'columns' => array ( 'code' => 'fr', 'logo' => 'plugins/UserCountry/images/flags/fr.png', 'segment' => 'countryCode==fr', 'logoWidth' => 16, 'logoHeight' => 11, ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), 1 => Piwik\DataTable\Row::__set_state(array( 'maxVisitsSummed' => 0, 'columns' => array ( 'code' => 'us', 'logo' => 'plugins/UserCountry/images/flags/us.png', 'segment' => 'countryCode==us', 'logoWidth' => 16, 'logoHeight' => 11, ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), 2 => Piwik\DataTable\Row::__set_state(array( 'maxVisitsSummed' => 0, 'columns' => array ( 'code' => 'bj', 'logo' => 'plugins/UserCountry/images/flags/bj.png', 'segment' => 'countryCode==bj', 'logoWidth' => 16, 'logoHeight' => 11, ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), 3 => Piwik\DataTable\Row::__set_state(array( 'maxVisitsSummed' => 0, 'columns' => array ( 'code' => 'ma', 'logo' => 'plugins/UserCountry/images/flags/ma.png', 'segment' => 'countryCode==ma', 'logoWidth' => 16, 'logoHeight' => 11, ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), 4 => Piwik\DataTable\Row::__set_state(array( 'maxVisitsSummed' => 0, 'columns' => array ( 'code' => 'ru', 'logo' => 'plugins/UserCountry/images/flags/ru.png', 'segment' => 'countryCode==ru', 'logoWidth' => 16, 'logoHeight' => 11, ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), 5 => Piwik\DataTable\Row::__set_state(array( 'maxVisitsSummed' => 0, 'columns' => array ( 'code' => 'sn', 'logo' => 'plugins/UserCountry/images/flags/sn.png', 'segment' => 'countryCode==sn', 'logoWidth' => 16, 'logoHeight' => 11, ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), 6 => Piwik\DataTable\Row::__set_state(array( 'maxVisitsSummed' => 0, 'columns' => array ( 'code' => 'tn', 'logo' => 'plugins/UserCountry/images/flags/tn.png', 'segment' => 'countryCode==tn', 'logoWidth' => 16, 'logoHeight' => 11, ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), 7 => Piwik\DataTable\Row::__set_state(array( 'maxVisitsSummed' => 0, 'columns' => array ( 'code' => 'eu', 'logo' => 'plugins/UserCountry/images/flags/eu.png', 'segment' => 'countryCode==eu', 'logoWidth' => 16, 'logoHeight' => 11, ), 'metadata' => array ( ), 'isSubtableLoaded' => false, 'subtableId' => NULL, )), ), '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' => 31, 'nb_uniq_visitors' => 27, 'nb_actions' => 92, 'nb_visits_converted' => 0, 'bounce_count' => 15, ), 'timerMillis' => '169', );