The hosts hit the front after five minutes through Oli McBurnie but Chuba Akpom levelled before the interval as he shifted the ball onto his right foot before smashing across goal. Archer gave Boro the lead three minutes into the second half with a thunderous finish and wrapped up the points with a well-taken goal with around 16 minutes remaining.
It was a first defeat in 13 games in all competitions for Paul Heckingbottom’s side and left them trailing leaders Burnley by eight points, who needed a 95th-minute equaliser to draw 1-1 with Watford on Tuesday evening.
Boro moved four points clear of Luton Town, who had to settle for a 1-1 draw at 10-man Preston North End. At the other end of the table, Ashley Fletcher scored a second-half equaliser as relegation-threatened Wigan claimed a vital point in a 1-1 draw against Bristol City.
Huddersfield lost 3-0 at Stoke City to leave Neil Warnock with a big job on his hands as he takes over on Thursday.
Blackpool were beaten 2-1 at Swansea City to keep Huddersfield off the bottom of the table while Ben Brereton Diaz scored an 89th-minute equaliser as Blackburn drew 1-1 at West Brom to keep themselves one point ahead of the Baggies.
On Tuesday night, Hull City were beaten 3-1 by Norwich City as Rotherham United were beaten 2-1 at Reading after Lee Peltier’s opener was cancelled out by Andy Carroll before Tyrese Fornah claimed a 90th-minute winner.
Cardiff City bolstered their survival bid with a 2-0 win at Birmingham City as Coventry edged Millwall 1-0. Sunderland were 3-0 victors at QPR to move fifth. Following the latest round of Championship games, we have put together the best XI using ratings from WhoScored. Take a look...

. Anthony Patterson - 8.5
Saved a penalty from Ilias Chair when Sunderland were 1-0 up at QPR, which proved key as they went on to seal a 3-0 win. Made four claims to ease the pressure on his side. Photo: Andrew Redington

5. Dimitris Giannoulis - 8
Made five tackles and three clearances as Norwich beat Hull 3-1. Going forward, he completed two key passes and completed three successful dribbles. Photo: Harriet Lander

6. Jacob Brown - 8.7
Scored for Stoke in their win over Huddersfield, also made five tackles and one interception. Photo: Gareth Copley

7. Gabriel Sara - 8.4
The midfielder scored and assisted as Norwich claimed three points against Hull. Photo: Harriet Lander

8. Jordan Clark - 8.5
The Luton midfielder caused plenty of problems for Preston in their 1-1 draw. He had four shots, made seven key passes and completed five successful dribbles. Photo: Clive Brunskill