Thank you for the recommendations. I implemented the filter and it seems to have resolved the issue.
Thank you, Mina. I tried your recommendations and am still getting the error messages so I will shift over to the WooCommerce PayPal Payments forum as recommended by you and shahzeen and tag this one as resolved.