Closed danuri closed 3 years ago
Sorry, there typo in my code
$myTaskConvertOffice>execute();
to
$myTaskConvertOffice->execute();
Because this typo in docs on this page https://developer.ilovepdf.com/docs/guides/office-to-pdf-api, copy past protection =)))
New developers website is coming!
I have following code from example
use Ilovepdf\Ilovepdf;
$ilovepdf = new Ilovepdf('xxx','xxx'); $myTaskConvertOffice = $ilovepdf->newTask('officepdf'); $file1 = $myTaskConvertOffice->addFile('uploads/'.$filename); $myTaskConvertOffice>execute(); $myTaskConvertOffice->download('uploads/');
And this error response:
Call to undefined function execute()
Any rules Iam miss?