Jump to content

prestashop 1.7 at Pagination->setPagesCount(13.0) in ProductListingFrontController.php line 413

Recommended Posts

I have a pagination problem. It is not showing up.

I got the following errors:


(1/1) ContextErrorException
User Notice: Integer value is expected, got `double`

in Pagination.php line 49
at Pagination->setPagesCount(13.0)
in ProductListingFrontController.php line 413
at ProductListingFrontControllerCore->getTemplateVarPagination(object(ProductSearchQuery), object(ProductSearchResult))
in ProductListingFrontController.php line 350
at ProductListingFrontControllerCore->getProductSearchVariables()
in ProductListingFrontController.php line 513
at ProductListingFrontControllerCore->doProductSearch('catalog/listing/category', array('entity' => 'category', 'id' => 35))
in CategoryController.php line 137
at CategoryControllerCore->initContent()
in Controller.php line 306
at ControllerCore->run()
in Dispatcher.php line 518
at DispatcherCore->dispatch()
in index.php line 28


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More