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

Undefined index $ error when excel has exists filter #1169

Closed
1 task done
lxShaDoWxl opened this issue Sep 23, 2019 · 6 comments
Closed
1 task done

Undefined index $ error when excel has exists filter #1169

lxShaDoWxl opened this issue Sep 23, 2019 · 6 comments

Comments

@lxShaDoWxl
Copy link

This is:

  • a bug report

What is the expected behavior?

Correct read excel file

What is the current behavior?

return error

What are the steps to reproduce?

If added filter in google spreadsheets and download file
https://docs.google.com/spreadsheets/d/1qQhpDrSh9VGqNqrl22nDE7UQBaOL2NrIucq7vUkto_c/edit?usp=sharing
to error
PHP Notice: Undefined index: $ in vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/Coordinate.php on line 282

example code


use PhpOffice\PhpSpreadsheet\IOFactory;

require __DIR__.'/vendor/autoload.php';

$path = __DIR__.'/test2.xlsx';
/** @var \PhpOffice\PhpSpreadsheet\Reader\Xlsx $reader */
$reader = IOFactory::createReaderForFile($path);
$phpSpreadsheet = $reader->load($path);
$sheet = $phpSpreadsheet->getSheet(1);

Which versions of PhpSpreadsheet and PHP are affected?

phpspreadsheet 1.9.0
php 7.1.30

@stale
Copy link

stale bot commented Nov 22, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this is still an issue for you, please try to help by debugging it further and sharing your results.
Thank you for your contributions.

@stale stale bot added the stale label Nov 22, 2019
@lxShaDoWxl
Copy link
Author

Bot: this is still an issue.

@stale stale bot removed the stale label Nov 22, 2019
@CharlyPoppins
Copy link

CharlyPoppins commented Dec 16, 2019

Duplicate of #976

@astronati
Copy link
Contributor

IMHO It should be fixed by #1326

@stale
Copy link

stale bot commented Mar 15, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this is still an issue for you, please try to help by debugging it further and sharing your results.
Thank you for your contributions.

@stale stale bot added the stale label Mar 15, 2020
@lxShaDoWxl
Copy link
Author

Bot: this is still an issue.

@stale stale bot removed the stale label Mar 20, 2020
@stale stale bot closed this as completed Mar 27, 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

3 participants