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' => 'e-training', 'prettyDate' => 'Week 10 August - 16 August 2020', 'metadata' => array ( 'category' => 'Visitors', 'name' => 'Country', 'module' => 'UserCountry', 'action' => 'getCountry', 'dimension' => 'Country', 'metrics' => array ( 'nb_visits' => 'Visits', 'nb_actions' => 'Actions', ), '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', ), 'uniqueId' => 'UserCountry_getCountry', ), 'columns' => array ( 'label' => 'Country', 'nb_visits' => 'Visits', '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' => array ( 0 => array ( 'label' => 'Unknown', 'nb_visits' => 1, 'nb_actions' => 1, 'conversion_rate' => '0%', 'nb_actions_per_visit' => 1, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', ), 1 => array ( 'label' => 'Samoa', 'nb_visits' => 1, 'nb_actions' => 1, 'conversion_rate' => '0%', 'nb_actions_per_visit' => 1, 'avg_time_on_site' => '00:00:00', 'bounce_rate' => '100%', ), ), 'reportMetadata' => array ( 0 => array ( 'code' => 'xx', 'logo' => 'plugins/UserCountry/flags/xx.png', 'logoWidth' => 18, 'logoHeight' => 12, ), 1 => array ( 'code' => 'ws', 'logo' => 'plugins/UserCountry/flags/ws.png', 'logoWidth' => 18, 'logoHeight' => 12, ), ), );