(a) No person shall operate a bicycle upon a sidewalk where signs are erected prohibiting such operation.
(b) Whoever violates any provision of this section is guilty of a minor misdemeanor on a first offense; on a second offense within one year after the first offense, the person is guilty of a misdemeanor of the fourth degree; on each subsequent offense within one year after the first offense, the person is guilty of a misdemeanor of the third degree.