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 ( 'numSites' => 1, 'totals' => array ( 'nb_pageviews' => '24', 'nb_visits' => '10', 'nb_actions' => '30', 'revenue' => '0', 'nb_visits_lastdate' => 14.0, ), 'lastDate' => '2024-05-17', 'sites' => array ( 0 => array ( 'label' => 'LibPress - MSTGA - Bibliotheque Allard Regional Library', 'nb_visits' => '10', 'nb_actions' => '30', 'nb_pageviews' => '24', 'revenue' => 'CA$0', 'nb_conversions' => 0, 'visits_evolution' => '-28.6%', 'visits_evolution_trend' => -1, 'actions_evolution' => '3.4%', 'actions_evolution_trend' => 1, 'pageviews_evolution' => '9.1%', 'pageviews_evolution_trend' => 1, 'revenue_evolution' => '0%', 'revenue_evolution_trend' => 0, 'nb_conversions_evolution' => '0%', 'nb_conversions_evolution_trend' => 0, 'idsite' => 88, 'ratio' => 1, 'currencySymbol' => 'CA$', 'previous_nb_visits' => 14, 'periodName' => 'day', 'previousRange' => 'Fri, May 17', 'previous_nb_actions' => 29, 'previous_Actions_nb_pageviews' => 22, 'previous_Goal_revenue' => 0, 'previous_Goal_nb_conversions' => 0, 'group' => '', 'main_url' => 'https://allardlibrary.com', ), ), );