NonExistentArrayOffset
An array is accessed with a key that is known not to exist.
Example
Section titled “Example”<?php$point = ['x' => 1, 'y' => 2];echo $point['z']; // key 'z' does not exist in this literal arrayHow to fix
Section titled “How to fix”Use an existing key or add the key to the array shape definition.