sicuramente perchè riceve l'errore
FPDF error: Some data has already been output to browser, can't send PDF file