Defender - 2 step verification broke code

I received this error after enabling 2 step.

Warning: Missing argument 2 for Domainmap_Module_Mapping::set_proper_login_redirect() in /nfs/c09/h06/mnt/137688/domains/ortcllc.com/html/wp-content/plugins/domain-mapping/classes/Domainmap/Module/Mapping.php on line 1207 Warning: Cannot modify header information - headers already sent by (output started at /nfs/c09/h06/mnt/137688/domains/ortcllc.com/html/wp-content/plugins/domain-mapping/classes/Domainmap/Module/Mapping.php:1207) in /nfs/c09/h06/mnt/137688/domains/ortcllc.com/html/wp-includes/pluggable.php on line 914 Warning: Cannot modify header information - headers already sent by (output started at /nfs/c09/h06/mnt/137688/domains/ortcllc.com/html/wp-content/plugins/domain-mapping/classes/Domainmap/Module/Mapping.php:1207) in /nfs/c09/h06/mnt/137688/domains/ortcllc.com/html/wp-includes/pluggable.php on line 915 Warning: Cannot modify header information - headers already sent by (output started at /nfs/c09/h06/mnt/137688/domains/ortcllc.com/html/wp-content/plugins/domain-mapping/classes/Domainmap/Module/Mapping.php:1207) in /nfs/c09/h06/mnt/137688/domains/ortcllc.com/html/wp-includes/pluggable.php on line 916 Warning: Cannot modify header information - headers already sent by (output started at /nfs/c09/h06/mnt/137688/domains/ortcllc.com/html/wp-content/plugins/domain-mapping/classes/Domainmap/Module/Mapping.php:1207) in /nfs/c09/h06/mnt/137688/domains/ortcllc.com/html/wp-includes/pluggable.php on line 1210

The problem is fixed currently by disabling defender from WPMU dashboard remotely