Notice:Undefined offset: 0Notice:Trying to access array offset on value of type nullNotice:Undefined offset: 0Notice:Trying to access array offset on value of type null