The code accesses an element of an array, but the number of indices does not match the number of dimensions of the array.
To correct this error
-
Make sure the number of indices used to access an array element matches the number of dimensions specified when defining the array.