Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/foxsoft/public_html/wp-content/plugins/intcomex_fisicos_tipo_cambio-or-ant/inc/intcomex-integration.php:217
Stack trace:
#0 /home/foxsoft/public_html/wp-content/plugins/intcomex_fisicos_tipo_cambio-or-ant/inc/intcomex-integration.php(296): WC_IntcomexWebService_Integration->get_api('/getproduct', Array)
#1 /home/foxsoft/public_html/wp-includes/class-wp-hook.php(324): WC_IntcomexWebService_Integration->add_to_cart('53fde96fcc4b4ce...', 522, 1, 0, Array, Array)
#2 /home/foxsoft/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#3 /home/foxsoft/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /home/foxsoft/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1287): do_action('woocommerce_add...', '53fde96fcc4b4ce...', 522, 1, 0, Array, Array)
#5 /home/foxsoft/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(842): WC_Cart->add_to_cart(522, 1)
#6 /home/foxsoft/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(814): WC_Form_Handler::add_to_cart_handler_simple(522)
#7 /home/foxsoft/public_html/wp-includes/class-wp-hook.php(324): WC_Form_Handler::add_to_cart_action('')
#8 /home/foxsoft/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#9 /home/foxsoft/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#10 /home/foxsoft/public_html/wp-settings.php(726): do_action('wp_loaded')
#11 /home/foxsoft/public_html/wp-config.php(101): require_once('/home/foxsoft/p...')
#12 /home/foxsoft/public_html/wp-load.php(50): require_once('/home/foxsoft/p...')
#13 /home/foxsoft/public_html/wp-blog-header.php(13): require_once('/home/foxsoft/p...')
#14 /home/foxsoft/public_html/index.php(17): require('/home/foxsoft/p...')
#15 {main}
thrown in /home/foxsoft/public_html/wp-content/plugins/intcomex_fisicos_tipo_cambio-or-ant/inc/intcomex-integration.php on line 217