The usual suspect is the 2-way valve in the boiler, stuck on Hot Water and not going over to direct the water to the Heating system.
That wouldn't stop the wall thermostat from clicking though. I would suspect a faulty WallStat first. Simple substitution, or even bypassing it would tell you for sure.