Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
I am trying to add page numbers to the footer.
But keep getting this error:
Class 'WordFragment' not found
whilst using this code:
$numbering = new WordFragment($docx, 'defaultHeader');
Any ideas why?