Array contains one more value #3835
Unanswered
danyderigon
asked this question in
Q&A
Replies: 2 comments 6 replies
-
When you don't use WithMultipleSheets, you get all sheets. So the first array is the array of sheets |
Beta Was this translation helpful? Give feedback.
1 reply
-
I'm facing this same issue with some of my imports. My first solutions was to I hope someone can explain whats going on! |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
PHP: 7.4
Laravel: 8.83
Laravel-Excel: 3.1
Hello.
I am currently testing the import, but when I "dd" my array; I have a rather strange extra value.
I don't want to have it
This is my Excel :

test.xlsx
This my TestImport.php
This my controller who called the import :
And this is the "dd" :

Why did I :
4 => null
It is constraining because in order to preview the file, I would like to make a foreach of the values. However, I have an extra value that I am not interested in.
Do you know why ? 😢
Beta Was this translation helpful? Give feedback.
All reactions