When i try to create two pdf at a time it's throwing errors...
Fatal error: Uncaught exception 'DOMPDF_Exception' with message 'No block-level parent found. Not good.' in C:\wamp\www\si2i\application\libraries\dompdf\include\inline_positioner.cls.php on line 38 ( ! ) DOMPDF_Exception: No block-level parent found. Not good. in C:\wamp\www\si2i\application\libraries\dompdf\include\inline_positioner.cls.php on line 38
here is the code:
$this->load->library('pdf');
$this->pdf->set_base_path($data['path']);
$this->pdf->load_view('adm/invoice/si2i',$data);
$this->pdf->render();
$output = $this->pdf->output();
file_put_contents("uploads/invoice/invoice_".$invoice_file_name.".pdf", $output);
$this->load->library('pdf');
$this->pdf->set_base_path($data['path']);
$this->pdf->load_view('adm/invoice/si2i',$data);
$this->pdf->render();
$output = $this->pdf->output();
file_put_contents("uploads/invoice/invoice_".$invoice_file_name.".pdf", $output);
Please help me out..
Thanks in advance...