ArgumentCountError thrown

Too few arguments to function rt_megamenu_remove_title_wiget_if_empty(), 1 passed in /home1/drzaki/public_html/wp-includes/class-wp-hook.php on line 286 and exactly 3 expected