You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to convert a docx file into pdf which is working fine using other offices but if i use office 365 than it always returning with this bug "trying to get property 'length' of non-object"
I tried to debug it and looks like when Document.php read function calls $xmlReader->getElements('w:body/*') it is returning empty array on which next lines check for the length of the array any return the error.
i have tried with ms office2007 files and ms office2016 which is not returning empty array for the xmlchild but its only happening in office 365
Context
PHP Version: 7.4
PHPWord Version: 0.17.0
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Describe the Bug
I am trying to convert a docx file into pdf which is working fine using other offices but if i use office 365 than it always returning with this bug "trying to get property 'length' of non-object"
Steps to Reproduce
I tried to debug it and looks like when Document.php read function calls $xmlReader->getElements('w:body/*') it is returning empty array on which next lines check for the length of the array any return the error.
i have tried with ms office2007 files and ms office2016 which is not returning empty array for the xmlchild but its only happening in office 365
Context
The text was updated successfully, but these errors were encountered: