You have connected a scalar (non-array) data type to an array of the same data type.

To correct this error, right-click the wire and select Enable Indexing at Source or Insert Build Array from the shortcut menu.

You also can correct this error by using the techniques for fixing any wire connecting two different types.