https://www.bestmarketbusiness.com/annonces/home/0

ErrorController

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"124944"
exception
Doctrine\DBAL\Exception {#435
  #message: "Offset must be a positive integer or zero, -100 given"
  #code: 0
  #file: "/var/www/html/project_symfony/vendor/doctrine/dbal/src/Platforms/AbstractPlatform.php"
  #line: 4336
  trace: {
    /var/www/html/project_symfony/vendor/doctrine/dbal/src/Platforms/AbstractPlatform.php:4336 {
      Doctrine\DBAL\Platforms\AbstractPlatform->modifyLimitQuery($query, $limit, $offset = 0): string …
      › if ($offset < 0) {    throw new Exception(sprintf(        'Offset must be a positive integer or zero, %d given',
    }
    /var/www/html/project_symfony/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:1149 {
      Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getSelectSQL($criteria, $assoc = null, $lockMode = null, $limit = null, $offset = null, array $orderBy = null) …
      › 
      ›     return $this->platform->modifyLimitQuery($query, $limit, $offset ?? 0) . $lockSql;}
    }
    /var/www/html/project_symfony/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:937 {
      Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadAll(array $criteria = [], array $orderBy = null, $limit = null, $offset = null) …
      › 
      › $sql              = $this->getSelectSQL($criteria, null, null, $limit, $offset, $orderBy);[$params, $types] = $this->expandParameters($criteria);
    }
    /var/www/html/project_symfony/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:225 {
      Doctrine\ORM\EntityRepository->findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) …
      › 
      ›     return $persister->loadAll($criteria, $orderBy, $limit, $offset);}
    }
    /var/www/html/project_symfony/src/Controller/AnnoncesController.php:95 {
      App\Controller\AnnoncesController->index(ManagerRegistry $mr, $page, $nbre, Request $request, AnnoncesRepository $annoncesRepository, StatistiquesRepository $statistiquesRepository): Response …
      › $nbrePage = ceil($nbAnnonces / $nbre);$allAnnonces = $annoncesRepo->findBy([], ['created_at' => 'DESC'], $nbre, ($page - 1) * $nbre);return $this->render('annonces/index.html.twig', [
    }
    /var/www/html/project_symfony/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/html/project_symfony/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/html/project_symfony/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/html/project_symfony/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /var/www/html/project_symfony/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/html/project_symfony/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/html/project_symfony/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#168 …9}

Request Headers

Header Value
accept
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
accept-encoding
"gzip"
accept-language
"zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7"
cache-control
"no-cache"
connection
"keep-alive, close"
host
"www.bestmarketbusiness.com"
pragma
"no-cache"
upgrade-insecure-requests
"1"
user-agent
"Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sat, 21 Jun 2025 19:07:56 GMT"
x-debug-exception
"Offset%20must%20be%20a%20positive%20integer%20or%20zero%2C%20-100%20given"
x-debug-exception-file
"%2Fvar%2Fwww%2Fhtml%2Fproject_symfony%2Fvendor%2Fdoctrine%2Fdbal%2Fsrc%2FPlatforms%2FAbstractPlatform.php:4336"
x-debug-token
"13f03c"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"56031bc82a42099a080e008893063d79"
DATABASE_URL
"mysql://root:admin123@127.0.0.1:3306/bestmarketbusiness"
JWT_SECRET
"0hLa83lleBrouelle!"
MAILER_DSN
"smtp://a632690299e3cb:9d77f4b6b56309@sandbox.smtp.mailtrap.io:2525"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/html/project_symfony/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/html/project_symfony/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_ACCEPT_LANGUAGE
"zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7"
HTTP_CACHE_CONTROL
"no-cache"
HTTP_CONNECTION
"keep-alive, close"
HTTP_HOST
"www.bestmarketbusiness.com"
HTTP_PRAGMA
"no-cache"
HTTP_UPGRADE_INSECURE_REQUESTS
"1"
HTTP_USER_AGENT
"Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REMOTE_ADDR
"43.166.131.228"
REMOTE_PORT
"49088"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1750532875
REQUEST_TIME_FLOAT
1750532875.6547
REQUEST_URI
"/annonces/home/0"
SCRIPT_FILENAME
"/var/www/html/project_symfony/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"41.205.23.52"
SERVER_ADMIN
"maximekengne45@gmail.com"
SERVER_NAME
"www.bestmarketbusiness.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.2.20"
SSL_TLS_SNI
"www.bestmarketbusiness.com"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,JWT_SECRET"
UNIQUE_ID
"aFcDCxGsmfwJFC8VMN0aSAAAAAM"

Parent Request

Return to parent request (token = 78acca)

Key Value
_controller
"App\Controller\AnnoncesController::index"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"app_annonces_index"
_route_params
[
  "page" => "0"
  "nbre" => "100"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"f8ae15"
nbre
"100"
page
"0"