SimpleInvoices Group Forum › Forums › Fearless359 SimpleInvoices Discussion Group › Master2023 PDO Error when saving new invoice › Reply To: Master2023 PDO Error when saving new invoice
February 28, 2025 at 2:15 am
#2160
Participant
Thank you so much!!! It turns out I needed to also install php-intl as well !
But I am not out of the wood yet.
I can now add an invoice but when I save it I get the following error
Fatal error: Uncaught TypeError: Inc\Claz\PaymentWarehouse::getOne(): Argument #1 ($id) must be of type string|int, null given, called in /var/www/html/simpleinvoices-master_2023/Inc/Claz/Invoice.php on line 398 and defined in /var/www/html/simpleinvoices-master_2023/Inc/Claz/PaymentWarehouse.php:21 Stack trace: #0 /var/www/html/simpleinvoices-master_2023/Inc/Claz/Invoice.php(398): Inc\Claz\PaymentWarehouse::getOne() #1 /var/www/html/simpleinvoices-master_2023/Inc/Claz/Invoice.php(47): Inc\Claz\Invoice::getInvoices() #2 /var/www/html/simpleinvoices-master_2023/modules/invoices/quickView.php(36): Inc\Claz\Invoice::getOne() #3 /var/www/html/simpleinvoices-master_2023/index.php(441): include('...') #4 {main} thrown in /var/www/html/simpleinvoices-master_2023/Inc/Claz/PaymentWarehouse.php on line 21
Not sure what paymentwarehouse are but I added one and now the new invoice I created after is working.
will need to read on paymentwarehouse.
Recent Comments