Will do

Is this related to a php 8 floating point error? We had some similar error when invoicing a delivery when there were decimals in the items.
I am just curious, because I can not reproduce the errors.

Please investigate and return here if so.


This has now been fixed and committed to stable repo.

A file for replacement on yr server (/includes/dashboard.inc) can be downloaded here.


Good Idea. Will have a look into this.

Maybe we could change the header to 'Unpaid Invoices' and then show the overdue items in overdue color.


$bobloblian has now solved the problems. The side errors in response theme and the class.mail.inc file has been resulved and pushed into repo.
@bobloblian reported this as a bug 5625 on Mantis where the problems can be followed.


Hello all!

$bobloblian has a problem showing the credit note. As told I can not reproduce the error. Do any of you have this error, then please report it. Or if you have had the problem and found a resolution.


Hello @bobloblian,

I am sorry, but I cannot reproduce this. I am using php 8.1.6, FA 2.4.12. Wamp Apache 2.4.46.
Also tried PHP 8.0.0. No problems. $go_debug = 2.

Any messages from Apache log?


If the date.timezone is not set then we set the date.timezoen to Europe/Berlin.
Normally the date.timezone is set in the PHP.INI file or you can set it to a suitable value.

I have checked for this error in the apache log, but can not reproduce this.

The problem with recurrent invoices has now been resolved. Look in that topic.

But please investigate further. Thanks.


This has now been fixed. The problem was a php 8 error. Committed to stable repo.

The fixed file can be downloaded here and replaced on yr server.


I will look at this asap.


I will check this. Thanks.



I can not reproduce this error. Will you try again?


I will have a look at it.


Hello again,

I found the problem. It was not inside function check_num, but from function check_quantities in customer_invoice.php and customer_delivery.php.
Inside these functions the $max value was calculated and due to a floating bug in PHP got a very small overlay.
This has been fixed in these two functions, check_quantities.

/sales/customer_delivery.php can be downloaded here.
/sales/customer_invoice.php can be downloaded here.


Hello @dz.
Yes I will be glad to assist, had I have a clue about this. We are working otherwise with a DELTA value in current_user.inc (about line 540), can this be used?
Does any expert on this have a good solution?


Fixed and committed to stable repo. Thanks.


I would recommend an upgrade to Frontaccounting release 2.4.12 that has just been released on Sourceforge.net.
Most PHP 8 problems have been fixed.



(3 replies, posted in Announcements)


This is a 2.4.12 release, which is mainly bugfix release, but also contains a couple of improvements and additional security fixes.

A lot of php 8 problems has been fixed. This release should now be PHP 8 compatible. The following versions has been tested: 8.0.0, 8.0.7, 8.0.12 and 8.1.6.

Please report any bugs/problems found via our Mantis Bugtracker at http://mantis.frontaccounting.com.

Download instructions

In Sourceforge FrontAccounting (http://sourceforge.net/projects/frontaccounting), select
Files -> FrontAccounting 2.4 ->2.4.12.

For Windows users select the zip file. For all other users select the tar.gz file.


  • Fixed a couple of small bugs in Graphics engine.

  • Added SECURE_ONLY option in session.inc allowing explicit switching off https only access.

  • Dashboard Top 10 only show 1 record less than top. Fixed.

  • Sales Dashboard Aging total translation improvements.

  • PHP 8 Bug. Deprecated null value in class.graphic.inc parameter.

  • PHP 8.1 deprecated null parameters and missing file in reports fixed.

  • PHP 8.1 Deprecated null parameters. Clean UP local months names.

  • PHP 8.1 bug. Parameter to urlencode cannot be null in reporting.inc. Fixed.


  • Bug 5544: Notes from template were not used in recurring invoices.

  • Add and Manage Customers: contact persons were not removed when deleting customer.

  • Email invoice always says invoice 0 from company. Fixed.

  • Invoice Prepaid Orders: Added new payments column for direct review of order invoicing status.

  • Customer balances reports: fixed balance sums for prepayment invoices.

  • Fixed Long product Description on Sales Quotation.

  • Additional bugfixes for prepayment handling in sales reports (Customer Balances, Aged Customer Analysys, Customer Statements and Sales Invoice).

  • Removed delivery in a batch cannot be voided after the invoice is made. Fixed.


  • Add and Manage Suppliers: contact persons where not removed when deleting supplier. Fixed.

  • Typo in translatable string - Purchable Total. Fixed to Purchasable.

  • Translatable string typo in Purchasing/allocations/supplier_allocate.php fixed.

  • Feature 5623: added link to new supplier invoice after supplier payment.

Items and Inventory

  • Missing function 'delete_image' when deleting item. Fixed.

  • Bug 5599: Generating an EAN-8 Barcode throws an error "Trying to access array offset on value of type bool". Fixed.

Bank and General Ledger

  • Code cleanup (fixed parameter lists in gl_all_accounts_list_row and calls to subledger__list_cells).

  • Bank account transfers didn't have GL dimensions.

  • Journal Entry - Cursor skips through dimension field. Fixed.

  • Adding Assets Classes fails. Fixed.

  • Buttons missing on Chart of Accounts page (on some editions). Fixed.

  • Bug 5571 and 5572. Unable to void/edit transactions in php 8. Due to an error in audit_trail_db.inc. _('None') returns a positive value in php 8 and not a 0 value. Fixed.

Thie has been fixed and committed to stable repo. Thanks @advocaat.pollet for reporting this.

A fixed file, /admin/db/voiding_db.inc can be downloaded here.


This has been fixed and committed to stable repo. A fixed file can be downloaded here.


This has now been fixed and committed to stable repo.

2 fixed files, /sales/includes/db/sales_order_db.inc and /reporting/rep111.php can be downloaded for replacement here and here.



(11 replies, posted in Reporting)

Yes, this was fixed on Apr 18. Thanks @advocaat.


Well, we could implement @harshadmwasule's solution. Will ha a look at this when back in office.



(11 replies, posted in Reporting)

I am out of office. Will check this when I am back on Thursday. In the mean time you could help me and tell where to change it.


I am running php 8.0.12 without any problems here. However changing this have no influence on other installations, so this has been fixed and pushed to repo.


Fixed and committed to stable repo.

A fixed file can be downloaded here.