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

Bug: Fatal error: Uncaught Error: Function name must be a string #29740

Closed
fpav opened this issue May 22, 2024 · 4 comments
Closed

Bug: Fatal error: Uncaught Error: Function name must be a string #29740

fpav opened this issue May 22, 2024 · 4 comments
Assignees
Labels
Bug This is a bug (something does not work as expected)

Comments

@fpav
Copy link

fpav commented May 22, 2024

Instructions

This is a template to help you report good issues. You may use Github Markdown syntax to format your issue report.
Please:

  • replace the bracket enclosed texts with meaningful information
  • remove any unused sub-section

Bug

When opening the report section for Turnover invoiced by customer in accounting menu, I have the following message :

Fatal error: Uncaught Error: Function name must be a string in /home/clients/75b383e1e32cfcb0a1b615c70a4bac17/erp/compta/stats/casoc.php:638 Stack trace: #0 {main} thrown in /home/clients/75b383e1e32cfcb0a1b615c70a4bac17/erp/compta/stats/casoc.php on line 638

or

If I asked for turnover invoiced : the April month is providing me an error

Warning: Division by zero in /home/clients/75b383e1e32cfcb0a1b615c70a4bac17/erp/compta/stats/index.php on line 465
+INF%

Environment

  • Version: 19.0.2
  • OS: Linux
  • Web server: Apache
  • PHP: fpm-fcgi 7.4.33
  • Database: MySQL or MariaDB 5.5.5-10.4.25-MariaDB-1:10.4.25+maria~stretch-log
  • URL(s): /compta/stats/casoc.php?leftmenu=accountancy_report&modecompta=BOOKKEEPING

Expected and actual behavior

Should get the customer turnover breakdown but I don't have any report.

Steps to reproduce the behavior

When opening the report section for Turnover by customer in accounting menu, choose turnover by customer

Attached files (Screenshots, screencasts, dolibarr.log, debugging informations…)

[Files]
2024-05-22_18-28-11

2024-05-22_18-27-19

Report

@ksar-ksar ksar-ksar added the Bug This is a bug (something does not work as expected) label May 26, 2024
Hystepik pushed a commit to Hystepik/dolibarr that referenced this issue May 27, 2024
@pierrehenrymuller
Copy link

I have this bug too and I confirm that the patch is working.

eldy pushed a commit that referenced this issue May 28, 2024
Co-authored-by: Hystepik <lmarcouiller@nltechno.com>
@Hystepik
Copy link
Contributor

It seems to be fixed so I close the issue.
Feel free to reopen if not.

@fpav
Copy link
Author

fpav commented May 30, 2024

Not fully fixed the following error is still remaining :

If I asked for turnover invoiced : the April month is providing me an error

Warning: Division by zero in /home/clients/75b383e1e32cfcb0a1b615c70a4bac17/erp/compta/stats/index.php on line 465
+INF%

@fpav
Copy link
Author

fpav commented May 30, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

4 participants