This error can be caused by an old demoted domain controller that sill appears in Active Directory Sites and Services.
Open Active Directory Sites and Services.
Expand the site name that is referenced in the error.
Locate the server name that is referenced in the error.
Remove the old decommissioned server from Sites and Services.