By Tony Romeo

HARRISBURG, Pa., (CBS) — Some portions of Pennsylvania’s Megan’s Law have run afoul of the state Supreme Court.

READ MORE: Biden Administration Enacts New Travel Rules Due To Spread Of COVID-19 Omicron Variant

The problem the state high court has with Megan’s Law is not with the legislature’s intended changes but the fact that it made those changes in a 2004 law that contained other provisions unrelated to Megan’s Law. Among the changes were the creation of criminal offenses for individuals who fail to comply with sexual offender registration requirements, and the creation of a searchable online database of offenders.

READ MORE: Temple University Parents To Rally Over Safety After Samuel Collington's Death

The Supreme Court has ruled that the law that made those changes violated the state constitution’s mandate that legislation adhere to a single subject. But recognizing the impact, the high court has stayed its ruling for 90 days to allow for legislative action or for a smooth transition.

MORE NEWS: Philadelphia Police: Man Injured After Being Shot Near Fox Chase Wawa