Object of class yii2tech\html2pdf\TempFile could not be converted to string

Hello everyone,

Im using the yii2 => yii2tech/html2pdf library,
Im getting this error when I try to print the pdf,
Im using WkhtmltoPdf as converter.

Any help would be appreciated.