Fix unexpected object fatal error

ArrayObject instead of array