Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/site_afiliados/public_html/wp-content/themes/prominas-afiliados/functions.php:224 Stack trace: #0 /home/site_afiliados/public_html/wp-content/themes/prominas-afiliados/functions.php(253): api_set_token() #1 /home/site_afiliados/public_html/wp-content/themes/prominas-afiliados/functions.php(305): api_request('https://api-afi...', Array) #2 /home/site_afiliados/public_html/wp-content/themes/prominas-afiliados/header.php(23): do_affiliate_landing_page_actions() #3 /home/site_afiliados/public_html/wp-includes/template.php(688): require_once('/home/site_afil...') #4 /home/site_afiliados/public_html/wp-includes/template.php(647): load_template('/home/site_afil...', true) #5 /home/site_afiliados/public_html/wp-includes/general-template.php(41): locate_template(Array, true) #6 /home/site_afiliados/public_html/wp-content/themes/prominas-afiliados/page-afiliado-landing-page.php(1): get_header() #7 /home/site_afiliados/public_html/wp-includes/template- in /home/site_afiliados/public_html/wp-content/themes/prominas-afiliados/functions.php on line 224