I upgraded to the latest version of Invoice NInja and everything seams to work perfect except :
When I create a recurring invoice, I’m not able to send the recurring invoice. A new invoice is not created, not via the cron job and also not via ‘Send now’. The only way to create an invoice from the recurring invoice is using '‘duplicaat to invoice’ option.
It looks like the cronjob os running. I receive tis i mij e-mail :
I’m using PHP version 8.2.
Invoice Version : v5.10.11-C161
What error log should I check ? Invoice Ninja Log ?
The only problem I can notice the I only have 512 MB PHP Memory (Hoster Maximum)
Can that be the problem. It worked befor uograding to the latest version.
[2024-07-08 09:28:07] production.ERROR: Server error: POST https://pdf.invoicing.co/api/ resulted in a 502 Bad Gateway response:
error code: 502
{“userId”:2,“exception”:"[object] (Exception(code: 502): Server error: POST https://pdf.invoicing.co/api/ resulted in a 502 Bad Gateway response:
error code: 502
at /home/pperee/sub/{domainname}l/app/Services/Pdf/PdfService.php:106)
[stacktrace]
Also found this error : Call to undefined function App\DataMapper\iconv_strlen() (View: /home/pperee/sub/f{domainname}/resources/views/errors/404.blade.php) {“exception”:"[object] (Illuminate\View\ViewException(code: 0): Call to undefined function App\DataMapper\iconv_strlen() (View: /home/pperee/sub/{domainname}/resources/views/errors/404.blade.php) at /home/pperee/sub/{domainname}/app/DataMapper/ClientSettings.php:99)
I cleared the laravel.log file (made a copy of the old file).
The I tryed to send a recurring invoice. (2x)
There was no (error) entry in the log file.
After trying to send the recurring invoice, a popup is show saying, “The invoice is send”. But it isn’t send and no invoice is created.
Checked the php error log but no entry related to the domain containing invoice ninja. It worked before but after upgrading to the latest version, it stop working.