What else would you expect if you reshape() a vector to an array?
We have no idea what error you ran into, but reshape would not be the fix as you've already learned.
But, without some clue as to what it was you did and what the error was and what you're trying to do, we're pretty much at a loss here...