My DIY solution is to replace the igniter. Tod do this you will need a new part. To order the new part you need the hob/oven number which might be on a sticker label on the side of the oven or inside a drawer. The modle number is also required which is on the hob/oven or instruction book. Then telephone the spares department of your hob/oven manufacturer and buy the spare parts. When they arrive, swithch off the gas and electricity to your hob/oven, and slowly note how the hob igniter comes away from the unit. On my hob I have to unscrew the top and it folds upwards revealing the innards. Your igniter unit may require you to unplug the existing unit and plug in the new unit. Be sure to make a note of how the hob comes apart so that you can fix it together agin.
A hob igniter fixer
August 2008