The member_recent_content template has a "View more" link which links to search/member. This button shows even if the visitor can't search and the search/member action returns a permission denied error.
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.13).
Change log:
Don't show the view more link on a member's recent content page for users who have no permissions to search