PDF and payment_note

Hello everyone; I am trying to show the payment notes in InvoicePlane - paid.php, but when I refer to $ payments-> payment_notes, I get errors in the PDF, please help

Thanks.
Greg