No, you were only able to adjust status through that marriage, and it was not her responsibility to inform you about getting an SSN.
You will definitely need a family lawyer regarding your kids. That is not an immigration issue.
So you have been here out of status for 7 years and you're just now looking into this?