I am not very versed in PHP, but I think I figured it out. I removed the “/edit/” from line 26 and it redirected appropriately after.
located at file ./templates/buddypress/profile.php:22 NOW READS:
<a href="<?php echo $bp->events->link . 'my-events/'; ?>"><?php _e('Add Event','dbem'); ?></a>
I am encountering this exact same situation and was wondering how it was resolved?