January 18, 2021 | 11:45pm | Updated January 19, 2021 | 12:54am

Mets general manager Jared Porter’s standing with the team could be on shaky ground following a report late Monday night indicating he sent unsolicited texts and images to a female reporter in 2016, culminating with a shot of a naked, erect penis.

ESPN reported that Porter, then working for the Cubs, sent the woman — a foreign correspondent who had moved to the U.S. to cover Major League Baseball — 17 pictures. The first 15 photos were of a hotel and restaurants. The 16th was of a bulge in his pants and the 17th was of a bare penis.

Porter acknowledged to ESPN he had texted with the woman, but initially said he had not sent any pictures of himself. Presented with more evidence he denied the explicit pictures were of himself, calling them “joke stock images.”

Porter, 41, was hired last month from the Diamondbacks as the Mets’ new GM under team president Sandy Alderson.

“I have spoken directly with Jared Porter regarding events that took place in 2016 of which we were made aware tonight for the first time,” Alderson said in a statement Monday night. “Jared has acknowledged to me his serious error in judgement, has taken responsibility for his conduct, has expressed remorse and has previously apologized for his actions.

Mets general manager Jared Porter
Mets GM Jared Porter sent unsolicited penis photos to a female reporter, according to a bombshell report Monday.

“The Mets take these matters seriously, expect professional and ethical behavior from all of our employees and certainly do not condone the conduct described … We will follow up as we review the facts regarding this serious issue.”

According to the ESPN report, Porter met the woman in an elevator at Yankee Stadium in June 2016 and they talked briefly — the only time they ever spoke.