404 Error when trying to update core

I installed and ran defender. I get a 404 error when the site tries to go to the update page. I tried an .htaccess solution that I found online but it didn't resolve the situation.