Pagination link throw 404 error

Hi!
When I go to the next page in my kirby website :
Vous cherchez un lieu ? | Agence Mayday - Exploratrices de lieux (mahii.pro)
I got a 404 error : Error | Agence Mayday - Exploratrices de lieux (mahii.pro)
I folowed instruction from here : Pagination | Kirby CMS (getkirby.com)

<?php snippet('header') ?>

<main class="blog container" role="main" style="margin-top: 350px;">

    <div class="lieux-list">
      <?php
      $list = $page->children()->listed()->flip(); 
      $list = $list->paginate(3);
      foreach($list as $article): ?>

      <article class="lieu-card">
        <h2 class="lieu-card-title"><?= $article->title()->html() ?></h2>
      </article>

    <?php endforeach ?>
  </div>

  <?php $pagination = $list->pagination() ?>
  <nav>
    <ul class="pagination">
      <?php if ($pagination->hasPrevPage()): ?>
        <li>
          <a href="<?= $pagination->prevPageURL() ?>">Prev page</a>
        </li>
      <?php else: ?>
        <li>
          <span>Prev page</span>
        </li>
      <?php endif ?>
      <?php if ($pagination->hasNextPage()): ?>
        <li>
          <a href="<?= $pagination->nextPageURL() ?>">Next Page</a>
        </li>
      <?php else: ?>
        <li>
          <span>Next page</span>
        </li>
      <?php endif ?>
    </ul>
  </nav>

</main>

<?php snippet('footer') ?>

I’m I missing something? Should I create a controller or add something in the router/config file?

My hosting is litespeed and PHP 8.2.19

Thank!

Hm, at first sight, that looks ok to me, and should work without a controller. How many listed lieux are there in total?

There is 4 lieux

Can I send you more informations?

Could you provide the project for testing? If so, please send me a download link via PM