It seems you have edited it wrong. You did not deleted red area in left hand side of that github commit.
Please replace all code of class-fep-messages.php with https://github.com/shamim2883/front-end-pm/blob/master/includes/class-fep-messages.php
Let me know.