title: Fatal error: Switch statements may only contain one default clause in mpdf.php
body: <p>I am using mPDF and it is working fine with localhost. I upload the project to live server and it is not generating pdf correctly.</p>
  
  <pre><code>&lt;?php
  
  // HTML ommited
  
  $body = ob_get_clean();
  
  include ("mpdf/mpdf.php");
  
  $mpdf = new mPDF('+aCJK', 'A4', '', '', 0, 0, 0, 0, 0, 0);
  
  $mpdf-&gt;WriteHTML($body);
  
  $mpdf-&gt;Output('SaveToPDF.pdf', 'D');
  </code></pre>
  
  <p>On the top, I put the error show code. To see the error what is going wrong I have the following error.</p>
  
  <blockquote>
    <p>Fatal error: Switch statements may only contain one default clause in
    /customers/d/e/a/....URL..GO..HERE/mpdf.php on line 1432</p>
  </blockquote>
  
  <p>I am using  PHP Version 5.6.31 on my Localhost and on live I am using one.com and there I can switch to different PHP versions, and I tried all. i.e. 5.6, 7.0, 7.1, 7.2 beta</p>
  
  <blockquote>
    <p>I am using mPDF 5.7 and it is not composer version. I wanted to use
    chines character for my pdf and it good support available in 5.7.
    That's why I chose older version</p>
  </blockquote>