Hello everyone,
Issue:
On the "Ticket Activity" page in the osTicket admin panel, the chart is displayed incorrectly — it shifts to the top-left corner of the screen. With 1–2 tickets, the chart appears normally, but after creating more tickets or logging back in, the chart breaks
.
Screenshot Description:
— Dates on the X-axis repeat (e.g., "05-15-2025").
— The Y-axis contains "NaN" values, indicating data or formatting errors.
System Information:
osTicket
v1.18.2 (53339df) — latest version
Web Server
Apache/2.4.62 (Debian)
MySQL
10.5.28
PHP
8.1.31
PHP Extensions
gdlib, iconv, imap, ctype, xml, json, mbstring, phar, intl, fileinfo, zip, APCu, Zend Opcache
PHP Settings
date.timezone = Europe/Moscow, cgi.fix_pathinfo=1
Database
localhost, used 3.34 MiB
Language Packs
Russian (ru_RU.phar, version 173619 for v1.18), English (en_US)
Steps Taken:
The issue reproduces across multiple browsers (Chrome, Firefox, Edge) and devices (PC, laptop, mobile)
.
Clearing browser cache and cookies did not resolve the problem.
Timezone and encoding settings were verified — all match osTicket requirements.
osTicket is up-to-date; no updates available
.
Possible Causes:
— A bug in the chart data processing due to timezone conflicts or a rendering library issue.
— Data generation errors when handling a large number of tickets.
Questions for the Community:
— Has anyone encountered this? How did you fix it?
— Could the issue relate to browser settings or PHP extensions (e.g., gdlib or intl)?
