I got this error because the menu item was set to guest and after a user logged in the error would show.
The reason the menu item was set to guest is because I was using it for a login button. The other menu item was “logout”. When the user logged in it showed and the “login” was unpublished .
I set the user to “Publisher” and “Public” and I redirected the login on the menu item to a “How to update your site” page.
I hope this helps someone else out there…