Exception - in_array(): Argument #2 ($haystack) must be of type array, null given
More information about this error