Error 500 Internal Server Error

GET https://rnap.beeznest.com/pages/_topbar-visibility?locale=fr_FR

Serializer

1 Handled
1.63 ms Total time

serialize 1

Data Context Normalizer Encoder Time Caller
Symfony\Component\ErrorHandler\Exception\FlattenException
Show contents
Symfony\Component\ErrorHandler\Exception\FlattenException {#2303
  -message: "An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'chamilo2.page' doesn't exist"
  -code: 1146
  -previous: Symfony\Component\ErrorHandler\Exception\FlattenException {#2301 …}
  -trace: [
    [
      "namespace" => ""
      "short_class" => ""
      "class" => ""
      "type" => ""
      "function" => ""
      "file" => "/var/www/chamilo/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php"
      "line" => 51
      "args" => []
    ]
    [
      "namespace" => "Doctrine\DBAL\Driver\API\MySQL"
      "short_class" => "ExceptionConverter"
      "class" => "Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter"
      "type" => "->"
      "function" => "convert"
      "file" => "/var/www/chamilo/vendor/doctrine/dbal/src/Connection.php"
      "line" => 1976
      "args" => []
    ]
    [
      "namespace" => "Doctrine\DBAL"
      "short_class" => "Connection"
      "class" => "Doctrine\DBAL\Connection"
      "type" => "->"
      "function" => "handleDriverException"
      "file" => "/var/www/chamilo/vendor/doctrine/dbal/src/Connection.php"
      "line" => 1918
      "args" => []
    ]
    [
      "namespace" => "Doctrine\DBAL"
      "short_class" => "Connection"
      "class" => "Doctrine\DBAL\Connection"
      "type" => "->"
      "function" => "convertExceptionDuringQuery"
      "file" => "/var/www/chamilo/vendor/doctrine/dbal/src/Connection.php"
      "line" => 1111
      "args" => []
    ]
    [
      "namespace" => "Doctrine\DBAL"
      "short_class" => "Connection"
      "class" => "Doctrine\DBAL\Connection"
      "type" => "->"
      "function" => "executeQuery"
      "file" => "/var/www/chamilo/vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php"
      "line" => 31
      "args" => []
    ]
    [
      "namespace" => "Doctrine\ORM\Query\Exec"
      "short_class" => "FinalizedSelectExecutor"
      "class" => "Doctrine\ORM\Query\Exec\FinalizedSelectExecutor"
      "type" => "->"
      "function" => "execute"
      "file" => "/var/www/chamilo/vendor/doctrine/orm/src/Query.php"
      "line" => 330
      "args" => []
    ]
    [
      "namespace" => "Doctrine\ORM"
      "short_class" => "Query"
      "class" => "Doctrine\ORM\Query"
      "type" => "->"
      "function" => "_doExecute"
      "file" => "/var/www/chamilo/vendor/doctrine/orm/src/AbstractQuery.php"
      "line" => 1213
      "args" => []
    ]
    [
      "namespace" => "Doctrine\ORM"
      "short_class" => "AbstractQuery"
      "class" => "Doctrine\ORM\AbstractQuery"
      "type" => "->"
      "function" => "executeIgnoreQueryCache"
      "file" => "/var/www/chamilo/vendor/doctrine/orm/src/AbstractQuery.php"
      "line" => 1167
      "args" => []
    ]
    [
      "namespace" => "Doctrine\ORM"
      "short_class" => "AbstractQuery"
      "class" => "Doctrine\ORM\AbstractQuery"
      "type" => "->"
      "function" => "execute"
      "file" => "/var/www/chamilo/vendor/doctrine/orm/src/AbstractQuery.php"
      "line" => 996
      "args" => []
    ]
    [
      "namespace" => "Doctrine\ORM"
      "short_class" => "AbstractQuery"
      "class" => "Doctrine\ORM\AbstractQuery"
      "type" => "->"
      "function" => "getSingleResult"
      "file" => "/var/www/chamilo/vendor/doctrine/orm/src/AbstractQuery.php"
      "line" => 1025
      "args" => []
    ]
    [
      "namespace" => "Doctrine\ORM"
      "short_class" => "AbstractQuery"
      "class" => "Doctrine\ORM\AbstractQuery"
      "type" => "->"
      "function" => "getSingleScalarResult"
      "file" => "/var/www/chamilo/src/CoreBundle/Repository/PageRepository.php"
      "line" => 44
      "args" => []
    ]
    [
      "namespace" => "Chamilo\CoreBundle\Repository"
      "short_class" => "PageRepository"
      "class" => "Chamilo\CoreBundle\Repository\PageRepository"
      "type" => "->"
      "function" => "countByCategoryAndLocale"
      "file" => "/var/www/chamilo/src/CoreBundle/Controller/PageController.php"
      "line" => 38
      "args" => []
    ]
    [
      "namespace" => "Chamilo\CoreBundle\Controller"
      "short_class" => "PageController"
      "class" => "Chamilo\CoreBundle\Controller\PageController"
      "type" => "->"
      "function" => "topbarVisibility"
      "file" => "/var/www/chamilo/vendor/symfony/http-kernel/HttpKernel.php"
      "line" => 181
      "args" => []
    ]
    [
      "namespace" => "Symfony\Component\HttpKernel"
      "short_class" => "HttpKernel"
      "class" => "Symfony\Component\HttpKernel\HttpKernel"
      "type" => "->"
      "function" => "handleRaw"
      "file" => "/var/www/chamilo/vendor/symfony/http-kernel/HttpKernel.php"
      "line" => 76
      "args" => []
    ]
    [
      "namespace" => "Symfony\Component\HttpKernel"
      "short_class" => "HttpKernel"
      "class" => "Symfony\Component\HttpKernel\HttpKernel"
      "type" => "->"
      "function" => "handle"
      "file" => "/var/www/chamilo/vendor/symfony/http-kernel/Kernel.php"
      "line" => 197
      "args" => []
    ]
    [
      "namespace" => "Symfony\Component\HttpKernel"
      "short_class" => "Kernel"
      "class" => "Symfony\Component\HttpKernel\Kernel"
      "type" => "->"
      "function" => "handle"
      "file" => "/var/www/chamilo/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
      "line" => 35
      "args" => []
    ]
    [
      "namespace" => "Symfony\Component\Runtime\Runner\Symfony"
      "short_class" => "HttpKernelRunner"
      "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
      "type" => "->"
      "function" => "run"
      "file" => "/var/www/chamilo/vendor/autoload_runtime.php"
      "line" => 29
      "args" => []
    ]
    [
      "namespace" => ""
      "short_class" => ""
      "class" => ""
      "type" => ""
      "function" => "require_once"
      "file" => "/var/www/chamilo/public/index.php"
      "line" => 8
      "args" => [
        [
          "string"
          "/var/www/chamilo/vendor/autoload_runtime.php"
        ]
      ]
    ]
  ]
  -traceAsString: """
    #0 /var/www/chamilo/vendor/doctrine/dbal/src/Connection.php(1976): Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()\n
    #1 /var/www/chamilo/vendor/doctrine/dbal/src/Connection.php(1918): Doctrine\DBAL\Connection->handleDriverException()\n
    #2 /var/www/chamilo/vendor/doctrine/dbal/src/Connection.php(1111): Doctrine\DBAL\Connection->convertExceptionDuringQuery()\n
    #3 /var/www/chamilo/vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php(31): Doctrine\DBAL\Connection->executeQuery()\n
    #4 /var/www/chamilo/vendor/doctrine/orm/src/Query.php(330): Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute()\n
    #5 /var/www/chamilo/vendor/doctrine/orm/src/AbstractQuery.php(1213): Doctrine\ORM\Query->_doExecute()\n
    #6 /var/www/chamilo/vendor/doctrine/orm/src/AbstractQuery.php(1167): Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()\n
    #7 /var/www/chamilo/vendor/doctrine/orm/src/AbstractQuery.php(996): Doctrine\ORM\AbstractQuery->execute()\n
    #8 /var/www/chamilo/vendor/doctrine/orm/src/AbstractQuery.php(1025): Doctrine\ORM\AbstractQuery->getSingleResult()\n
    #9 /var/www/chamilo/src/CoreBundle/Repository/PageRepository.php(44): Doctrine\ORM\AbstractQuery->getSingleScalarResult()\n
    #10 /var/www/chamilo/src/CoreBundle/Controller/PageController.php(38): Chamilo\CoreBundle\Repository\PageRepository->countByCategoryAndLocale()\n
    #11 /var/www/chamilo/vendor/symfony/http-kernel/HttpKernel.php(181): Chamilo\CoreBundle\Controller\PageController->topbarVisibility()\n
    #12 /var/www/chamilo/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()\n
    #13 /var/www/chamilo/vendor/symfony/http-kernel/Kernel.php(197): Symfony\Component\HttpKernel\HttpKernel->handle()\n
    #14 /var/www/chamilo/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php(35): Symfony\Component\HttpKernel\Kernel->handle()\n
    #15 /var/www/chamilo/vendor/autoload_runtime.php(29): Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()\n
    #16 /var/www/chamilo/public/index.php(8): require_once('...')\n
    #17 {main}
    """
  -class: "Doctrine\DBAL\Exception\TableNotFoundException"
  -statusCode: 500
  -statusText: "Internal Server Error"
  -headers: [
    "Vary" => "Accept"
    "X-Debug-Exception" => "An%20exception%20occurred%20while%20executing%20a%20query%3A%20SQLSTATE%5B42S02%5D%3A%20Base%20table%20or%20view%20not%20found%3A%201146%20Table%20%27chamilo2.page%27%20doesn%27t%20exist"
    "X-Debug-Exception-File" => "%2Fvar%2Fwww%2Fchamilo%2Fvendor%2Fdoctrine%2Fdbal%2Fsrc%2FDriver%2FAPI%2FMySQL%2FExceptionConverter.php:51"
    "Content-Type" => "application/json"
  ]
  -file: "/var/www/chamilo/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php"
  -line: 51
  -asString: "{"type":"https:\/\/tools.ietf.org\/html\/rfc2616#section-10","title":"An error occurred","status":500,"detail":"An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'chamilo2.page' doesn't exist","class":"Doctrine\\DBAL\\Exception\\TableNotFoundException","trace":[{"namespace":"","short_class":"","class":"","type":"","function":"","file":"\/var\/www\/chamilo\/vendor\/doctrine\/dbal\/src\/Driver\/API\/MySQL\/ExceptionConverter.php","line":51,"args":[]},{"namespace":"Doctrine\\DBAL\\Driver\\API\\MySQL","short_class":"ExceptionConverter","class":"Doctrine\\DBAL\\Driver\\API\\MySQL\\ExceptionConverter","type":"->","function":"convert","file":"\/var\/www\/chamilo\/vendor\/doctrine\/dbal\/src\/Connection.php","line":1976,"args":[]},{"namespace":"Doctrine\\DBAL","short_class":"Connection","class":"Doctrine\\DBAL\\Connection","type":"->","function":"handleDriverException","file":"\/var\/www\/chamilo\/vendor\/doctrine\/dbal\/src\/Connection.php","line":1918,"args":[]},{"namespace":"Doctrine\\DBAL","short_class":"Connection","class":"Doctrine\\DBAL\\Connection","type":"->","function":"convertExceptionDuringQuery","file":"\/var\/www\/chamilo\/vendor\/doctrine\/dbal\/src\/Connection.php","line":1111,"args":[]},{"namespace":"Doctrine\\DBAL","short_class":"Connection","class":"Doctrine\\DBAL\\Connection","type":"->","function":"executeQuery","file":"\/var\/www\/chamilo\/vendor\/doctrine\/orm\/src\/Query\/Exec\/FinalizedSelectExecutor.php","line":31,"args":[]},{"namespace":"Doctrine\\ORM\\Query\\Exec","short_class":"FinalizedSelectExecutor","class":"Doctrine\\ORM\\Query\\Exec\\FinalizedSelectExecutor","type":"->","function":"execute","file":"\/var\/www\/chamilo\/vendor\/doctrine\/orm\/src\/Query.php","line":330,"args":[]},{"namespace":"Doctrine\\ORM","short_class":"Query","class":"Doctrine\\ORM\\Query","type":"->","function":"_doExecute","file":"\/var\/www\/chamilo\/vendor\/doctrine\/orm\/src\/AbstractQuery.php","line":1213,"args":[]},{"namespace":"Doctrine\\ORM","short_class":"AbstractQuery","class":"Doctrine\\ORM\\AbstractQuery","type":"->","function":"executeIgnoreQueryCache","file":"\/var\/www\/chamilo\/vendor\/doctrine\/orm\/src\/AbstractQuery.php","line":1167,"args":[]},{"namespace":"Doctrine\\ORM","short_class":"AbstractQuery","class":"Doctrine\\ORM\\AbstractQuery","type":"->","function":"execute","file":"\/var\/www\/chamilo\/vendor\/doctrine\/orm\/src\/AbstractQuery.php","line":996,"args":[]},{"namespace":"Doctrine\\ORM","short_class":"AbstractQuery","class":"Doctrine\\ORM\\AbstractQuery","type":"->","function":"getSingleResult","file":"\/var\/www\/chamilo\/vendor\/doctrine\/orm\/src\/AbstractQuery.php","line":1025,"args":[]},{"namespace":"Doctrine\\ORM","short_class":"AbstractQuery","class":"Doctrine\\ORM\\AbstractQuery","type":"->","function":"getSingleScalarResult","file":"\/var\/www\/chamilo\/src\/CoreBundle\/Repository\/PageRepository.php","line":44,"args":[]},{"namespace":"Chamilo\\CoreBundle\\Repository","short_class":"PageRepository","class":"Chamilo\\CoreBundle\\Repository\\PageRepository","type":"->","function":"countByCategoryAndLocale","file":"\/var\/www\/chamilo\/src\/CoreBundle\/Controller\/PageController.php","line":38,"args":[]},{"namespace":"Chamilo\\CoreBundle\\Controller","short_class":"PageController","class":"Chamilo\\CoreBundle\\Controller\\PageController","type":"->","function":"topbarVisibility","file":"\/var\/www\/chamilo\/vendor\/symfony\/http-kernel\/HttpKernel.php","line":181,"args":[]},{"namespace":"Symfony\\Component\\HttpKernel","short_class":"HttpKernel","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->","function":"handleRaw","file":"\/var\/www\/chamilo\/vendor\/symfony\/http-kernel\/HttpKernel.php","line":76,"args":[]},{"namespace":"Symfony\\Component\\HttpKernel","short_class":"HttpKernel","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->","function":"handle","file":"\/var\/www\/chamilo\/vendor\/symfony\/http-kernel\/Kernel.php","line":197,"args":[]},{"namespace":"Symfony\\Component\\HttpKernel","short_class":"Kernel","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"->","function":"handle","file":"\/var\/www\/chamilo\/vendor\/symfony\/runtime\/Runner\/Symfony\/HttpKernelRunner.php","line":35,"args":[]},{"namespace":"Symfony\\Component\\Runtime\\Runner\\Symfony","short_class":"HttpKernelRunner","class":"Symfony\\Component\\Runtime\\Runner\\Symfony\\HttpKernelRunner","type":"->","function":"run","file":"\/var\/www\/chamilo\/vendor\/autoload_runtime.php","line":29,"args":[]},{"namespace":"","short_class":"","class":"","type":"","function":"require_once","file":"\/var\/www\/chamilo\/public\/index.php","line":8,"args":[["string","\/var\/www\/chamilo\/vendor\/autoload_runtime.php"]]}]}"
  -dataRepresentation: ? Symfony\Component\VarDumper\Cloner\Data
}
Format: json
Show context
[
  "exception" => Doctrine\DBAL\Exception\TableNotFoundException {#2009
    #message: "An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'chamilo2.page' doesn't exist"
    #code: 1146
    #file: "/var/www/chamilo/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php"
    #line: 51
    -previous: Doctrine\DBAL\Driver\PDO\Exception {#2013 …}
    -query: Doctrine\DBAL\Query {#2012 …}
    trace: {
      /var/www/chamilo/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:51 {
        Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(Exception $exception, ?Query $query): DriverException …
        › case 1146:    return new TableNotFoundException($exception, $query);}
      /var/www/chamilo/vendor/doctrine/dbal/src/Connection.php:1976 {
        Doctrine\DBAL\Connection->handleDriverException(Exception $driverException, ?Query $query): DriverException …
        › $this->exceptionConverter ??= $this->_driver->getExceptionConverter();$exception                  = $this->exceptionConverter->convert($driverException, $query);}
      /var/www/chamilo/vendor/doctrine/dbal/src/Connection.php:1918 {
        Doctrine\DBAL\Connection->convertExceptionDuringQuery(Exception $e, string $sql, array $params = [], array $types = []): DriverException …
        › ): DriverException {    return $this->handleDriverException($e, new Query($sql, $params, $types));}
      }
      /var/www/chamilo/vendor/doctrine/dbal/src/Connection.php:1111 {
        Doctrine\DBAL\Connection->executeQuery(string $sql, array $params = [], $types = [], ?QueryCacheProfile $qcp = null): Result …
        › } catch (Driver\Exception $e) {    throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);} finally {
      }
      /var/www/chamilo/vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php:31 {
        Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute(Connection $conn, array $params, array $types): Result …
        › {    return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);}
      }
      /var/www/chamilo/vendor/doctrine/orm/src/Query.php:330 {
        Doctrine\ORM\Query->_doExecute() …
        › 
        ›     return $executor->execute($this->_em->getConnection(), $sqlParams, $types);}
      }
      /var/www/chamilo/vendor/doctrine/orm/src/AbstractQuery.php:1213 {
        Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache($parameters = null, $hydrationMode = null) …
        › 
        › $stmt = $this->_doExecute();}
      /var/www/chamilo/vendor/doctrine/orm/src/AbstractQuery.php:1167 {
        Doctrine\ORM\AbstractQuery->execute($parameters = null, $hydrationMode = null) …
        › 
        ›     return $this->executeIgnoreQueryCache($parameters, $hydrationMode);}
      }
      /var/www/chamilo/vendor/doctrine/orm/src/AbstractQuery.php:996 {
        Doctrine\ORM\AbstractQuery->getSingleResult($hydrationMode = null) …
        › {    $result = $this->execute(null, $hydrationMode);}
      /var/www/chamilo/vendor/doctrine/orm/src/AbstractQuery.php:1025 {
        Doctrine\ORM\AbstractQuery->getSingleScalarResult() …
        › {    return $this->getSingleResult(self::HYDRATE_SINGLE_SCALAR);}
      }
      /var/www/chamilo/src/CoreBundle/Repository/PageRepository.php:44 {
        Chamilo\CoreBundle\Repository\PageRepository->countByCategoryAndLocale(AccessUrl $url, string $categoryTitle, string $locale): int …
        › 
        ›     return (int) $qb->getQuery()->getSingleScalarResult();}
      }
      /var/www/chamilo/src/CoreBundle/Controller/PageController.php:38 {
        Chamilo\CoreBundle\Controller\PageController->topbarVisibility(Request $request, PageRepository $pageRepo): JsonResponse …
        › 
        › $homeExact = '' !== $locale ? $pageRepo->countByCategoryAndLocale($accessUrl, 'index', $locale) : 0;$homePrefix = '' !== $prefix ? $pageRepo->countByCategoryAndLocalePrefix($accessUrl, 'index', $prefix) : 0;
      }
      /var/www/chamilo/vendor/symfony/http-kernel/HttpKernel.php:181 {
        Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
        › // call controller$response = $controller(...$arguments);}
      /var/www/chamilo/vendor/symfony/http-kernel/HttpKernel.php:76 {
        Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
        › try {    return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {
      }
      /var/www/chamilo/vendor/symfony/http-kernel/Kernel.php:197 {
        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/chamilo/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
        Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
        › {    $response = $this->kernel->handle($this->request);}
      /var/www/chamilo/vendor/autoload_runtime.php:29 {
        require_once …
        ›         ->getRunner($app)        ->run());
      }
      /var/www/chamilo/public/index.php:8 {
        › 
        › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
          "/var/www/chamilo/vendor/autoload_runtime.php"
        }
      }
    }
  }
  "debug" => true
]
ProblemNormalizer (0.01 ms) JsonEncoder (0.06 ms) 1.63 ms

deserialize 0

Nothing was deserialized.

normalize 0

Nothing was normalized.

denormalize 0

Nothing was denormalized.

encode 0

Nothing was encoded.

decode 0

Nothing was decoded.