Using a stove with a crack is not safe. Even small cracks make the chance of getting electrocuted higher. If the glass-ceramic surface has small cracks, you might be able to replace it, but if the cracks are bigger, you'll need a whole new cooktop.