ArgumentCountError thrown

Too few arguments to function WordPress_Module::redirect_canonical(), 1 passed in /home/andrewbl/public_html/jazzsmart.com/wp-includes/class-wp-hook.php on line 290 and exactly 2 expected