Undefined variable $labels

Version v5.11.68

Environment : Shared Hosting

Describe the bug

So i just did a big upgrade from 5.9 odd upto 5.11, working well it seems but i just went to do an export and got an error 500.
checked the logs to find the below, anyone have any ideas? thanks

Logs

[2025-04-20 01:49:37] production.ERROR: Undefined variable $labels {“userId”:1,“exception”:"[object] (ErrorException(code: 0): Undefined variable $labels at /home/u639459127/domains/ez007.net/public_html/invoiceninja/app/Export/CSV/InvoiceExport.php:169)

Hi,

I’m not sure, I suggest asking in a discussion on GitHub.