Error while opening published Portal

Certified Senior Developer

Hello,

I'm seeing this error while opening the portal once it is published.

  Discussion posts and replies are publicly visible