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

GLPI ticket status is not showing in dashboard #15267

Closed
2 tasks done
zakirpcs opened this issue Jul 21, 2023 · 5 comments
Closed
2 tasks done

GLPI ticket status is not showing in dashboard #15267

zakirpcs opened this issue Jul 21, 2023 · 5 comments
Labels

Comments

@zakirpcs
Copy link

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Version

10.0.9

Bug description

After update glpi version from 9.3.1 to 10.0.9 i am getting below error in dashboard.

"Map rendering error! ticket_status"

For better understanding screenshot has been attached.
Screenshot 2023-07-21 220847

In this regarding, could anyone please help me to resolve the issue?

Relevant log output

No response

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

@cconard96
Copy link
Contributor

Please copy and paste any relevant log output. Find them in *-error.log files under glpi/files/_log/.

@zakirpcs
Copy link
Author

Did not get anything related to ticket_status in below location

[root@supportinfo _log]# pwd
/var/www/html/glpi/files/_log
[root@supportinfo _log]# grep -lnr "ticket_status"

In which log should i check from below files:
[root@supportinfo _log]# ls -lrt error
-rw-r--r-- 1 apache apache 6427 Jun 28 15:17 access-errors.log
-rw-r--r-- 1 apache apache 15948225 Jul 20 07:50 sql-errors.log
-rw-r--r-- 1 apache apache 13368875 Jul 20 08:52 mail-error.log
-rw-r--r-- 1 apache apache 785556678 Jul 21 12:48 php-errors.log

@cedric-anne
Copy link
Member

Hi,

Please check if some logs are added to php-errors.log when the dashboard is generated. Related log will likely not contains ticket_status, so a tail command is probably more appropriate than a grep command here.

@zakirpcs
Copy link
Author

I am getting below error in php-errors.log while loading dashboard.

[2023-07-24 10:05:51] glpiphplog.CRITICAL: *** Uncaught Exception TypeError: Glpi\Dashboard\Provider::formatMonthyearDates(): Argument #1 ($monthyear) must be of type string, null given, called in /var/www/html/glpi/src/Dashboard/Provider.php on line 1311 in /var/www/html/glpi/src/Dashboard/Provider.php at line 1635
Backtrace :
src/Dashboard/Provider.php:1311 Glpi\Dashboard\Provider::formatMonthyearDates()
: Glpi\Dashboard\Provider::getTicketsStatus()
src/Dashboard/Grid.php:934 call_user_func_array()
ajax/dashboard.php:192 Glpi\Dashboard\Grid->getCardHtml()

@zakirpcs
Copy link
Author

Issue has been identified. I found 2 record where "set date" field value was empty. That is why ticket status graph was not generated.

@glpi-project glpi-project deleted a comment from pschivo Aug 30, 2024
@glpi-project glpi-project locked as resolved and limited conversation to collaborators Aug 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants