Trying to export a report. Works fine with CSV or XLSX, but I get the “Oops!” page when specifying PDF. Happens regardless of report type.
laravel-error.log:
[2019-02-27 23:07:54] production.ERROR: ErrorException [0] : /var/www/ninja/vendor/dompdf/dompdf/include/text_frame_reflower.cls.php [Line 376] => Function create_function() is deprecated {"context":"PHP","user_id":1,"account_id":1,"user_name":"<USERNAME>","method":"POST","user_agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36","locale":"en","ip":"<IP_ADDR>","count":1,"is_console":"no","is_api":"no","db_server":"mysql","url":"reports"} []
Invoice Ninja 4.5.10
Ubuntu 18.04
PHP 7.2.15
PhantomJS 2.1.1
While on the subject of reports, is there a way to switch from lines to bars on the graphs? I know how to do it with the dashboard, but not sure where the relevant code is for reports.