DEV Community

Cover image for Log : PHPExcel_Reader_Excel2007 Trying to access array offset on value of type null Line 1117
Teddy Zugana
Teddy Zugana

Posted on

Log : PHPExcel_Reader_Excel2007 Trying to access array offset on value of type null Line 1117

Find the line of the error at the library file, in my case was some array that should not be null $attributes[$t] I've change it.

if ($attributes['t'] == 'array') { //from this
if (isset($attributes['t']) && $attributes['t'] == 'array') { //to this

Enter fullscreen mode Exit fullscreen mode

the error dissapeared.

Top comments (0)

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay