How to deal the situation with I94,visa & passport expired but have valid i797!

I recently travelled to India in Dec-2019 with active new i797 ,CBP stamped i94 with admit date as per my old i94(valid until feb 2020) but not provided i94 date neither based on passport expiry date(June-2020) nor based on new i-94 (valid until september 2022) at the port of entry.And my visa expiry date was Feb-2020 as i did not attend visa interview with new i797 (valid until september 2022).

Actually,I traveled to get married and returned with my spouse(H4 Visa) and she got the correct i94 dates(valid until Sep 2022).

I have sent my passport for renewal on July -2nd and I have just understood that the most recent i-94 determines the valid stay and i’m in a panic situation now…

1)Can you please help me with the best solution to fix my i94 dates so that i will not lose my legal stay.

2)Although my wife was provided with i94 dates by CBP as per my new i94(valid until Sep-2022).Does my i94 expiry issue impact her visa(H4-EAD) as well?If yes,can you please help me with the way to fix it.

Your stay since expiration of I-94 is technically violation of status. You may need to leave the country, get stamping and re-enter to be back in status again.
As already answered in blog comments, please talk to an attorney and see what can be done.