News:

Looking for documentation? Take a look on our wiki

Main Menu

pagination not working

Started by Zegenrijk, November 06, 2025, 12:07:27 PM

Previous topic - Next topic

Zegenrijk

Hello,
J 5.4.0. VM 4.6.0
When i go to a subcategory with multiple pages, i go for example to the last page (3). Then i click on de 1 (first page), no page change, it stays on page 3.

And (i think same problem): Now i go back to Home of the website a go again to the same subcategory i was in before above. Now the page started with the last page (3) and not the first page

I recently updated to 4.6.0, i think it's a 4.6.0 bug.
Regards Michel

macigatto

Im facing the same problem after upgrading to VM 4.6.4 from lower.

Did u resolved?
Thanks

Jumbo!

Open - components/com_virtuemart/router.php

Find the following codes between lines 495 and 499:

                $limitstart = intval($limitstart);

                $limit = intval($limit);

                if ( $limitstart>0 ) {

Replace the above with:

                $rawLimitstart = $limitstart;
                $limitstart = intval($limitstart);
                $limit = intval($limit);

                if ( $limitstart >= 0 && $rawLimitstart !== null ) {

This should resolve the issue. :)