jasonrogena / jasonrogena/php-excel-reader

error with certain excel file

Open
#131 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
PHP
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. use the attached excel
2. print value of certain cell

What is the expected output? What do you see instead?
Warning: array_key_exists(): The second argument should be either an array or
an object in /{file path}/excel/excel_reader2.php on line 348

Please provide any additional information below.
pls advice how to fix it!

thanks a lot!
```

Original issue reported on code.google.com by `pe...@perfectlink.com.hk` on 10 Nov 2011 at 8:30

Attachments:
- [registration.xls](https://storage.googleapis.com/google-code-attachments/php-excel-reader/issue-131/comment-0/registration.xls)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at excel/excel_reader2.php line 348 and reproduce the warning by opening the attached registration.xls and printing the affected cell. Inspect the value passed to array_key_exists at that point. Done means the file loads without this warning and the requested cell value is printed correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.