TypeError thrown

TEC\Events\Calendar_Embeds\Calendar_Embeds::disable_slug_changes(): Argument #3 ($unsafe_post_array) must be of type array, stdClass given, called in /var/www/wp-includes/class-wp-hook.php on line 324