Expanded misleading "array access not allowed" error.

Error was misleading, now says it is not allowed with specific type used.