Nevermind. I fixed it. Went into my FTP and removed the code and now I’m able to login
I post my photos in galleries, with the idea that you would click on the thumbnail in the gallery and pull up the larger image. The way I’ve been doing that up until this point is just by linking to the media file itself, but I would rather have the larger image surrounded by my sidebar, header, etc (like in attachment pages) instead of blank white space. Wasn’t able to find a way to change the image size on attachment pages through my admin, so when I searched for the answer on the support page, I just tried to follow the recommendations in link above.