Defender creating conflicts

Defender is causing a fatal error on my site.