Correction for

Settings:get('records_per_page'),   => Settings::get('records_per_page'),