ArgumentCountError thrown

Too few arguments to function theme_exclude_archive_where(), 1 passed in /home2/nettmann/public_html/wp-includes/class-wp-hook.php on line 308 and exactly 2 expected