If your Whirlpool is a gas range, the oven uses a glow-bar igniter that heats until it draws enough current to open the gas valve. When the igniter weakens it still glows, but it never pulls enough current to open the valve, and the oven never lights. That is the classic igniter failure. A gas smell with no flame is a different problem and a more serious one.
If you smell gas, do not turn lights or switches on and off, and do not try to light anything. Leave the house and call your gas utility from outside. After the utility clears it, we can diagnose the oven. When you call us, tell us whether the surface burners still work, because that separates a range-wide gas supply problem from a bake-igniter problem.
We shut off the gas supply before working on the burner assembly, replace the igniter with the correct part, and check that the valve opens and the flame is steady and blue before we leave. We do not bypass safety valves or tamper with regulators.