Refactored to not instantiate `Page` inside of `onPagesInitialized` causing problems.
Refactored to not instantiate `Page` inside of `onPagesInitialized` causing problems.

getgrav/grav-plugin-star-ratings,getgrav/grav-plugin-star-ratings