Hello @Unforgettable ,
Welcome to the Shopify community!
Share your store url with password.
Maybe you changed to the snippets file and it was shown in 2 places, including the footer. So the footer will show an error.
Best way, you create a new snippets file and paste the entire code of the current file. Then go to the footer file, find the snippets file name you changed and change it to the new file name.
Hope it is clear to you.
If my answer can help you solve your issue. Please mark it as a solution, thank you and good luck.