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

Call to undefined method PhpOffice\\Common\\XMLWriter::writeText()" #1197

Closed
metallurgical opened this issue Nov 16, 2017 · 4 comments
Closed

Comments

@metallurgical
Copy link

Got this error when parse data from database to ms word. I'm using dev-develop when installing.
Here is the command used to install the package composer require "phpoffice/phpword:dev-develop".

When i check the stacktrace log, it coming from this line of code <my-project-folder>/vendor/phpoffice/phpword/src/PhpWord/Writer/Word2007/Element/Text.php:46

@kaur58
Copy link

kaur58 commented Nov 16, 2017

i switched back to commit c9350d3 and the problem was gone ("phpoffice/phpword": "dev-develop#c9350d3")

@metallurgical
Copy link
Author

@kaur58 never thought about that. Seems like everything working fine now. Thanks for pointing it out.

@troosan
Copy link
Contributor

troosan commented Nov 17, 2017

was my mistake, it was fixed already

@metallurgical
Copy link
Author

@troosan thanks for information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants