Weird error message whenever I run the "snap" command

I am getting the same on apt. I guess it’s calling snap. Any idea’s how to get rid of the message?