Somewhere a reference to an array is being used instead of the array itself. Can't say much more without seeing the text of the problem.
It's probably somewhere in the PG problem itself unless you are seeing the same error in a large number of problems.