After upgrading from Magento 2.4.2-p1 to 2.4.3 the pagination is not showing up anymore on category and search result pages. I tested disabling the Magento 2 Infinite Scroll extension from Weltpixel because I thought maybe it's not compatible yet with 2.4.3 but it is still not working. Also, I tried to use the default Luma theme for a store view where the pagination is not showing up either.
If I add ?p=2 to the category page URL, the products of the second page are loading but the pagination is still not visible.
Also sometimes I am getting this message. Not sure if related.
loader.js:210 Expected to start loader but did not find one in the dom
Line 210 shows this:
if (window.console && !ctx.parents('[data-role="loader"]').length) {
console.warn('Expected to start loader but did not find one in the dom');
}
Best Answer
I found the problem to exist in my overide file
app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/list.phtml
The original code in the bottom section of the page looked like this:
but it has since been changed to this in the recent update:
On switching the code to the new version, the pagination started showing again in the catalog pages.