Error schedule invoice

Version 5.13.47

Environment Shared Hosting

Describe the bug

If I schedule an invoice the invoice didn’t send it

Additional context

[2026-10-15 07:10:03] production.ERROR: syntax error, unexpected token “catch”, expecting “)” {“exception”:"[object] (ParseError(code: 0): syntax error, unexpected token "catch", expecting ")" at /var/www/vhosts/xxxx/xxxx/app/Jobs/Ninja/CompanyTaskRunner.php:70)

Hi,

It may be a bug, I suggest asking in a discussion on GitHub.