ArgumentCountError thrown

Too few arguments to function add_category_to_single(), 1 passed in /var/www/vhosts/addcom.com/httpdocs/dealer-portal/wp-includes/class-wp-hook.php on line 288 and exactly 2 expected