Cannot use object of type WP_Error as array
-
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:58in 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)
- The topic ‘Cannot use object of type WP_Error as array’ is closed to new replies.