Fatal error: Uncaught TypeError: Argument 2 passed to offermain() must be an instance of Entity\Offer\Offer, null given, called in /home/pomyslograf/ftp/miastorama-esti/pdf.php on line 149 and defined in /home/pomyslograf/ftp/miastorama-esti/pdf.php:161 Stack trace: #0 /home/pomyslograf/ftp/miastorama-esti/pdf.php(149): offermain(Object(Mpdf\Mpdf), NULL) #1 {main} thrown in /home/pomyslograf/ftp/miastorama-esti/pdf.php on line 161