Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; createPDF has a deprecated constructor in /var/www/vhosts/ on line 5

Fatal error: Uncaught Exception: FPDF error: Some data has already been output, can't send PDF file in /var/www/vhosts/ Stack trace: #0 /var/www/vhosts/ FPDF->Error('Some data has a...') #1 /var/www/vhosts/ FPDF->_checkoutput() #2 /var/www/vhosts/ FPDF->Output('D', '[SOTCOT] - reco...') #3 {main} thrown in /var/www/vhosts/ on line 271