remove to unwanted notices for undefined variables

$pagingString and $pagingMiddleString were defined in an if with no initial value thus, php throwing two notices