An alert has been issued over thousands of public defibrillators which have an electrical fault that could render them useless.

The fault means devices, which are available in schools, supermarkets, community centres and train stations, may not deliver a potentially life-saving electric shock to someone in cardiac arrest.

Around 2,577 of the Lifepak CR Plus and Lifepak Express automatic external defibrillators are defective, the Medicines and Healthcare products Regulatory Agency (MHRA) said.

St Albans Community Centre had a defibrillator was installed outside the building that can be used by anyone. St Stephen parish council paid the balance after user groups from the centre and park raised £1,600 towards the cost.

Skyswood Primary School also has a defibrillator that was purchased through various fundraising events. There are also defibrillators at St Albans City Youth Community FC and St Albans Striders running club.

An internal component called a reed switch can become stuck in the closed position, the agency said.

The manufacturer Physio-Control has issued a safety alert to people and organisations with the defibrillators, including instructions on what to do.

There have been no reports of failures when treating patients but the MHRA urged owners to check the serial number on their device matches that on the confirmation sheet received from the manufacturer, or the alert on its website.

John Wilkinson, MHRA's director of medical devices, said: "These devices deliver life-saving treatment and it is vital that they work in an emergency.

"Those responsible for them should carry out the instructions by the manufacturer.

"If you have any questions, or have not got the manufacturer's safety alert, call Physio-Control's customer support on 0808 258 0094."

Owners can tell if their defibrillators are faulty if a voice prompt fails to initiate within five seconds, and in those instances the MHRA recommended removing the device and contacting the manufacturer.