We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is:
- [ X] a bug report ### What is the expected behavior? read the excel proper and handle authorlist issues... ### What is the current behavior? "exception": [ { "type": "TypeError", "code": 0, "message": "Illegal offset type", "file": "C:\\REPOS\\Eis20\\eis-pro-backend\\vendor\\phpoffice\\phpspreadsheet\\src\\PhpSpreadsheet\\Reader\\Xlsx.php", "line": 884 } ] ### Solution /quickfix **FILE : PhpOffice\PhpSpreadsheet\Reader\Xlsx.php LINES 880 - 887** // Loop through contents foreach ($commentsFile->commentList->comment as $comment) { $commentModel = $docSheet->getComment((string) $comment['ref']); if (!empty($comment['authorId'] **// !!! prove for the existent key in the authors array && in_array($comment['authorId'], $authors))) {** $commentModel->setAuthor($authors[$comment['authorId']]); } $commentModel->setText($this->parseRichText($comment->text)); }
The text was updated successfully, but these errors were encountered:
Duplicate of Issue #2184
Sorry, something went wrong.
Closing. Fixed by PR #2329 which was merged in October 2021.
No branches or pull requests
This is:
The text was updated successfully, but these errors were encountered: