Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextBreak Error #123

Open
pslxx opened this issue May 14, 2024 · 2 comments · May be fixed by #139
Open

TextBreak Error #123

pslxx opened this issue May 14, 2024 · 2 comments · May be fixed by #139

Comments

@pslxx
Copy link

pslxx commented May 14, 2024

LLPhant\Embeddings\DataReader\FileDataReader::extractTextFromDocxNode(): Argument #1 ($section) must be of type PhpOffice\PhpWord\Element\Section|PhpOffice\PhpWord\Element\TextRun|PhpOffice\PhpWord\Element\Text, PhpOffice\PhpWord\Element\TextBreak given,

@MaximeThoonsen
Copy link
Collaborator

Hey @pslxx,
Thanks for spotting a bug. Can you give us a way of reproducing it: your php code + a word file that doesn't work?

@pslxx
Copy link
Author

pslxx commented May 23, 2024

image some docment (.docx) has TextBreak tags ,so ....

f-lombardo added a commit to f-lombardo/LLPhant that referenced this issue Jun 9, 2024
@f-lombardo f-lombardo linked a pull request Jun 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants