Besides a syntax error in the file, the method `$mpdf->ConvertSize()` isn't available in latest `development` version of Mpdf.