Why is page/2/ not working?

enter image description here

This is my search page code can anyone help me figure out what is the problem I m having no content in my page 2

            <div class="<?php echo esc_attr($blog_type);?>">
                <div class="row">
                    <!-- Blog Archive -->
                    <div class="posts-masonry">
                        <!-- Blog Post-->
                        <?php get_template_part('template-parts/layouts/blog', 'loop');?>                       
                    </div>
                    <!-- Pagination -->  
                    <div class="col-md-12 col-xs-12 col-sm-12">
                        <?php adforest_pagination();?>
                    </div>
                </div>
            </div>

            <!-- Right Sidebar -->
            <?php
            if (isset($adforest_theme('blog_sidebar')) && $adforest_theme('blog_sidebar') == 'right')
                get_sidebar();

            if (!isset($adforest_theme('blog_sidebar')))
                get_sidebar();
            ?>
            <!-- Middle Content Area  End -->
        </div>
        <!-- Row End -->
    </div>
    <!-- Main Container End -->
</section>