Perdona ya vi donde esta el error se me olvido escribirte una linea cambia esta funcion en el class por esta
Código PHP:
function pagination($r, $rPP, $sc, $scn){
$p = new paginationClass($r, $rPP, $sc, $scn);
$p->page = $_REQUEST["page"];
foreach($p->getPagePagination() as $k => $v){
if(trim($v)){
global $$k;
$$k = $v;
}
}
}
y tambien cambia el & por el % en esta linea
this->range_min = ($this->range & 2 == 0) ? ($this->range / 2) -1 : ($this->range - 1) / 2;
debe ser
this->range_min = ($this->range % 2 == 0) ? ($this->range / 2) -1 : ($this->range - 1) / 2;