I switched out the code and I no longer get the error message.
But now the PayPal receipt (see image) isn't including the Color or Size information and the email from my site doesn't include the Order Number and there is a lot of space between the Description and the description text and the Color and Size. On the bright side everything seems to be going in the database correctly.