TypeError thrown

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