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 14 September - 20 September 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' => 'United States', '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' => 'Bulgaria', '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' => 'us', 'logo' => 'plugins/UserCountry/flags/us.png', 'logoWidth' => 18, 'logoHeight' => 12, ), 1 => array ( 'code' => 'bg', 'logo' => 'plugins/UserCountry/flags/bg.png', 'logoWidth' => 18, 'logoHeight' => 12, ), ), );