I can't Edit any event via frontend, it goes to a 404 page.

Inside an event, if I click on the link "Edit Event" it goes to a 404 page. Link is http://www.mysite.com/edit-event?event_id=xxxx
Same thing for the admin bar.

The only way to edit an event is via the dashboard, so a wordpress user cannot edit his own posted event.

Any idea please ?