Some additional details – the error is reported in the WP Mail Log, what is actually happening it looks like is that there’s no email address for those emails to be sent to. Commenting out the line in the original post just stops the error from being reported in WP Mail Log but it doesn’t allow the email to be sent.
In the raw info of an errored message from WP Mail Log. This seems to specifically hit the new order emails sent to the owner/manager of the site.
Headers:
Content-Type: text/html Reply-to: Nichole <[email protected]>
Attachments:
Error:
You must provide at least one recipient email address.