Catchable fatal error: Object of class variant could not be converted to string in C:\inetpub\wwwroot\printToPdf.php on line 14