Anderlecht. Kortrijk (loans) In the 2011–12 season, Chavarría was loaned out to Kortrijk for the rest of the season. Chavarría made his debut for the club in a 0–0 draw against Belgian side Westerlo in the opening game of the season. He scored two goals in two games against Club Brugge and Lokeren. However, during the match against Lokeren, he broken his nose and was substituted as a result. It wasn't until on 8 April 2012 when he scored twice in a 3–1 win over Club Brugge. He made a double assist as Kortrijk beat his parent club 2–0. Chavarria would go on make his 45 appearances and score five times in all competitions. On the last day of the transfer window, Chavarría joined Kortrijk on loan for the second time for the rest of the season. He scored his first goal in his second loan spell at Kortrijk in a 2–1 win over Standard Liège on 30 September 2012. After adding two more goals to his tally, he later scored twice in a 3–1 win over Cercle Brugge on 24 November 2012. Four days later, on 28 November 2012, Chavarría scored again, in a 1–0 win over Mons in the last 16 of the Beker Van Belgie. However, in a 3–2 loss against Lokeren on 21 December 2012, he received a straight red card in the 61st minute and Kortrijk lost 3–2. Initially suspended for two match and was given a €200 fine, his suspension was overturned, allowing him to return to the first team. Despite suffering a hamstring injury, Chavarría went on make the total of 33 appearances and scoring 8 times in all competitions for the side. RC Lens On 17 July 2013, Chavarría signed for Lens in Ligue 2 for an undisclosed fee on a three-year deal after leaving Anderlecht for good. Chavarría started his career at Lens with three goals in two games, scoring against Dijon and then scoring twice against Auxerre. On two occasions, he scored two goals in two matches, which the first one was between on 30 September 2013 and 7 October 2013 against Metz and Arles-Avignon; and the second one was between Dijon and Auxerre. In the Round of 32 in Coupe de France, he scored an equaliser against Bastia in a 2–1 win. During the season, he was included in a three-man attack with Yoann Touzghar and Danijel Ljuboja in