Error 500 Internal Server Error

GET https://content.gamingdesktop.com.au/admin/store-pricing-rule

Exceptions

An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'content.store_pricing_rule' doesn't exist

Exceptions 3

Doctrine\DBAL\Exception\ TableNotFoundException

Show exception properties
Doctrine\DBAL\Exception\TableNotFoundException {#1472
  -query: Doctrine\DBAL\Query {#1418
    -sql: "SELECT DISTINCT s0_.id AS id_0 FROM store_pricing_rule s0_ LIMIT 30"
    -params: []
    -types: []
  }
}
  1. 1008 => new DatabaseDoesNotExist($exception, $query),
  2. 1213 => new DeadlockException($exception, $query),
  3. 1205 => new LockWaitTimeoutException($exception, $query),
  4. 1050 => new TableExistsException($exception, $query),
  5. 1051,
  6. 1146 => new TableNotFoundException($exception, $query),
  7. 1216,
  8. 1217,
  9. 1451,
  10. 1452,
  11. 1701 => new ForeignKeyConstraintViolationException($exception, $query),
  1. private function handleDriverException(
  2. Driver\Exception $driverException,
  3. ?Query $query,
  4. ): DriverException {
  5. $this->exceptionConverter ??= $this->driver->getExceptionConverter();
  6. $exception = $this->exceptionConverter->convert($driverException, $query);
  7. if ($exception instanceof ConnectionLost) {
  8. $this->close();
  9. }
in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1390)
  1. Driver\Exception $e,
  2. string $sql,
  3. array $params = [],
  4. array $types = [],
  5. ): DriverException {
  6. return $this->handleDriverException($e, new Query($sql, $params, $types));
  7. }
  8. /** @internal */
  9. final public function convertException(Driver\Exception $e): DriverException
  10. {
in vendor/doctrine/dbal/src/Connection.php -> convertExceptionDuringQuery (line 807)
  1. $result = $connection->query($sql);
  2. }
  3. return new Result($result, $this);
  4. } catch (Driver\Exception $e) {
  5. throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);
  6. }
  7. }
  8. /**
  9. * Executes a caching query.
  1. /**
  2. * {@inheritDoc}
  3. */
  4. public function execute(Connection $conn, array $params, array $types): Result
  5. {
  6. return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);
  7. }
  8. }
in vendor/doctrine/orm/src/Query.php -> execute (line 296)
  1. $sqlParams,
  2. $types,
  3. $this->em->getConnection()->getParams(),
  4. );
  5. return $executor->execute($this->em->getConnection(), $sqlParams, $types);
  6. }
  7. /**
  8. * @param array<string,mixed> $sqlParams
  9. * @param array<string,Type> $types
  1. $setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {
  2. $cache->save($cacheItem->set($result + [$realCacheKey => $data]));
  3. };
  4. }
  5. $stmt = $this->_doExecute();
  6. if (is_numeric($stmt)) {
  7. $setCacheEntry($stmt);
  8. return $stmt;
in vendor/doctrine/orm/src/AbstractQuery.php -> executeIgnoreQueryCache (line 886)
  1. ): mixed {
  2. if ($this->cacheable && $this->isCacheEnabled()) {
  3. return $this->executeUsingQueryCache($parameters, $hydrationMode);
  4. }
  5. return $this->executeIgnoreQueryCache($parameters, $hydrationMode);
  6. }
  7. /**
  8. * Execute query ignoring second level cache.
  9. *
  1. *
  2. * @return mixed[]
  3. */
  4. public function getScalarResult(): array
  5. {
  6. return $this->execute(null, self::HYDRATE_SCALAR);
  7. }
  8. /**
  9. * Get exactly one result or null.
  10. *
  1. $this->unbindUnusedQueryParams($subQuery);
  2. }
  3. $subQuery->setFirstResult($offset)->setMaxResults($length);
  4. $foundIdRows = $subQuery->getScalarResult();
  5. // don't do this for an empty id array
  6. if ($foundIdRows === []) {
  7. return new ArrayIterator([]);
  8. }
  1. $useOutputWalkers = null !== $havingPart;
  2. }
  3. }
  4. $paginator->setUseOutputWalkers($useOutputWalkers);
  5. $this->results = $paginator->getIterator();
  6. $this->numResults = $paginator->count();
  7. if ($this->rangeLastResultNumber > $this->numResults) {
  8. $this->rangeLastResultNumber = $this->numResults;
  9. }
  1. {
  2. $adminContext = $this->adminContextProvider->getContext();
  3. $paginatorDto = $adminContext->getCrud()->getPaginator();
  4. $paginatorDto->setPageNumber((int) $adminContext->getRequest()->query->get('page', '1'));
  5. return $this->entityPaginator->paginate($paginatorDto, $queryBuilder);
  6. }
  7. }
  1. }
  2. $fields = new FieldCollection($this->configureFields(Crud::PAGE_INDEX));
  3. $filters = $this->container->get(FilterFactory::class)->create($context->getCrud()->getFiltersConfig(), $fields, $context->getEntity());
  4. $queryBuilder = $this->createIndexQueryBuilder($context->getSearch(), $context->getEntity(), $fields, $filters);
  5. $paginator = $this->container->get(PaginatorFactory::class)->create($queryBuilder);
  6. // this can happen after deleting some items and trying to return
  7. // to a 'index' page that no longer exists. Redirect to the last page instead
  8. if ($paginator->isOutOfRange()) {
  9. return $this->redirect($this->container->get(AdminUrlGeneratorInterface::class)
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type, $controllerMetadata);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. $response->send(false);
  7. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
  8. fastcgi_finish_request();
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/content/htdocs/content.gamingdesktop.com.au/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'content.store_pricing_rule' doesn't exist

  1. } else {
  2. $code = $exception->getCode();
  3. $sqlState = null;
  4. }
  5. return new self($exception->getMessage(), $sqlState, $code, $exception);
  6. }
  7. }
  1. $stmt = $this->connection->query($sql);
  2. assert($stmt instanceof PDOStatement);
  3. return new Result($stmt);
  4. } catch (PDOException $exception) {
  5. throw Exception::new($exception);
  6. }
  7. }
  8. public function quote(string $value): string
  9. {
  1. return $this->wrappedConnection->prepare($sql);
  2. }
  3. public function query(string $sql): Result
  4. {
  5. return $this->wrappedConnection->query($sql);
  6. }
  7. public function quote(string $value): string
  8. {
  9. return $this->wrappedConnection->quote($value);
  1. public function query(string $sql): Result
  2. {
  3. $this->logger->debug('Executing query: {sql}', ['sql' => $sql]);
  4. return parent::query($sql);
  5. }
  6. public function exec(string $sql): int|string
  7. {
  8. $this->logger->debug('Executing statement: {sql}', ['sql' => $sql]);
  1. return $this->wrappedConnection->prepare($sql);
  2. }
  3. public function query(string $sql): Result
  4. {
  5. return $this->wrappedConnection->query($sql);
  6. }
  7. public function quote(string $value): string
  8. {
  9. return $this->wrappedConnection->quote($value);
  1. $this->stopwatch?->start('doctrine', 'doctrine');
  2. $query->start();
  3. try {
  4. return parent::query($sql);
  5. } finally {
  6. $query->stop();
  7. $this->stopwatch?->stop('doctrine');
  8. }
  9. }
  1. * {@inheritdoc}
  2. */
  3. public function query(?string $sql = null, ...$args): Result
  4. {
  5. return $this->traceFunction(self::SPAN_OP_CONN_QUERY, $sql, function () use ($sql, $args): Result {
  6. return $this->decoratedConnection->query($sql, ...$args);
  7. });
  8. }
  9. /**
  10. * {@inheritdoc}
in vendor/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php -> {closure:Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverConnectionForV4::query():117} (line 246)
  1. ->setDescription($spanDescription)
  2. );
  3. }
  4. try {
  5. return $callback();
  6. } finally {
  7. if (null !== $span) {
  8. $span->finish();
  9. }
  10. }
  1. /**
  2. * {@inheritdoc}
  3. */
  4. public function query(?string $sql = null, ...$args): Result
  5. {
  6. return $this->traceFunction(self::SPAN_OP_CONN_QUERY, $sql, function () use ($sql, $args): Result {
  7. return $this->decoratedConnection->query($sql, ...$args);
  8. });
  9. }
  10. /**
  1. $this->bindParameters($stmt, $params, $types);
  2. $result = $stmt->execute();
  3. } else {
  4. $result = $connection->query($sql);
  5. }
  6. return new Result($result, $this);
  7. } catch (Driver\Exception $e) {
  8. throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);
  1. /**
  2. * {@inheritDoc}
  3. */
  4. public function execute(Connection $conn, array $params, array $types): Result
  5. {
  6. return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);
  7. }
  8. }
in vendor/doctrine/orm/src/Query.php -> execute (line 296)
  1. $sqlParams,
  2. $types,
  3. $this->em->getConnection()->getParams(),
  4. );
  5. return $executor->execute($this->em->getConnection(), $sqlParams, $types);
  6. }
  7. /**
  8. * @param array<string,mixed> $sqlParams
  9. * @param array<string,Type> $types
  1. $setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {
  2. $cache->save($cacheItem->set($result + [$realCacheKey => $data]));
  3. };
  4. }
  5. $stmt = $this->_doExecute();
  6. if (is_numeric($stmt)) {
  7. $setCacheEntry($stmt);
  8. return $stmt;
in vendor/doctrine/orm/src/AbstractQuery.php -> executeIgnoreQueryCache (line 886)
  1. ): mixed {
  2. if ($this->cacheable && $this->isCacheEnabled()) {
  3. return $this->executeUsingQueryCache($parameters, $hydrationMode);
  4. }
  5. return $this->executeIgnoreQueryCache($parameters, $hydrationMode);
  6. }
  7. /**
  8. * Execute query ignoring second level cache.
  9. *
  1. *
  2. * @return mixed[]
  3. */
  4. public function getScalarResult(): array
  5. {
  6. return $this->execute(null, self::HYDRATE_SCALAR);
  7. }
  8. /**
  9. * Get exactly one result or null.
  10. *
  1. $this->unbindUnusedQueryParams($subQuery);
  2. }
  3. $subQuery->setFirstResult($offset)->setMaxResults($length);
  4. $foundIdRows = $subQuery->getScalarResult();
  5. // don't do this for an empty id array
  6. if ($foundIdRows === []) {
  7. return new ArrayIterator([]);
  8. }
  1. $useOutputWalkers = null !== $havingPart;
  2. }
  3. }
  4. $paginator->setUseOutputWalkers($useOutputWalkers);
  5. $this->results = $paginator->getIterator();
  6. $this->numResults = $paginator->count();
  7. if ($this->rangeLastResultNumber > $this->numResults) {
  8. $this->rangeLastResultNumber = $this->numResults;
  9. }
  1. {
  2. $adminContext = $this->adminContextProvider->getContext();
  3. $paginatorDto = $adminContext->getCrud()->getPaginator();
  4. $paginatorDto->setPageNumber((int) $adminContext->getRequest()->query->get('page', '1'));
  5. return $this->entityPaginator->paginate($paginatorDto, $queryBuilder);
  6. }
  7. }
  1. }
  2. $fields = new FieldCollection($this->configureFields(Crud::PAGE_INDEX));
  3. $filters = $this->container->get(FilterFactory::class)->create($context->getCrud()->getFiltersConfig(), $fields, $context->getEntity());
  4. $queryBuilder = $this->createIndexQueryBuilder($context->getSearch(), $context->getEntity(), $fields, $filters);
  5. $paginator = $this->container->get(PaginatorFactory::class)->create($queryBuilder);
  6. // this can happen after deleting some items and trying to return
  7. // to a 'index' page that no longer exists. Redirect to the last page instead
  8. if ($paginator->isOutOfRange()) {
  9. return $this->redirect($this->container->get(AdminUrlGeneratorInterface::class)
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type, $controllerMetadata);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. $response->send(false);
  7. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
  8. fastcgi_finish_request();
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/content/htdocs/content.gamingdesktop.com.au/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

PDOException

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'content.store_pricing_rule' doesn't exist

  1. }
  2. public function query(string $sql): Result
  3. {
  4. try {
  5. $stmt = $this->connection->query($sql);
  6. assert($stmt instanceof PDOStatement);
  7. return new Result($stmt);
  8. } catch (PDOException $exception) {
  9. throw Exception::new($exception);
  1. }
  2. public function query(string $sql): Result
  3. {
  4. try {
  5. $stmt = $this->connection->query($sql);
  6. assert($stmt instanceof PDOStatement);
  7. return new Result($stmt);
  8. } catch (PDOException $exception) {
  9. throw Exception::new($exception);
  1. return $this->wrappedConnection->prepare($sql);
  2. }
  3. public function query(string $sql): Result
  4. {
  5. return $this->wrappedConnection->query($sql);
  6. }
  7. public function quote(string $value): string
  8. {
  9. return $this->wrappedConnection->quote($value);
  1. public function query(string $sql): Result
  2. {
  3. $this->logger->debug('Executing query: {sql}', ['sql' => $sql]);
  4. return parent::query($sql);
  5. }
  6. public function exec(string $sql): int|string
  7. {
  8. $this->logger->debug('Executing statement: {sql}', ['sql' => $sql]);
  1. return $this->wrappedConnection->prepare($sql);
  2. }
  3. public function query(string $sql): Result
  4. {
  5. return $this->wrappedConnection->query($sql);
  6. }
  7. public function quote(string $value): string
  8. {
  9. return $this->wrappedConnection->quote($value);
  1. $this->stopwatch?->start('doctrine', 'doctrine');
  2. $query->start();
  3. try {
  4. return parent::query($sql);
  5. } finally {
  6. $query->stop();
  7. $this->stopwatch?->stop('doctrine');
  8. }
  9. }
  1. * {@inheritdoc}
  2. */
  3. public function query(?string $sql = null, ...$args): Result
  4. {
  5. return $this->traceFunction(self::SPAN_OP_CONN_QUERY, $sql, function () use ($sql, $args): Result {
  6. return $this->decoratedConnection->query($sql, ...$args);
  7. });
  8. }
  9. /**
  10. * {@inheritdoc}
in vendor/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php -> {closure:Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverConnectionForV4::query():117} (line 246)
  1. ->setDescription($spanDescription)
  2. );
  3. }
  4. try {
  5. return $callback();
  6. } finally {
  7. if (null !== $span) {
  8. $span->finish();
  9. }
  10. }
  1. /**
  2. * {@inheritdoc}
  3. */
  4. public function query(?string $sql = null, ...$args): Result
  5. {
  6. return $this->traceFunction(self::SPAN_OP_CONN_QUERY, $sql, function () use ($sql, $args): Result {
  7. return $this->decoratedConnection->query($sql, ...$args);
  8. });
  9. }
  10. /**
  1. $this->bindParameters($stmt, $params, $types);
  2. $result = $stmt->execute();
  3. } else {
  4. $result = $connection->query($sql);
  5. }
  6. return new Result($result, $this);
  7. } catch (Driver\Exception $e) {
  8. throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);
  1. /**
  2. * {@inheritDoc}
  3. */
  4. public function execute(Connection $conn, array $params, array $types): Result
  5. {
  6. return $conn->executeQuery($this->getSqlStatements(), $params, $types, $this->queryCacheProfile);
  7. }
  8. }
in vendor/doctrine/orm/src/Query.php -> execute (line 296)
  1. $sqlParams,
  2. $types,
  3. $this->em->getConnection()->getParams(),
  4. );
  5. return $executor->execute($this->em->getConnection(), $sqlParams, $types);
  6. }
  7. /**
  8. * @param array<string,mixed> $sqlParams
  9. * @param array<string,Type> $types
  1. $setCacheEntry = static function ($data) use ($cache, $result, $cacheItem, $realCacheKey): void {
  2. $cache->save($cacheItem->set($result + [$realCacheKey => $data]));
  3. };
  4. }
  5. $stmt = $this->_doExecute();
  6. if (is_numeric($stmt)) {
  7. $setCacheEntry($stmt);
  8. return $stmt;
in vendor/doctrine/orm/src/AbstractQuery.php -> executeIgnoreQueryCache (line 886)
  1. ): mixed {
  2. if ($this->cacheable && $this->isCacheEnabled()) {
  3. return $this->executeUsingQueryCache($parameters, $hydrationMode);
  4. }
  5. return $this->executeIgnoreQueryCache($parameters, $hydrationMode);
  6. }
  7. /**
  8. * Execute query ignoring second level cache.
  9. *
  1. *
  2. * @return mixed[]
  3. */
  4. public function getScalarResult(): array
  5. {
  6. return $this->execute(null, self::HYDRATE_SCALAR);
  7. }
  8. /**
  9. * Get exactly one result or null.
  10. *
  1. $this->unbindUnusedQueryParams($subQuery);
  2. }
  3. $subQuery->setFirstResult($offset)->setMaxResults($length);
  4. $foundIdRows = $subQuery->getScalarResult();
  5. // don't do this for an empty id array
  6. if ($foundIdRows === []) {
  7. return new ArrayIterator([]);
  8. }
  1. $useOutputWalkers = null !== $havingPart;
  2. }
  3. }
  4. $paginator->setUseOutputWalkers($useOutputWalkers);
  5. $this->results = $paginator->getIterator();
  6. $this->numResults = $paginator->count();
  7. if ($this->rangeLastResultNumber > $this->numResults) {
  8. $this->rangeLastResultNumber = $this->numResults;
  9. }
  1. {
  2. $adminContext = $this->adminContextProvider->getContext();
  3. $paginatorDto = $adminContext->getCrud()->getPaginator();
  4. $paginatorDto->setPageNumber((int) $adminContext->getRequest()->query->get('page', '1'));
  5. return $this->entityPaginator->paginate($paginatorDto, $queryBuilder);
  6. }
  7. }
  1. }
  2. $fields = new FieldCollection($this->configureFields(Crud::PAGE_INDEX));
  3. $filters = $this->container->get(FilterFactory::class)->create($context->getCrud()->getFiltersConfig(), $fields, $context->getEntity());
  4. $queryBuilder = $this->createIndexQueryBuilder($context->getSearch(), $context->getEntity(), $fields, $filters);
  5. $paginator = $this->container->get(PaginatorFactory::class)->create($queryBuilder);
  6. // this can happen after deleting some items and trying to return
  7. // to a 'index' page that no longer exists. Redirect to the last page instead
  8. if ($paginator->isOutOfRange()) {
  9. return $this->redirect($this->container->get(AdminUrlGeneratorInterface::class)
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type, $controllerMetadata);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. $response->send(false);
  7. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
  8. fastcgi_finish_request();
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/content/htdocs/content.gamingdesktop.com.au/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Logs

Level Channel Message
INFO 12:52:15 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "f0ca87"
    },
    "request_uri": "https://content.gamingdesktop.com.au/_profiler/f0ca87",
    "method": "GET"
}

Stack Traces 3

[3/3] TableNotFoundException
Doctrine\DBAL\Exception\TableNotFoundException:
An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'content.store_pricing_rule' doesn't exist

  at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:51
  at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
     (vendor/doctrine/dbal/src/Connection.php:1454)
  at Doctrine\DBAL\Connection->handleDriverException()
     (vendor/doctrine/dbal/src/Connection.php:1390)
  at Doctrine\DBAL\Connection->convertExceptionDuringQuery()
     (vendor/doctrine/dbal/src/Connection.php:807)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php:27)
  at Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute()
     (vendor/doctrine/orm/src/Query.php:296)
  at Doctrine\ORM\Query->_doExecute()
     (vendor/doctrine/orm/src/AbstractQuery.php:930)
  at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()
     (vendor/doctrine/orm/src/AbstractQuery.php:886)
  at Doctrine\ORM\AbstractQuery->execute()
     (vendor/doctrine/orm/src/AbstractQuery.php:724)
  at Doctrine\ORM\AbstractQuery->getScalarResult()
     (vendor/doctrine/orm/src/Tools/Pagination/Paginator.php:127)
  at Doctrine\ORM\Tools\Pagination\Paginator->getIterator()
     (vendor/easycorp/easyadmin-bundle/src/Orm/EntityPaginator.php:71)
  at EasyCorp\Bundle\EasyAdminBundle\Orm\EntityPaginator->paginate()
     (vendor/easycorp/easyadmin-bundle/src/Factory/PaginatorFactory.php:26)
  at EasyCorp\Bundle\EasyAdminBundle\Factory\PaginatorFactory->create()
     (vendor/easycorp/easyadmin-bundle/src/Controller/AbstractCrudController.php:147)
  at EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController->index()
     (vendor/symfony/http-kernel/HttpKernel.php:188)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:143)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/home/content/htdocs/content.gamingdesktop.com.au/vendor/autoload_runtime.php')
     (public/index.php:5)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'content.store_pricing_rule' doesn't exist

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:24
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (vendor/doctrine/dbal/src/Driver/PDO/Connection.php:62)
  at Doctrine\DBAL\Driver\PDO\Connection->query()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractConnectionMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractConnectionMiddleware->query()
     (vendor/doctrine/dbal/src/Logging/Connection.php:39)
  at Doctrine\DBAL\Logging\Connection->query()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractConnectionMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractConnectionMiddleware->query()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Connection.php:55)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Connection->query()
     (vendor/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php:118)
  at Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverConnectionForV4->{closure:Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverConnectionForV4::query():117}()
     (vendor/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php:246)
  at Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverConnectionForV4->traceFunction()
     (vendor/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php:117)
  at Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverConnectionForV4->query()
     (vendor/doctrine/dbal/src/Connection.php:802)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php:27)
  at Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute()
     (vendor/doctrine/orm/src/Query.php:296)
  at Doctrine\ORM\Query->_doExecute()
     (vendor/doctrine/orm/src/AbstractQuery.php:930)
  at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()
     (vendor/doctrine/orm/src/AbstractQuery.php:886)
  at Doctrine\ORM\AbstractQuery->execute()
     (vendor/doctrine/orm/src/AbstractQuery.php:724)
  at Doctrine\ORM\AbstractQuery->getScalarResult()
     (vendor/doctrine/orm/src/Tools/Pagination/Paginator.php:127)
  at Doctrine\ORM\Tools\Pagination\Paginator->getIterator()
     (vendor/easycorp/easyadmin-bundle/src/Orm/EntityPaginator.php:71)
  at EasyCorp\Bundle\EasyAdminBundle\Orm\EntityPaginator->paginate()
     (vendor/easycorp/easyadmin-bundle/src/Factory/PaginatorFactory.php:26)
  at EasyCorp\Bundle\EasyAdminBundle\Factory\PaginatorFactory->create()
     (vendor/easycorp/easyadmin-bundle/src/Controller/AbstractCrudController.php:147)
  at EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController->index()
     (vendor/symfony/http-kernel/HttpKernel.php:188)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:143)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/home/content/htdocs/content.gamingdesktop.com.au/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/3] PDOException
PDOException:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'content.store_pricing_rule' doesn't exist

  at vendor/doctrine/dbal/src/Driver/PDO/Connection.php:57
  at PDO->query()
     (vendor/doctrine/dbal/src/Driver/PDO/Connection.php:57)
  at Doctrine\DBAL\Driver\PDO\Connection->query()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractConnectionMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractConnectionMiddleware->query()
     (vendor/doctrine/dbal/src/Logging/Connection.php:39)
  at Doctrine\DBAL\Logging\Connection->query()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractConnectionMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractConnectionMiddleware->query()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Connection.php:55)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Connection->query()
     (vendor/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php:118)
  at Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverConnectionForV4->{closure:Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverConnectionForV4::query():117}()
     (vendor/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php:246)
  at Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverConnectionForV4->traceFunction()
     (vendor/sentry/sentry-symfony/src/Tracing/Doctrine/DBAL/TracingDriverConnectionForV4.php:117)
  at Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverConnectionForV4->query()
     (vendor/doctrine/dbal/src/Connection.php:802)
  at Doctrine\DBAL\Connection->executeQuery()
     (vendor/doctrine/orm/src/Query/Exec/FinalizedSelectExecutor.php:27)
  at Doctrine\ORM\Query\Exec\FinalizedSelectExecutor->execute()
     (vendor/doctrine/orm/src/Query.php:296)
  at Doctrine\ORM\Query->_doExecute()
     (vendor/doctrine/orm/src/AbstractQuery.php:930)
  at Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache()
     (vendor/doctrine/orm/src/AbstractQuery.php:886)
  at Doctrine\ORM\AbstractQuery->execute()
     (vendor/doctrine/orm/src/AbstractQuery.php:724)
  at Doctrine\ORM\AbstractQuery->getScalarResult()
     (vendor/doctrine/orm/src/Tools/Pagination/Paginator.php:127)
  at Doctrine\ORM\Tools\Pagination\Paginator->getIterator()
     (vendor/easycorp/easyadmin-bundle/src/Orm/EntityPaginator.php:71)
  at EasyCorp\Bundle\EasyAdminBundle\Orm\EntityPaginator->paginate()
     (vendor/easycorp/easyadmin-bundle/src/Factory/PaginatorFactory.php:26)
  at EasyCorp\Bundle\EasyAdminBundle\Factory\PaginatorFactory->create()
     (vendor/easycorp/easyadmin-bundle/src/Controller/AbstractCrudController.php:147)
  at EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController->index()
     (vendor/symfony/http-kernel/HttpKernel.php:188)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:143)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/home/content/htdocs/content.gamingdesktop.com.au/vendor/autoload_runtime.php')
     (public/index.php:5)