Fatal error: Call to a member function getLastPageNumber() on a non-object in /var/www/htdocs/app/code/core/Mage/Catalog/Block/Product/List/Toolbar.php on line 798