Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error marking invoice as paid #2362

Open
tudor2k3 opened this issue May 4, 2023 · 0 comments
Open

Error marking invoice as paid #2362

tudor2k3 opened this issue May 4, 2023 · 0 comments

Comments

@tudor2k3
Copy link

tudor2k3 commented May 4, 2023

Hello,

 After the latest git update (from approx 6 months old install), i get the following error when trying to mark invoices as paid:

[Thu May 04 12:32:18.830738 2023] [php:error] [pid 3559:tid 140198763599552] [remote 2a02:...:55850] PHP Fatal error: Uncaught TypeError: array_values(): Argument #1 ($array) must be of type array, bool given in /var/web/sndb.starnet/htdocs/lms/modules/invoicepaid.php:45\nStack trace:\n#0 /var/web/sndb.starnet/htdocs/lms/modules/invoicepaid.php(45): array_values()\n#1 /var/web/sndb.starnet/htdocs/lms/index.php(516): include('...')\n#2 {main}\n thrown in /var/web/sndb.starnet/htdocs/lms/modules/invoicepaid.php on line 45, referer: https://...../lms/?m=invoicelist&customer=391

 Adding a payment works, the invoice gets marked as paid.
 Before the update, everything was working fine.
 No errors were given when updating.

Gentoo Linux
LMS version: | 28-git
Versiune LMSDB: | 2023041400
Versiune PostgreSQL: | 14.7
Versiune PHP: | 8.0.28
Versiune Smarty: | 4.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant