I'm using mPDF on my system, but I used the composer to install it on the local system, now I do not know how to install it on the page that is hosted on the internet, I just tried to play the files to host but it displays the following error :
Fatal error: Uncaught exception 'Mpdf \ MpdfException' with message 'Data has already been sent to output, unable to output PDF file' in / home / eproterr / public_html / mypro / pdf / vendor / mpdf / mpdf / src / Mpdf.php: 9292 Stack trace: # 0 /home/eproterr/public_html/mypro/pdf/orcamento2.php(170): Mpdf \ Mpdf-> Output () # 1 {main} thrown in / home / eproterr / public_html /mypro/pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 9292