MPDF not working on server and it’s working fine in localhost

By Iqbal Butt

I am getting this error when i uploaded my project on server everything is working fine but when i call the mpdf library i get this error

  Fatal error: Switch statements may only contain one default clause in /home2/pakhakee/public_html/ddtransports/application/third_party/mpdf/mpdf.php on line 1422

Source: Stack Overflow

    

Share it with your friends!

    Fatal error: Uncaught Exception: 12: REST API is deprecated for versions v2.1 and higher (12) thrown in /home/content/19/9652219/html/wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 1273