Not an object (12)

You tried to use an expression that is not an object, as an object.