Magento 2.4.3-p3 Load More is not working

I am trying to show products number correctly in product list, but if click Load More button, added all products

= Before click Load More

enter image description here

enter image description here

= After click Load More

enter image description here


And exception.log

[2023-01-11 17:46:52] main.CRITICAL: Cannot gather stats! Warning!stat(): stat failed for /home/caterin1/test.cateringspares.com.au/pub/static/adminhtml/Magento/backend/en_AU/mage/requirejs/mixins.js {"exception":"[object] (Magento\Framework\Exception\FileSystemException(code: 0): Cannot gather stats! Warning!stat(): stat failed for /home/caterin1/test.cateringspares.com.au/pub/static/adminhtml/Magento/backend/en_AU/mage/requirejs/mixins.js at /home/caterin1/test.cateringspares.com.au/vendor/magento/framework/Filesystem/Driver/File.php:95)"} []

And /home/caterin1/test.cateringspares.com.au/app/design/frontend/Caterings/spares/Magento_Catalog/templates/product/list/1.phtml

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
use MagentoFrameworkAppActionAction;

?>
<?php
// phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis

/**
 * Product list template
 *
 * @var $block MagentoCatalogBlockProductListProduct
 */
?>
<!--<?php $objectManager = MagentoFrameworkAppObjectManager::getInstance(); 
    $storeManager = $objectManager->get('MagentoStoreModelStoreManagerInterface'); 
    $currencyCode = $storeManager->getStore()->getCurrentCurrencyCode(); 
    $currency = $objectManager->create('MagentoDirectoryModelCurrencyFactory')->create()->load($currencyCode); 
    $currencySymbol = $currency->getCurrencySymbol(); 
    $StockState = $objectManager->get('MagentoCatalogInventoryModelStockStockItemRepository');
    
?>-->

<?php
$_productCollection = $block->getLoadedProductCollection();
$_helper = $this->helper(MagentoCatalogHelperOutput::class);
$cartIcon = '<svg xmlns="http://www.w3.org/2000/svg" class="minicart-icon-1" width="14" height="16" viewBox="0 0 14 16">
  <path d="M11,3V0H3V3H0V16H14V3H11ZM5,2H9V3H5V2Zm7,bc1qz46mzhklzg27va6ht38cl22f3et23ys2lvfvws"></path>
</svg>';
$theme_helper = $this->helper('OlegnaxAthlete2HelperProductList');
$at_settings = $block->getConfig('athlete2_settings');
$width = $at_settings[ 'product_images' ][ 'listing_image_width' ];
$height =  $at_settings[ 'product_images' ][ 'listing_image_height' ];

$showQuickview = $at_settings['products_listing']['quickview'] && $theme_helper->isActivePlugin( 'Olegnax_Quickview' );
$showOutofstock = $at_settings['products_listing']['outofstock'];
$showRating = $at_settings['products_listing']['rating'];
$showPrice = $at_settings['products_listing']['price'];
$showCart = $at_settings['products_listing']['add_to_cart'];
$showWishlist = $at_settings['products_listing']['wishlist'];
$showCompare = $at_settings['products_listing']['compare'];
$showCategory = $at_settings['products_listing']['category_name'];
$classes = [];
$classes[] = 'product-columns-' . $at_settings['products_listing']['grid_columns'];
$classes[] = 'product-columns-s-' . $at_settings['products_listing']['grid_columns_s'];
$classes[] = 'product-columns-m-' . $at_settings['products_listing']['grid_columns_m'];
$classes[] = 'product-columns-l-' . $at_settings['products_listing']['grid_columns_l'];
?>
<?php if (!$_productCollection->count()) :?>
    <div class="message info empty"><div><?= $block->escapeHtml(__('We can't find products matching the selection.')) ?></div></div>

<?php else :?>
    <?= $block->getToolbarHtml() ?>

    <?= $block->getAdditionalHtml() ?>
    <?php
    if ($block->getMode() == 'grid') {
        $viewMode = 'grid';
        $imageDisplayArea = 'category_page_grid';
        $image_hover = 'category_page_grid_hover';
        $showDescription = false;
        $showAvailability = false;
        $templateType = MagentoCatalogBlockProductReviewRendererInterface::SHORT_VIEW;
    } else {
        $viewMode = 'list';
        $imageDisplayArea = 'category_page_list';
        $image_hover = 'category_page_grid_hover';
        $showDescription = true;
        $showAvailability = true;
        $templateType = MagentoCatalogBlockProductReviewRendererInterface::FULL_VIEW;
    }
    /**
     * Position for actions regarding image size changing in vde if needed
     */
    $pos = $block->getPositioned();
    ?>
    <div class="products products-grid__layout-default wrapper <?= $block->escapeHtmlAttr( $viewMode. ' ' . implode( ' ', $classes )) ?> products-<?=  $block->escapeHtmlAttr( $viewMode ) ?>">
        <?php $iterator = 1; ?>
        <ol class="products list items product-items">
            <?php /** @var $_product MagentoCatalogModelProduct */ ?>
            <?php foreach ($_productCollection as $_product): ?>
                <?= /* @escapeNotVerified */ ($iterator++ == 1) ? '<li class="item product product-item">' : '</li><li class="item product product-item">' ?>
                <!--<?php $_product = $objectManager->create('MagentoCatalogModelProductRepository')->getById($_product->getId()); ?>-->
                
                <div class="product-item-info" data-container="product-grid">
                    <?php
                    $productImage = $block->getResizedImageHover($_product, $imageDisplayArea, $image_hover, [$width, $height]);
                    if ($pos != null) {
                        $position = ' style="left:' . $block->escapeHtmlAttr($productImage->getWidth()) . 'px;'
                            . 'top:' . $block->escapeHtmlAttr($productImage->getHeight()) . 'px;"';
                    }
                    ?>
                    <?php // Product Image ?>
                    <?php if ($viewMode == 'grid' ){ ?>
                        <div class="product-grid__image-wrapper">
                        <a href="<?= $block->escapeUrl($_product->getProductUrl()) ?>" class="product photo product-item-photo" tabindex="-1">
                            <?= $productImage->toHtml() ?>
                        </a>                    
                            
                            <?php if ( $theme_helper->isActivePlugin( 'Olegnax_ProductLabel' ) ) {
                                echo $this->helper( 'OlegnaxProductLabelHelperHelper' )->showLabels( $_product );
                            }  ?>
                        </div>                  
                        <div class="product-grid-overlay"></div>

                        <div class="product details product-item-details">
                            <?php if ( $showCategory && $category = $theme_helper->getLastCategory( $_product ) ) : ?>
                            <!--<div class="ox-product-grid__categories"><a href="<?= $category->getUrl(); ?>" class="ox-product-grid__category-link"><?= $category->getName(); ?></a></div>-->
                            <?php endif; ?>
                            <?php $_productNameStripped = $block->stripTags($_product->getName(), null, true); ?>
                            <strong class="product name product-item-name">
                                <a class="product-item-link"
                                   href="<?= $block->escapeUrl($_product->getProductUrl()) ?>">
                                    <?= /* @noEscape */ $_helper->productAttribute($_product, $_product->getName(), 'name') ?>
                                </a>
                            </strong>
                            
                            <!--<?php if ( $showPrice ) { ?>
                                <div class="regularPrice">
                                    <?php 
                                        echo $currencySymbol;
                                        $regularPrice = $_product->getPriceInfo()->getPrice('regular_price')->getValue(); 
                                        echo $regularPrice;
                                    ?>
                                </div>
                            <?php } ?>-->
                            
                            <?php if ( $showPrice ) { echo /* @noEscape */ $block->getProductPrice($_product); } ?>
                            
                            <?php /*if (!$_product->isSaleable()) :?>
                                <div class="stock unavailable"><span><?= $block->escapeHtml(__('Out of stock')) ?></span></div>
                            <?php endif;*/ ?>
                            
                            <?php if ($_product->isAvailable()) :?>
                                <?= $block->getProductDetailsHtml($_product) ?>
                            <?php endif; ?>
                            
                            <?php if ($showDescription):?>
                                <div class="product description product-item-description">
                                    <?= /* @noEscape */ $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
                                    <a href="<?= $block->escapeUrl($_product->getProductUrl()) ?>"
                                       title="<?= /* @noEscape */ $_productNameStripped ?>"
                                       class="action more"><?= $block->escapeHtml(__('Learn More')) ?></a>
                                </div>
                            <?php endif; ?>
                            
                            <?php /*if ( !$_product->isSaleable() && $showAvailability ): ?>
                                <?php if ($_product->isAvailable()): ?>
                                    <div class="stock available"><span><?= $block->escapeHtml(__('In stock')) ?></span></div>
                                <?php else: ?>
                                    <div class="stock unavailable"><span><?= $block->escapeHtml(__('Out of stock')) ?></span></div>
                                <?php endif; ?>
                            <?php endif;*/?>
                                    
                            <?php if ( $showRating ){ echo $block->getReviewsSummaryHtml($_product, $templateType); } ?>

                            <?php if ($showWishlist || $showCompare || $showCart || $showQuickview): ?>
                                <div class="product-item-inner">
                                    <div class="product actions product-item-actions"<?= strpos($pos, $viewMode . '-actions') ? $block->escapeHtmlAttr($position) : '' ?>>
                                        <div class="actions-primary"<?= strpos($pos, $viewMode . '-primary') ? $block->escapeHtmlAttr($position) : '' ?>>
                                            <?php if ($_product->isSaleable()): ?>
                                                <?php if ($showCart): ?>
                                                    <?php $postParams = $block->getAddToCartPostParams($_product); ?>
                                                    <form data-role="tocart-form"
                                                          data-product-sku="<?= $block->escapeHtmlAttr($_product->getSku()) ?>"
                                                          action="<?= $block->escapeUrl($postParams['action']) ?>"
                                                          method="post">
                                                        <input type="hidden"
                                                               name="product"
                                                               value="<?= /* @noEscape */ $postParams['data']['product'] ?>">
                                                        <input type="hidden" name="<?= /* @noEscape */ Action::PARAM_NAME_URL_ENCODED ?>"
                                                               value="<?= /* @noEscape */ $postParams['data'][Action::PARAM_NAME_URL_ENCODED] ?>">
                                                        <?= $block->getBlockHtml('formkey') ?>
                                                        <button type="submit"
                                                                title="<?= $block->escapeHtmlAttr(__('Add to Cart')) ?>"
                                                                class="action tocart primary">
                                                            
                                                        </button>
                                                    </form>
                                                <?php endif; ?>
                                            <?php else :?>
                                                <div class="stock unavailable"><span><?= $block->escapeHtml(__('Out of stock')) ?></span></div>
                                            <?php endif; ?>
                                            <?php if ($showWishlist || $showCompare): ?>
                                                <div data-role="add-to-links" class="actions-secondary"<?= strpos($pos, $viewMode . '-secondary') ? $block->escapeHtmlAttr($position) : '' ?>>
                                                    <?php if ($addToBlock = $block->getChildBlock('addto')): ?>
                                                        <?= $addToBlock->setProduct($_product)->getChildHtml() ?>
                                                    <?php endif; ?>
                                                </div>
                                                
                                          <?php endif; ?>
                                        </div>
                                        <?php
                                        if ( $showQuickview ) {
                                            echo $this->helper( 'OlegnaxQuickviewHelperHelper' )->getButton( $_product, 'button quick-view' );
                                        }
                                        ?>
                                    </div>
                                    <a href="<?= $block->escapeUrl($_product->getProductUrl()) ?>" class="overlay-link"></a>
                                </div>
                            <?php endif; ?>

                        </div>
                    <?php } ?>
                    
                    
                    <?php if ($viewMode == 'list' ): ?>
                        
                        <div class="product-grid__image-wrapper">
                            <a href="<?= $block->escapeUrl($_product->getProductUrl()) ?>" class="product photo product-item-photo" tabindex="-1">
                                <?= $productImage->toHtml() ?>
                            </a>
                            <?php if ( $theme_helper->isActivePlugin( 'Olegnax_ProductLabel' ) ) {
                                echo $this->helper( 'OlegnaxProductLabelHelperHelper' )->showLabels( $_product );
                            }  ?>
                        </div>                      

                        <div class="product details product-item-details">
                            <!--<?php if ( $showCategory && $category = $theme_helper->getLastCategory( $_product ) ) : ?>
                            <div class="ox-product-grid__categories"><a href="<?= $category->getUrl(); ?>" class="ox-product-grid__category-link"><?= $category->getName(); ?></a></div>
                            <?php endif; ?>-->
                            <?php
                                $_productNameStripped = $block->stripTags($_product->getName(), null, true);
                            ?>
                            <strong class="product name product-item-name">
                                <a class="product-item-link"
                                   href="<?= $block->escapeUrl($_product->getProductUrl()) ?>">
                                    <?= /* @noEscape */ $_helper->productAttribute($_product, $_product->getName(), 'name') ?>
                                </a>
                            </strong>
    
                            <?php if ( $showRating ){ echo $block->getReviewsSummaryHtml($_product, $templateType); } ?>

                            <?php if ($_product->isAvailable()) :?>
                                <?= $block->getProductDetailsHtml($_product) ?>
                            <?php endif; ?>
                            <?php if ($showDescription):?>
                                <div class="product description product-item-description">
                                    <?php echo $_helper->productAttribute($_product, substr($_product->getShortDescription(), 0,30), 'short_description') ?>
                                    <a href="<?= $block->escapeUrl($_product->getProductUrl()) ?>"
                                       title="<?= /* @noEscape */ $_productNameStripped ?>"
                                       class="action more"><?= $block->escapeHtml(__('[More]')) ?></a>
                                </div>
                            <?php endif; ?>
                        </div>
                        
                        <div class="product-list-view__right-wrapper">
                            
                            <?php if ( $showPrice ) { echo /* @noEscape */ $block->getProductPrice($_product); } ?>
                            
                            <?php if ( !$_product->isSaleable() && $showAvailability ): ?>
                                <?php if ($_product->isAvailable()): ?>
                                    <div class="stock available"><span><?= $block->escapeHtml(__('In stock')) ?></span></div>
                                <?php else: ?>
                                    <div class="stock unavailable"><span><?= $block->escapeHtml(__('Out of stock')) ?></span></div>
                                <?php endif; ?>
                            <?php endif; ?>
                                    
                            <?php if ($showCart): ?>
                                <div class="product-item-inner">
                                    <div class="product actions product-item-actions"<?= strpos($pos, $viewMode . '-actions') ? $block->escapeHtmlAttr($position) : '' ?>>                                      
                                        <div class="actions-primary"<?= strpos($pos, $viewMode . '-primary') ? $block->escapeHtmlAttr($position) : '' ?>>
                                            <?php if ($_product->isSaleable()): ?>
                                                <?php $postParams = $block->getAddToCartPostParams($_product); ?>
                                                <form data-role="tocart-form"
                                                      data-product-sku="<?= $block->escapeHtmlAttr($_product->getSku()) ?>"
                                                      action="<?= $block->escapeUrl($postParams['action']) ?>"
                                                      method="post">
                                                    <input type="hidden"
                                                           name="product"
                                                           value="<?= /* @noEscape */ $postParams['data']['product'] ?>">
                                                    <input type="hidden" name="<?= /* @noEscape */ Action::PARAM_NAME_URL_ENCODED ?>"
                                                           value="<?= /* @noEscape */ $postParams['data'][Action::PARAM_NAME_URL_ENCODED] ?>">
                                                    <?= $block->getBlockHtml('formkey') ?>
                                                    <button type="submit"
                                                            title="<?= $block->escapeHtmlAttr(__('Add to Cart')) ?>"
                                                            class="action tocart primary">
                                                        <?= $cartIcon ?><span><?= $block->escapeHtml(__('Add to Cart')) ?></span>
                                                    </button>
                                                </form>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                </div>
                            <?php endif; ?>
                                    
                            <?php if ($showWishlist || $showCompare): ?>
                                <div data-role="add-to-links" class="actions-secondary"<?= strpos($pos, $viewMode . '-secondary') ? $block->escapeHtmlAttr($position) : '' ?>>
                                    <?php if ($addToBlock = $block->getChildBlock('addto')): ?>
                                        <?= $addToBlock->setProduct($_product)->getChildHtml() ?>
                                    <?php endif; ?>
                                </div>
                            <?php endif; ?>

                                                                
                        </div>
                    <?php endif; ?>
                </div>
                
                <?= ($iterator == count($_productCollection)+1) ? '</li>' : '' ?>
            <?php endforeach; ?>
        </ol>
    </div>
    <?= $block->getToolbarHtml() ?>
    
    <?php if (!$block->isRedirectToCartEnabled()) : ?>
        <script type="text/x-magento-init">
        {
            "[data-role=tocart-form], .form.map.checkout": {
                "AtAddToCart": {
                    "product_sku": "<?= $block->escapeJs($_product->getSku()) ?>"
                }
            }
        }
        </script>
    <?php endif; ?>
<?php endif; ?>