Hello,
In the CreateDocx.inc file these are the lines you refer:
if (file_exists(dirname(__FILE__) . '/RepairPDF.inc')) {
if ($this->_compatibilityMode) {
$contentRepair = RepairPDF::repairPDFConversion($contentRepair, '', array());
}
}
As you can see it only run the repairPDFConversion method if the file RepairPDF.inc exists. This RepairPDF.inc file doesn't exist in phpdocx 6 PRO, maybe you have created it empty or you have copied the new version overwritting an old version of phpdocx?
Please remove any RepairPDF.inc file in the classes to remove the error.
We also recommend you to check the quick guide available on:
to upgrade from phpdocx 3 to the latest version of phpdocx.
Regards.