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
Open

TextBreak Error #123

pslxx opened this issue May 14, 2024 · 2 comments

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
Contributor

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 ....

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

No branches or pull requests

2 participants