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

PhpWord failed to load template #706

Closed
toanlk opened this issue Jan 18, 2016 · 0 comments
Closed

PhpWord failed to load template #706

toanlk opened this issue Jan 18, 2016 · 0 comments

Comments

@toanlk
Copy link

toanlk commented Jan 18, 2016

With PhpWord 0.12.0, here is my script:

$phpWord = \PhpOffice\PhpWord\IOFactory::load($path);
$objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'HTML');
ob_start();
$objWriter->save('php:https://output');
$html = ob_get_clean();

And in my log:
Undefined offset: 3 PhpWord\Reader\Word2007\AbstractPart.php 453

Anyone met this issue?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@toanlk toanlk closed this as completed Jul 24, 2020
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

1 participant