The most common theory is that Crocodile was a woman, I don't think this is the case for a few reasons.
1. People say Crocodile looked like a girl as a child, I don't see it.
When Oda drew the shichibukai, Crocodile was drawn as a boy. If you take the time to really look at Oda's drawing style he's clearly a boy. Oda draws female faces differently. The eyes area dead give away. Compare Crocodiles eyes to Koala's, a girl who looked like a boy on her introduction.
Children generally speaking have androgynous appearance as the defining physical traits haven't developed yet, but with Oda's art style the eyes are a dead give away, a girls eyes are drown bigger and with eyelashes.
3.Romancing saga 2 comparison
A few people have drawn the comparison with between the shichibukai and the Seven heroes from Romancing SaGa 2, making the comparison between Crocodile and Wagnas. But even then Wagnas was a man who only looks feminine and Oda did not base any of the shichibukai’s appearances on these characters and even the connection isn't confirmed. At best Oda took some aspects of these characters to use on the Shichibukai, he did not base their appearances on them, even is he did the supposed character Crocodile is based on is in fact a man.
While I do in fact believe the Oda took aspect from the game, I don't think he would out right take the whole character.
4.We didn't see his face at Roger’s Execution.
Doesn’t mean anything on it’s own, He never saw his face in Impel Down until he meet Luffy, and looked exactly they same, despite having his face hidden for several chapters. Same thing in chapter 700 and episode 629, at least in the Anime, its is clearly Crocodile, still did’t show his face and if it is indeed him in the Manga, I really don’t he looks much different. Oda didn't need to show his face to show who it was, even then if he was hiding something, I thinks it’s something to do with his facial scar, which he know he didn't have as a child.
5. It appears to be an actual weakness.
What Even Ivankov threatened Crocodile with, I feel like it had to be something that could actually affect him, and being a woman in the past doesn’t seem like it would be able to really stop Crocodile from doing something. I never got the impression that Crocodile put a lot of important on gender, his organization was pretty egalitarian, women holding the same rank as men, and he had a cross-dresser in him employ. Gender roles don’t seem that important to him. Some of the strongest people in the world are women, so I really don’t understand how this could be viewed as a weakness. What’s more is Crocodile could probably kill Ivankov as soon as he got out of his cell, and if it was just some secret, he could silence him forever, instead he cooperated. Telling everyone he was a woman would do literally nothing to stop him from going rouge once he was out, at most it would just piss him off.
The ramification of Crocodile once being a woman are also low at best. At worst he' be embarrassed, also the fact that it would also at be at most be considered a rumor as no one could properly confirm it, all Crocodile would have to do is say Ivankov was lying.
If it is a secret and not another actual weakness it would have to be on par with Hancock being a former slave, something that resulted in her being viewed as less than human. Being a woman is
6.It’s to obvious
In all the years I've read One Piece I have very rarely seen the fan base correctly guess at any mystery Oda has set forth. He is very good at miss leading the fan-base. Every time something like this has been presented I have rarely seen any fan forum correctly guess it, and as common as this idea is, I really doubt Oda is gonna have this be the truth. I’m certain it’s immediately what most people thought when Ivankov was the one who knew his secret, so I think that was intentional on his part to throw people off the trail of the real secret. Given that almost everyone thinks he was a woman, that alone makes me have doubts that this is the case, it's way to obvious for it to be the case in my opinion.
What ever the secret/weakness is I think it's gonna be a lot more clever that him being a woman.