Mets manager Carlos Mendoza looks on before a game against the...

Mets manager Carlos Mendoza looks on before a game against the Chicago Cubs at Citi Field on Thursday. Credit: Jim McIsaac

The Mets’ marathon run, likely to nowhere, reached the halfway point Thursday night at Citi Field, still 81 games to go. They were closing out a four-game series after their latest cringe-worthy work the day/night before while getting swept out of their own home.

Their reign of error in the second game of Wednesday’s doubleheader against the Cubs will be hard to erase from the minds of anyone who saw it, a six-miscue nightmare on the infield.

Sean Manaea, who lasted only three innings-plus, summed it up perfectly afterward by saying, “Just right now we’re playing really, really bad baseball.”

But the Mets, who showed for this latest game at 34-46 and nine games out of the last wild- card spot, were clinging to the hope of a U-turn despite showing no signs of being capable of consistent play and after sending another regular to the injured list and trading one of their veteran pitchers.

“The messaging is obviously that was unacceptable,” manager Carlos Mendoza said about that six-error debacle. “ ... But one thing with these guys, they’re going to show up the next day and they’re going to continue to work. But we’ve got to do it quickly here.”

Mendoza can only work with what David Stearns gave him.

Pete Crow-Armstrong delivered an RBI double off Brooks Raley in the 10th as the Cubs beat the Mets, 4-3, on Thursday, extending their skid to six straight and eight of 10.

The Mets hoped Freddy Peralta, a candidate to go before the Aug. 3 trade deadline, could rebound in the series finale after posting an 8.14 ERA in his previous five starts. That included a career-high 10 runs allowed in his most recent outing against the Phillies.

He was better Thursday, throwing five shutout innings before leaving with two outs and three unearned runs having crossed in the sixth.

Ronny Mauricio made a low throw from short to first that couldn’t be scooped by Mark Vientos, the first of two errors in the inning. The defense was guilty again.

But pinch hitter Eric Wagaman cracked a two-run homer in the sixth and Jared Young led off the seventh with a homer to tie the score at 3. The Mets left 14 on base.

Beforehand, second baseman Marcus Semien, who made two errors and missed catching two shallow outfield pop-ups Wednesday night, went on the 10-day injured list with a left hip flexor strain. He’s week-to-week, according to Mendoza.

“This is something that he’s been battling for weeks now,” Mendoza said.

Mendoza said Semien got treatment and played through the injury after it first cropped up and returned to 100% “for quite a bit. But the last 10 days or so, it kind of came back again. He was able to manage it.”

But Semien aggravated it in his first at-bat Wednesday night. Mendoza thought it impacted him on the two pop-ups, and an MRI revealed the strain. So Brett Baty started at second, and Mauricio is available to help there, too.

Rookie lefty Zach Thornton will be recalled to start against the Phillies on Friday night, and Christian Scott will come off the injured list to start Saturday.

Given the way David Peterson had been going since last August, it seemed as if the Mets were going to have trouble even getting a $100 gift card back in a trade. He was 3-6 with a 6.09 ERA in eight starts and eight relief outings this season.

But Peterson was an All-Star last July. The Cubs traded for him and sent the Mets a corner infielder in Class A, Cole Mathis.

“It got to a point where we needed the flexibility on the roster,” Mendoza said. “Talking to David [Stearns], we already have Kodai [Senga] in the pen and to continue to have starters in the bullpen, it’s just not going to be sustainable. There was an opportunity to make a deal.”

The Cubs have been dealing with rotation injuries.

“We’re hopeful that we can get a starting pitcher [in Peterson] that can kind of solidify some things at a time of need for us,” manager Craig Counsell said, “and hopefully give him a fresh start and get him back to some success that he’s had.”

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME