TypeError thrown

call_user_func_array(): Argument #1 ($callback) must be a valid callback, class Tribe__Events__Query does not have a method "pre_get_posts"