Comments (3)
Surely $docsheet should still be defined from the original worksheet loop, which means that the variable still exists containing the last worksheet created by that sheet reader loop; so I'm struggling to see how it can be undefined in line 1749
from phpexcel.
Mark, I have a smaller .xlsx file that fails with this error. Can I send it over email?
from phpexcel.
same problem here. PHP 5.4 and PHP5.3 tested.
Unhandled Exception
Message:
Undefined variable: docSheet
Location:
/Users/rvw/proj/websites/orweja/my.orweja/bundles/laravel-phpexcel/PHPExcel/Reader/Excel2007.php on line 1749
Probably the foreachloop 738-1714 is never entered. But whatever reason, it is not OK to use docSheet outside of the loop where it is defined without testing its validity in case the loop is never entered.
from phpexcel.
Related Issues (20)
- Is it possible to use php send excel files to client's printer?
- Php Excel fails at load
- Font Style existed but not visible
- exception 'directory'yii\base\ErrorException' with message 'ZipArchive::close(): Failure to create temporary file: No such file
- Syntax error
- An implementation cannot be declared in ambient contexts.
- Setting workbook password does not seem to work at all
- Can't export any excel
- "Excel cannot open the file 'filename.xlsx' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file. HOT 2
- How can I open the encrypted file?
- Install pathing not working HOT 1
- Do you have a simplified version of PHPExcel?
- Double include PHPExcel_Cell::stringFromColumnIndex function
- PHPExcel_Worksheet_Drawing
- PHP Excel 1.8.2 Loss of precision when writing numeric strings
- Fatal error: Missing function on 1.8.2
- 发现内容部分有错误 HOT 1
- Set document properties with UTF-8 Encoding (for accents)
- read csv with long number data get scientific notation
- export Excel with formulas
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpexcel.