Memo to all soccer players: if you plan on celebrating a goal by running into the stands, at least make sure you know it's officially a goal first.

Or, just tell Bulgarian league player Wanderson Cristaldo Farias that.

Farias plays for Ludogorets Razgrad in the country's top league and had one of the more embarrassing and hilarious moments from a sports game you'll see in a long time.

With the game even at 0-0, the 31-year-old winger was under the impression that he had broken the deadlock. So, he decided to go over to kiss his girlfriend in the stands to celebrate the goal.

There was only one problem: the goal was offside.

Upon further review, there was no offside on the play, but the refs didn't overturn the call.

Had the goal counted, his club would've leapfrogged Slavia, the team they played in the game, for first overall in the league standings.