I’ve checked on my test site – The error you mention exists, but is not visible to visitors without debug options on.
But, make sure the group exists or remove the call to the group. There really is no point in publishing a group that doesn’t exist.
If you try to load/publish links to a post or page that doesn’t exist you get an error, too. That’s just how websites work.