didn’t you tell them that you had added this code before this things happen?
All they had to to is remove this code from where you added and add again in appropriate location, nothing else.
Please access your website and remove that code from where you added. Then activate all your plugins and your theme.
Then let me know. I will add that code again in appropriate location for you.