TypeError thrown

Argument 1 passed to WP_Defender\Controller\Mask_Login::filter_wp_redirect() must be of the type string, null given, called in /var/web/site/public_html/wp-includes/class-wp-hook.php on line 310