-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Error: Call to a member function children() on null #3770
Comments
Thank you for supplying the file. In the spreadsheet, a rels file points to a theme file, but the theme file does not exist. This is unexpected, but easy to detect. Expect a fix in a day or two. |
oleibman
added a commit
to oleibman/PhpSpreadsheet
that referenced
this issue
Oct 18, 2023
Fix PHPOffice#3770. A rels file points to a non-existent theme file in the spreadsheet. In other similar cases (e.g. PR PHPOffice#3771), Excel opens such a spreadsheet, but with an error pop-up. Not so with this file; it just opens the spreadsheet without the pop-up. PhpSpreadsheet will now account for this unusual situation as well.
11 tasks
oleibman
added a commit
that referenced
this issue
Oct 26, 2023
* Theme File Missing But Referenced in Spreadsheet Fix #3770. A rels file points to a non-existent theme file in the spreadsheet. In other similar cases (e.g. PR #3771), Excel opens such a spreadsheet, but with an error pop-up. Not so with this file; it just opens the spreadsheet without the pop-up. PhpSpreadsheet will now account for this unusual situation as well. * Update CHANGELOG.md
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a bug report
Error: Call to a member function children() on null in vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx.php:466
Stack trace:
#0 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/BaseReader.php(182): PhpOffice\PhpSpreadsheet\Reader\Xlsx->loadSpreadsheetFromFile()
#1 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/IOFactory.php(108): PhpOffice\PhpSpreadsheet\Reader\BaseReader->load()
#2 ... PhpOffice\PhpSpreadsheet\IOFactory::load()
PHP 7.4.28
93887c81db717fe35a996850ba96bbaa.xlsx
The text was updated successfully, but these errors were encountered: