Hello,
This is a known issue. Follow the steps described in this post https://www.8theme.com/topic/critical-error-when-sending-woocommerce-emails-after-theme-update/ and change the code.
Regards