• Resolved Javier Casares

    (@javiercasares)


    I have some problems with WooCommerce sending some emails (catching errors as array). It happens with WooCommerce (is the main plugin at WordPress and also in general).

    Stack trace
    Error: Uncaught exception ‘Error’ with message ‘Cannot use object of type WP_Error as array’ in /home/nfs/site/prod/public_html/wp-content/plugins/elastic-email-sender/api/ElasticEmailClient.php:58

    in ElasticEmailClient\ApiClient::Request called at /home/nfs/site/prod/public_html/wp-content/plugins/elastic-email-sender/api/ElasticEmailClient.php (1589) in ElasticEmailClient\Email::Send called at /home/nfs/site/prod/public_html/wp-content/plugins/elastic-email-sender/class/eemail.php (148) in eemail::send called at /home/nfs/site/prod/public_html/wp-content/plugins/elastic-email-sender/class/eemail.php (26) in wp_mail called at /home/nfs/site/prod/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php (554) in WC_Email::send called at /home/nfs/site/prod/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php (92)

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot use object of type WP_Error as array’ is closed to new replies.