Fatal error: Uncaught Mpdf\MpdfException: WriteHTML() requires $html be an integer, float, string, boolean or an object with the __toString() magic method. in /var/www/plamev/veterinario/vendor/mpdf/mpdf/src/Mpdf.php:13259 Stack trace: #0 /var/www/plamev/veterinario/core/Pdf.php(39): Mpdf\Mpdf->WriteHTML() #1 /var/www/plamev/veterinario/app/Controllers/CentralAjuda.php(99): core\Pdf->vizualizar() #2 /var/www/plamev/veterinario/config/Routers.php(31) : eval()'d code(1): app\Controllers\CentralAjuda->imprimirManual() #3 /var/www/plamev/veterinario/config/Routers.php(31): eval() #4 /var/www/plamev/veterinario/vendor/composer/autoload_real.php(41): require('...') #5 /var/www/plamev/veterinario/vendor/composer/autoload_real.php(45): {closure}() #6 /var/www/plamev/veterinario/vendor/autoload.php(22): ComposerAutoloaderInit55dff1395d50074abe3575495b4bdbaa::getLoader() #7 /var/www/plamev/veterinario/index.php(12): require_once('...') #8 {main} thrown in /var/www/plamev/veterinario/vendor/mpdf/mpdf/src/Mpdf.php on line 13259