Weather can be a primary culprit when it comes to an electric igniter that won't work. If the grill sits outside for an extended period of time in humid or rainy weather, deposits can form on the end of the igniter probe that helps sense the gas flow. Moisture or deposits on the probe will keep it from functioning correctly and lead to ignition failure. You can clean the probe with a damp cloth to remove deposits, but if the probe has corroded, you may need to replace it.
Electric igniters typically use two electrodes, allowing a spark to jump between them. These electrodes may become misaligned and cannot produce the necessary heat. The same moisture problems that affect the probe can also lead to electrode issues. These problems are easy to fix with regular cleaning and normal maintenance.
Igniters have wires that lead to its electrode system. These wires can become loose over time, so check that they are secured at both ends. If they come loose, become frayed or short out, the igniter will not work. If a short circuit has occurred, the wires may need to be replaced entirely. Of course, the issue may be even more simple: Check that the igniter battery is working and replace if not.
In some cases, the electric igniter is working properly, but there is something wrong with the gas supply. If the grill does not light with a match, the gas line is probably connected incorrectly or has been clogged by dirt. The burner ports may also have rusted or become clogged, preventing gas from reaching the igniter. Go through your hook-up procedures again, ensuring that the gas line is connected properly and there are no valve problems or clogs in the line. If the burner ports appear clogged with dirt, you may be able to clean them with a damp cloth, but a rusted or damage burner assembly often needs to be replaced.