I have searched a lot on Google and did not find solution.
mPDF is generating blank PDF on PHP 7.0.32.
Also, no Fatal Error is logged in log files.
Its working with PHP-5.6.10
EDIT:
Code:
require_once '/src/MPDF/autoload.inc.php';
use \MPDF\Mpdf;
$mpdf = new \Mpdf();
$mpdf->keep_table_proportions = false;
$mpdf->SetTitle($webform->get('title'));
$mpdf->SetDefaultFontSize(9);
$mpdf->SetDefaultFont('"Lucida Grande","Lucida Sans Unicode","DejaVu Sans","Lucida Sans",sans-serif');
$mpdf->WriteHTML('<h1>str</h1>');
$mpdf->Output();
exit;