TypeError thrown

Argument 3 passed to TEC\Events\Calendar_Embeds\Calendar_Embeds::disable_slug_changes() must be of the type array, object given