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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

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

Okay