(a) No person shall park a bicycle or electric bicycle upon a sidewalk in such a manner so as to unduly interfere with pedestrian traffic or upon a roadway so as to unduly interfere with vehicular traffic.
(b) Whoever violates 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.