The mPDF docs state that the first argument of Output() is the file path, second is the saving mode – you need to set it to 'F'.
$mpdf->Output('filename.pdf','F');
The mPDF docs state that the first argument of Output() is the file path, second is the saving mode – you need to set it to 'F'.
$mpdf->Output('filename.pdf','F');