Fixed  Viewing Profiles as a Guest Results in a Server Error

When I logout and view a user profile I get:

[SIZE=18pt]XenForo Community - Error[/SIZE]

A server error occurred.
I tried viewing Kier's profile and my profile. Is this intentional? I think it should show a message telling the user to signup or login if the board is setup to prevent guests from viewing profiles.