Oven ingiter will start gas then both shut off

Purchased 12-12-2000, The oven’s electronic ignitor will not work, but after trying for several attempts it would light and work fine for years. Now the igniter starts and the burner is kicking on but going off after about 2 seconds as the burner shuts itself off.

:confused: Hi I have a Whirlpool accubake SF325PEGW6 with oven problems. The oven quit working about a year ago and the oven valve got replaced. It worked fine for about 10 months. It quit working AGAIN. Assuming it was the same problem we replaced the oven valve (WPL3195008) again with no luck!!. The igniter glows bright orange during the pre-heating but gas NEVER comes out of the valve again. I don’t want to spend any more money. Is it the igniter that is bad?? is it the control circuit?? why does the igniter glows orange? please help, thanks