Can’t Print In osTicket On Synology

When using the Print button embedded in a ticket, I receive the following error:

Server error

500

The website encountered an error while retrieving https://<my server’s path>/tickets.php?id=274&a=print&notes=1. It may be down for maintenance or configured incorrectly.

The root cause was evident when reviewing /var/log/httpd/user-error_log:

FastCGI: server “/php-fpm-handler” stderr: PHP message: PHP Fatal error:  Unsupported operand types in /volume1/web/osticket/upload/include/mpdf/config_fonts.php on line 307, referer: https://<my server’s path>/tickets.php?id=274

The resolution is to enable PHAR

Go to Control Panel > Web Services > PHP Settings > Select PHP extension

Then select “phar” and click ok.

 

Advertisements