I made a link on the frontpage so when user log in it remmber him to edit his profile
using the following link
https://xxxxxxxxx/user/editadvanced.php
but when the user click it gives him erro
but when they go to the person icon , then profile then edit
will be in the following form
https://xxxxxxxx/user/editadvanced.php?id=2&course=1&returnto=profile
woks fine,
so how allow them click directly on either link