Creating pdf really slow

hey guys 'if the problem that creating the pdf takes round aboutr 3 till 5 minutes.

you can see here, if you click “Download PDF”: https://billing.chnet.org/index.php/guest/view/invoice/gweJHMdF91d6J68

i allreadytired to read the logs and google some pßoints of that but without success - so would be great if you can give me some hints how i could fix that bugs: see logs here: https://paste.invoiceplane.com/view/8b49e6dd

(i’m running ip on ubuntu Ubuntu 16.04.1 LTS with apache 2.4 with php 7 (you can checkout here: [https://billing.chnet.org/info.php]( billing.chnet.org/ info.php ) )