Actually the page, which edit button opens is asking a parameter of profile picture, which is not in the context here, Just try to put your edit button into the data view of profilepicture, and the error will go away.
By doing so, you are providing the button with an object of profile picture.
Let me know, if you have any issue,
Hope it helps!!
I tried to move the button but the error still there. Is it I need to to connect to data view to the right column also ?
Try to connect the edit button to team overview page.