I'm using this script (https://www.phpdocx.com/documentation/cookbook/convert-pdf-to-docx) to convert a PDF to a DOCX file format. However, it is throwing a "Class 'VARIANT' not found" error. Can you help me with this error?
Also, can the CreateDocxFromTemplate class accept a PDF file as a source template?
Thank you very much.