Reply To: How do you put the "My Profile" link on the menu?
UPDATE and BUMP
After further testing I have discovered that the error in this code is not due to whether the user is admin or non admin.
I (admin) have a two word username (blank space in the middle of the two words).
I created a non admin user account also with a two word user name and get the same error. When that use clicks on the my profile link they are taken to Oops page.
So in its current form Robins code does not work if the user has a username with more than one word in it.
Any chance someone can fix this.
Thanks in advance and kind regards
Max