Theme twentyfourteen isn’t a buddypress supported theme AFAIK. So I took out the </div> after the else statement and the content-sidebar (right) came back.
It had been pushed all the way to the bottom of the page. The primary-sidebar had disappeared altogether and did not return, so I have a blank left column.
I’m not a wordpress developer, so I don’t understand wordpress core or buddypress yet.
I tried calling the primary-sidebar, but didnt work. Dont know how to do far call?
Or register the sidebar with buddypress in the first place.
Any ideas?