Urgent problem: HTTP ERROR 500 when trying to register payment for invoice

Hello everyone,
I’m trying to find a solution for my problem when trying to close an invoice by marking it as paid. I hope I can get some feedback soon :slight_smile:
For now I change the status in the database manually

Currently installed versions:

Dolibarr: V21.0.1
php: V8.2.27
Database: MariaDB 10.11.10, collation utf8mb3_general_ci
Hosted on Linux with LiteSpeed

Problem:

When registering an invoice as paid, I get:
URL: https://MyDomainName/compta/paiement.php
ERROR 500
MyDomainNameis currently unable to handle this request.
This page isn’t working [MyDomainName ]

No further error log entries found

User logifile form webserver:

[17/Apr/2025:12:31:49 +0200] β€œGET /compta/paiement.php?facid=1&action=create&accountid=1 HTTP/2” 200 23107 β€œhttps://MyDomainName/compta/facture/card.php?id=1”
[17/Apr/2025:12:31:50 +0200] β€œGET /theme/eldy/style.css.php?lang=nl_NL&theme=eldy&userid=2&entity=1&layout=classic&version=21.0.1&revision=197 HTTP/2” 200 58532 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:31:50 +0200] β€œGET /theme/custom.css.php?layout=classic&version=21.0.1&revision=197 HTTP/2” 200 868 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:31:50 +0200] β€œGET /core/js/lib_head.js.php?lang=nl_NL&layout=classic&version=21.0.1 HTTP/2” 200 13595 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:31:50 +0200] β€œGET /viewimage.php?cache=1&modulepart=mycompany&file=logos%2Fthumbs%2Flgog-wit-rond-transp_mini.png HTTP/2” 200 4653 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:31:50 +0200] β€œGET /viewimage.php?modulepart=userphoto&entity=1&file=2%2Fphotos%2Fthumbs%2Fsven-dolibarr_small.png&cache=1 HTTP/2” 200 98966 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:31:50 +0200] β€œGET /theme/eldy/img/rightarrow.png HTTP/2” 200 156 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:31:50 +0200] β€œGET /core/js/lib_foot.js.php?lang=nl_NL&layout=classic&version=21.0.1 HTTP/2” 200 4205 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:31:50 +0200] β€œGET /theme/eldy/manifest.json.php HTTP/2” 200 671 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:31:50 +0200] β€œGET /viewimage.php?cache=1&modulepart=mycompany&file=logos%2Fthumbs%2Flgog-wit-rond-transp_small.png HTTP/2” 200 28685 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:33:32 +0200] β€œPOST /compta/ajaxpayment.php HTTP/2” 200 56 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:33:32 +0200] β€œPOST /compta/ajaxpayment.php HTTP/2” 200 54 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:33:33 +0200] β€œPOST /compta/ajaxpayment.php HTTP/2” 200 58 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:33:33 +0200] β€œPOST /compta/ajaxpayment.php HTTP/2” 200 58 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:33:34 +0200] β€œPOST /compta/ajaxpayment.php HTTP/2” 200 61 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:33:34 +0200] β€œPOST /compta/ajaxpayment.php HTTP/2” 200 62 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:33:39 +0200] β€œPOST /compta/ajaxpayment.php HTTP/2” 200 62 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:33:39 +0200] β€œPOST /compta/paiement.php HTTP/2” 200 23575 β€œhttps://MyDomainName/compta/paiement.php?facid=1&action=create&accountid=1”
[17/Apr/2025:12:33:44 +0200] β€œPOST /compta/paiement.php HTTP/2” 200 23856 β€œhttps://MyDomainName/compta/paiement.php”
[17/Apr/2025:12:33:46 +0200] β€œPOST /compta/paiement.php HTTP/2” 500 0 β€œhttps://MyDomainName/compta/paiement.php”
[17/Apr/2025:12:34:02 +0200] β€œGET /admin/tools/listsessions.php?mainmenu=home&leftmenu=admintools HTTP/2” 200 16676 β€œ-”
[17/Apr/2025:12:34:02 +0200] β€œGET /admin/emailcollector_list.php?restore_lastsearch_values=1 HTTP/2” 200 23124 β€œ-”
[17/Apr/2025:12:34:02 +0200] β€œGET /compta/paiement.php?facid=2&action=create&accountid=1 HTTP/2” 200 21722 β€œ-”
[17/Apr/2025:12:34:02 +0200] β€œGET /index.php?mainmenu=home&leftmenu=home HTTP/2” 200 30693 β€œ-”

not much text to use here. Can you take a look in the dolibarr.log? file in the documents firectory?