Update breaks pdf generation for recurring invoices

I updated from 5.5.64 to 5.5.101. After that I can’t view pdfs for recurring invoices and get an error(500). Normal invoices works as expected.

I found following error in the log:

[2023-03-30 19:51:26] production.ERROR: Method App\Http\Controllers\RecurringInvoiceController::downloadPdf does not exist. {“exception”:"[object] (BadMethodCallException(code: 0): Method App\Http\Controllers\RecurringInvoiceController::downloadPdf does not exist. at /home/users/meisterkeks/www/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:68)

I’m using hosted_ninja as pdf generator. Any idea what to do to fix this?

Thanks in advance for your help.

Hi,

@david can you please advise?

@meisterkeks

Thanks for reporting this, i’ve checked in a fix and will tag a new release now.

1 Like

Thanks for your quick solution. I really appreciate your work!