TCPDF error

Hello, I have updated SuiteCRM from 7.6.6 to 7.8.4 and I have stopped working with PDF generation. I get this error: “TCPDF ERROR: Some data has already been output, can’t send PDF file”.

I think it could be because of the TCPDF version that is no longer valid. Can be?.

Thanks in advance and greetings,

Gema

That sort of error indicates that your instance has outputted an error either to your browser or to your PHP error logs.
Have a look at those first (and google to help provide insight to that generic error).

The exact cause I do not know, but it is solved by doing:

ob_clean ();

before the first header ().

:slight_smile:

One question, can you close the issues or close them?

Thank you