Exceptions
Exceptions 3
Doctrine\DBAL\Exception\ ConnectionException
case '42P07':
return new TableExistsException($message, $exception);
case '08006':
return new Exception\ConnectionException($message, $exception);
case '7':
// Prior to fixing https://bugs.php.net/bug.php?id=64705 (PHP 7.3.22 and PHP 7.4.10),
// in some cases (mainly connection errors) the PDO exception wouldn't provide a SQLSTATE via its code.
// The exception code would be always set to 7 here.
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php
->
convertException
(line 182)
if ($driverEx instanceof DriverException) {
return $driverEx;
}
if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DeprecatedDriverException) {
return $driver->convertException($msg, $driverEx);
}
return new Exception($msg, 0, $driverEx);
}
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php
::
wrapException
(line 169)
*
* @return Exception
*/
public static function driverException(Driver $driver, Throwable $driverEx)
{
return self::wrapException($driver, $driverEx, 'An exception occurred in driver: ' . $driverEx->getMessage());
}
/**
* @return Exception
*/
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOPgSql/Driver.php
::
driverException
(line 52)
$pdo->exec('SET NAMES \'' . $params['charset'] . '\'');
}
return $pdo;
} catch (PDOException $e) {
throw Exception::driverException($this, $e);
}
}
/**
* Constructs the Postgres PDO DSN.
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
->
connect
(line 412)
$driverOptions = $this->params['driverOptions'] ?? [];
$user = $this->params['user'] ?? null;
$password = $this->params['password'] ?? null;
$this->_conn = $this->_driver->connect($this->params, $user, $password, $driverOptions);
$this->transactionNestingLevel = 0;
if ($this->autoCommit === false) {
$this->beginTransaction();
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
->
connect
(line 1952)
*
* @return DriverConnection
*/
public function getWrappedConnection()
{
$this->connect();
assert($this->_conn !== null);
return $this->_conn;
}
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
->
getWrappedConnection
(line 980)
* @param mixed $value
* @param int|string|Type|null $type
*/
public function quote($value, $type = ParameterType::STRING)
{
$connection = $this->getWrappedConnection();
[$value, $bindingType] = $this->getBindingInfo($value, $type);
return $connection->quote($value, $bindingType);
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
quote
(line 2411)
*/
public function walkLiteral($literal)
{
switch ($literal->type) {
case AST\Literal::STRING:
return $this->conn->quote($literal->value);
case AST\Literal::BOOLEAN:
return (string) $this->conn->getDatabasePlatform()->convertBooleans(strtolower($literal->value) === 'true');
case AST\Literal::NUMERIC:
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/Literal.php
->
walkLiteral
(line 38)
/**
* {@inheritdoc}
*/
public function dispatch($walker)
{
return $walker->walkLiteral($this);
}
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
dispatch
(line 2659)
if ($primary instanceof AST\SimpleArithmeticExpression) {
return '(' . $this->walkSimpleArithmeticExpression($primary) . ')';
}
if ($primary instanceof AST\Node) {
return $primary->dispatch($this);
}
return $this->walkEntityIdentificationVariable($primary);
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkArithmeticPrimary
(line 2635)
}
// Phase 2 AST optimization: Skip processing of ArithmeticFactor
// if only one ArithmeticPrimary is defined
if (! ($factor instanceof AST\ArithmeticFactor)) {
return $this->walkArithmeticPrimary($factor);
}
$sign = $factor->isNegativeSigned() ? '-' : ($factor->isPositiveSigned() ? '+' : '');
return $sign . $this->walkArithmeticPrimary($factor->arithmeticPrimary);
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkArithmeticFactor
(line 2609)
}
// Phase 2 AST optimization: Skip processing of ArithmeticTerm
// if only one ArithmeticFactor is defined
if (! ($term instanceof AST\ArithmeticTerm)) {
return $this->walkArithmeticFactor($term);
}
return implode(' ', array_map([$this, 'walkArithmeticFactor'], $term->arithmeticFactors));
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkArithmeticTerm
(line 2583)
* @not-deprecated
*/
public function walkSimpleArithmeticExpression($simpleArithmeticExpr)
{
if (! ($simpleArithmeticExpr instanceof AST\SimpleArithmeticExpression)) {
return $this->walkArithmeticTerm($simpleArithmeticExpr);
}
return implode(' ', array_map([$this, 'walkArithmeticTerm'], $simpleArithmeticExpr->arithmeticTerms));
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/Functions/LowerFunction.php
->
walkSimpleArithmeticExpression
(line 29)
/** @inheritdoc */
public function getSql(SqlWalker $sqlWalker)
{
return sprintf(
'LOWER(%s)',
$sqlWalker->walkSimpleArithmeticExpression($this->stringPrimary)
);
}
/** @inheritdoc */
public function parse(Parser $parser)
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
getSql
(line 1192)
*
* @not-deprecated
*/
public function walkFunction($function)
{
return $function->getSql($this);
}
/**
* Walks down an OrderByClause AST node, thereby generating the appropriate SQL.
*
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkFunction
(line 2474)
$sql = $leftExpr . ($likeExpr->not ? ' NOT' : '') . ' LIKE ';
if ($likeExpr->stringPattern instanceof AST\InputParameter) {
$sql .= $this->walkInputParameter($likeExpr->stringPattern);
} elseif ($likeExpr->stringPattern instanceof AST\Functions\FunctionNode) {
$sql .= $this->walkFunction($likeExpr->stringPattern);
} elseif ($likeExpr->stringPattern instanceof AST\PathExpression) {
$sql .= $this->walkPathExpression($likeExpr->stringPattern);
} else {
$sql .= $this->walkLiteral($likeExpr->stringPattern);
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/LikeExpression.php
->
walkLikeExpression
(line 46)
/**
* {@inheritdoc}
*/
public function dispatch($sqlWalker)
{
return $sqlWalker->walkLikeExpression($this);
}
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
dispatch
(line 2118)
* @not-deprecated
*/
public function walkConditionalPrimary($primary)
{
if ($primary->isSimpleConditionalExpression()) {
return $primary->simpleConditionalExpression->dispatch($this);
}
if ($primary->isConditionalExpression()) {
$condExpr = $primary->conditionalExpression;
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkConditionalPrimary
(line 2102)
public function walkConditionalFactor($factor)
{
// Phase 2 AST optimization: Skip processing of ConditionalFactor
// if only one ConditionalPrimary is defined
return ! ($factor instanceof AST\ConditionalFactor)
? $this->walkConditionalPrimary($factor)
: ($factor->not ? 'NOT ' : '') . $this->walkConditionalPrimary($factor->conditionalPrimary);
}
/**
* Walks down a ConditionalPrimary AST node, thereby generating the appropriate SQL.
SqlWalker->walkConditionalFactor()
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
array_map
(line 2085)
// if only one ConditionalFactor is defined
if (! ($condTerm instanceof AST\ConditionalTerm)) {
return $this->walkConditionalFactor($condTerm);
}
return implode(' AND ', array_map([$this, 'walkConditionalFactor'], $condTerm->conditionalFactors));
}
/**
* Walks down a ConditionalFactor AST node, thereby generating the appropriate SQL.
*
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkConditionalTerm
(line 2062)
public function walkConditionalExpression($condExpr)
{
// Phase 2 AST optimization: Skip processing of ConditionalExpression
// if only one ConditionalTerm is defined
if (! ($condExpr instanceof AST\ConditionalExpression)) {
return $this->walkConditionalTerm($condExpr);
}
return implode(' OR ', array_map([$this, 'walkConditionalTerm'], $condExpr->conditionalTerms));
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkConditionalExpression
(line 2013)
*
* @not-deprecated
*/
public function walkWhereClause($whereClause)
{
$condSql = $whereClause !== null ? $this->walkConditionalExpression($whereClause->conditionalExpression) : '';
$discrSql = $this->generateDiscriminatorColumnConditionSQL($this->rootAliases);
if ($this->em->hasFilters()) {
$filterClauses = [];
foreach ($this->rootAliases as $dqlAlias) {
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkWhereClause
(line 554)
$limit = $this->query->getMaxResults();
$offset = $this->query->getFirstResult();
$lockMode = $this->query->getHint(Query::HINT_LOCK_MODE) ?: LockMode::NONE;
$sql = $this->walkSelectClause($AST->selectClause)
. $this->walkFromClause($AST->fromClause)
. $this->walkWhereClause($AST->whereClause);
if ($AST->groupByClause) {
$sql .= $this->walkGroupByClause($AST->groupByClause);
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php
->
walkSelectStatement
(line 21)
*/
class SingleSelectExecutor extends AbstractSqlExecutor
{
public function __construct(SelectStatement $AST, SqlWalker $sqlWalker)
{
$this->_sqlStatements = $sqlWalker->walkSelectStatement($AST);
}
/**
* {@inheritDoc}
*
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
__construct
(line 302)
return $primaryClass->isInheritanceTypeJoined()
? new Exec\MultiTableUpdateExecutor($AST, $this)
: new Exec\SingleTableDeleteUpdateExecutor($AST, $this);
default:
return new Exec\SingleSelectExecutor($AST, $this);
}
}
/**
* Generates a unique, short SQL table alias.
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php
->
getExecutor
(line 397)
$outputWalkerClass = $this->customOutputWalker ?: SqlWalker::class;
$outputWalker = new $outputWalkerClass($this->query, $this->parserResult, $this->queryComponents);
// Assign an SQL executor to the parser result
$this->parserResult->setSqlExecutor($outputWalker->getExecutor($AST));
return $this->parserResult;
}
/**
in
vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php
->
parse
(line 256)
}
private function unbindUnusedQueryParams(Query $query): void
{
$parser = new Parser($query);
$parameterMappings = $parser->parse()->getParameterMappings();
/** @var Collection|Parameter[] $parameters */
$parameters = $query->getParameters();
foreach ($parameters as $key => $parameter) {
$parameterName = $parameter->getName();
in
vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php
->
unbindUnusedQueryParams
(line 245)
$countQuery->setHint(Query::HINT_CUSTOM_OUTPUT_WALKER, CountOutputWalker::class);
$countQuery->setResultSetMapping($rsm);
} else {
$this->appendTreeWalker($countQuery, CountWalker::class);
$this->unbindUnusedQueryParams($countQuery);
}
$countQuery->setFirstResult(0)->setMaxResults(null);
return $countQuery;
in
vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php
->
getCountQuery
(line 118)
#[ReturnTypeWillChange]
public function count()
{
if ($this->count === null) {
try {
$this->count = (int) array_sum(array_map('current', $this->getCountQuery()->getScalarResult()));
} catch (NoResultException $e) {
$this->count = 0;
}
}
Paginator->count()
in
vendor/knplabs/knp-components/src/Knp/Component/Pager/Event/Subscriber/Paginate/Doctrine/ORM/QuerySubscriber.php
count
(line 46)
$paginator = new Paginator($event->target, $fetchJoinCollection);
$paginator->setUseOutputWalkers($useOutputWalkers);
if (($count = $event->target->getHint(self::HINT_COUNT)) !== false) {
$event->count = (int) $count;
} else {
$event->count = count($paginator);
}
$event->items = iterator_to_array($paginator);
}
public static function getSubscribedEvents(): array
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
items
(line 118)
$this->priority = $dispatcher->getListenerPriority($eventName, $this->listener);
$e = $this->stopwatch->start($this->name, 'event_listener');
try {
($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(line 230)
foreach ($listeners as $listener) {
if ($stoppable && $event->isPropagationStopped()) {
break;
}
$listener($event, $eventName, $this);
}
}
/**
* Sorts the internal list of listeners for the given event by priority.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 59)
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 154)
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
in
vendor/knplabs/knp-components/src/Knp/Component/Pager/Paginator.php
->
dispatch
(line 93)
$this->eventDispatcher->dispatch($beforeEvent, 'knp_pager.before');
// items
$itemsEvent = new Event\ItemsEvent($offset, $limit);
$itemsEvent->options = &$options;
$itemsEvent->target = &$target;
$this->eventDispatcher->dispatch($itemsEvent, 'knp_pager.items');
if (!$itemsEvent->isPropagationStopped()) {
throw new \RuntimeException('One of listeners must count and slice given target');
}
if ($page > ceil($itemsEvent->count / $limit)) {
$pageOutOfRangeOption = $options[PaginatorInterface::PAGE_OUT_OF_RANGE] ?? $this->defaultOptions[PaginatorInterface::PAGE_OUT_OF_RANGE];
in
var/cache/dev/ContainerF3J4NcO/PaginatorInterface_82dac15.php
->
paginate
(line 30)
public function paginate($target, int $page = 1, ?int $limit = null, array $options = []) : \Knp\Component\Pager\Pagination\PaginationInterface
{
$this->initializer56dfc && ($this->initializer56dfc->__invoke($valueHolderd14db, $this, 'paginate', array('target' => $target, 'page' => $page, 'limit' => $limit, 'options' => $options), $this->initializer56dfc) || 1) && $this->valueHolderd14db = $valueHolderd14db;
if ($this->valueHolderd14db === $returnValue = $this->valueHolderd14db->paginate($target, $page, $limit, $options)) {
return $this;
}
return $returnValue;
}
$queryBuilder = $queryBuilder->andWhere("this.sektor = " . $request->get('sektor'));
}
$queryBuilder = $queryBuilder->addOrderBy('this.id', 'desc');
// dump($queryBuilder->getQuery()->getResult());exit;
$pagination = $paginatorInterface->paginate($queryBuilder, $request->query->getInt('page', 1), 10);
$kategori = array();
$icons = array();
foreach ($pagination as $pub) {
$kategori_detail = $mUrusanDetailRepository->findBy(['reff_id' => $pub->getId(), 'reff_name' => 'PUBLIKASI'], ['id' => 'ASC']);
in
vendor/symfony/http-kernel/HttpKernel.php
->
index
(line 163)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 75)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
$this->requestStack->push($request);
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
Debug::enable();
}
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
Doctrine\DBAL\Driver\PDO\ Exception
*/
final class Exception extends PDOException
{
public static function new(\PDOException $exception): self
{
return new self($exception);
}
}
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
::
new
(line 44)
try {
parent::__construct($dsn, (string) $user, (string) $password, (array) $options);
$this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [Statement::class, []]);
$this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
}
/**
* {@inheritdoc}
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOPgSql/Driver.php
->
__construct
(line 27)
*/
public function connect(array $params, $username = null, $password = null, array $driverOptions = [])
{
try {
$pdo = new PDO\Connection(
$this->_constructPdoDsn($params),
$username,
$password,
$driverOptions
);
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
->
connect
(line 412)
$driverOptions = $this->params['driverOptions'] ?? [];
$user = $this->params['user'] ?? null;
$password = $this->params['password'] ?? null;
$this->_conn = $this->_driver->connect($this->params, $user, $password, $driverOptions);
$this->transactionNestingLevel = 0;
if ($this->autoCommit === false) {
$this->beginTransaction();
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
->
connect
(line 1952)
*
* @return DriverConnection
*/
public function getWrappedConnection()
{
$this->connect();
assert($this->_conn !== null);
return $this->_conn;
}
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
->
getWrappedConnection
(line 980)
* @param mixed $value
* @param int|string|Type|null $type
*/
public function quote($value, $type = ParameterType::STRING)
{
$connection = $this->getWrappedConnection();
[$value, $bindingType] = $this->getBindingInfo($value, $type);
return $connection->quote($value, $bindingType);
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
quote
(line 2411)
*/
public function walkLiteral($literal)
{
switch ($literal->type) {
case AST\Literal::STRING:
return $this->conn->quote($literal->value);
case AST\Literal::BOOLEAN:
return (string) $this->conn->getDatabasePlatform()->convertBooleans(strtolower($literal->value) === 'true');
case AST\Literal::NUMERIC:
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/Literal.php
->
walkLiteral
(line 38)
/**
* {@inheritdoc}
*/
public function dispatch($walker)
{
return $walker->walkLiteral($this);
}
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
dispatch
(line 2659)
if ($primary instanceof AST\SimpleArithmeticExpression) {
return '(' . $this->walkSimpleArithmeticExpression($primary) . ')';
}
if ($primary instanceof AST\Node) {
return $primary->dispatch($this);
}
return $this->walkEntityIdentificationVariable($primary);
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkArithmeticPrimary
(line 2635)
}
// Phase 2 AST optimization: Skip processing of ArithmeticFactor
// if only one ArithmeticPrimary is defined
if (! ($factor instanceof AST\ArithmeticFactor)) {
return $this->walkArithmeticPrimary($factor);
}
$sign = $factor->isNegativeSigned() ? '-' : ($factor->isPositiveSigned() ? '+' : '');
return $sign . $this->walkArithmeticPrimary($factor->arithmeticPrimary);
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkArithmeticFactor
(line 2609)
}
// Phase 2 AST optimization: Skip processing of ArithmeticTerm
// if only one ArithmeticFactor is defined
if (! ($term instanceof AST\ArithmeticTerm)) {
return $this->walkArithmeticFactor($term);
}
return implode(' ', array_map([$this, 'walkArithmeticFactor'], $term->arithmeticFactors));
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkArithmeticTerm
(line 2583)
* @not-deprecated
*/
public function walkSimpleArithmeticExpression($simpleArithmeticExpr)
{
if (! ($simpleArithmeticExpr instanceof AST\SimpleArithmeticExpression)) {
return $this->walkArithmeticTerm($simpleArithmeticExpr);
}
return implode(' ', array_map([$this, 'walkArithmeticTerm'], $simpleArithmeticExpr->arithmeticTerms));
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/Functions/LowerFunction.php
->
walkSimpleArithmeticExpression
(line 29)
/** @inheritdoc */
public function getSql(SqlWalker $sqlWalker)
{
return sprintf(
'LOWER(%s)',
$sqlWalker->walkSimpleArithmeticExpression($this->stringPrimary)
);
}
/** @inheritdoc */
public function parse(Parser $parser)
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
getSql
(line 1192)
*
* @not-deprecated
*/
public function walkFunction($function)
{
return $function->getSql($this);
}
/**
* Walks down an OrderByClause AST node, thereby generating the appropriate SQL.
*
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkFunction
(line 2474)
$sql = $leftExpr . ($likeExpr->not ? ' NOT' : '') . ' LIKE ';
if ($likeExpr->stringPattern instanceof AST\InputParameter) {
$sql .= $this->walkInputParameter($likeExpr->stringPattern);
} elseif ($likeExpr->stringPattern instanceof AST\Functions\FunctionNode) {
$sql .= $this->walkFunction($likeExpr->stringPattern);
} elseif ($likeExpr->stringPattern instanceof AST\PathExpression) {
$sql .= $this->walkPathExpression($likeExpr->stringPattern);
} else {
$sql .= $this->walkLiteral($likeExpr->stringPattern);
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/LikeExpression.php
->
walkLikeExpression
(line 46)
/**
* {@inheritdoc}
*/
public function dispatch($sqlWalker)
{
return $sqlWalker->walkLikeExpression($this);
}
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
dispatch
(line 2118)
* @not-deprecated
*/
public function walkConditionalPrimary($primary)
{
if ($primary->isSimpleConditionalExpression()) {
return $primary->simpleConditionalExpression->dispatch($this);
}
if ($primary->isConditionalExpression()) {
$condExpr = $primary->conditionalExpression;
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkConditionalPrimary
(line 2102)
public function walkConditionalFactor($factor)
{
// Phase 2 AST optimization: Skip processing of ConditionalFactor
// if only one ConditionalPrimary is defined
return ! ($factor instanceof AST\ConditionalFactor)
? $this->walkConditionalPrimary($factor)
: ($factor->not ? 'NOT ' : '') . $this->walkConditionalPrimary($factor->conditionalPrimary);
}
/**
* Walks down a ConditionalPrimary AST node, thereby generating the appropriate SQL.
SqlWalker->walkConditionalFactor()
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
array_map
(line 2085)
// if only one ConditionalFactor is defined
if (! ($condTerm instanceof AST\ConditionalTerm)) {
return $this->walkConditionalFactor($condTerm);
}
return implode(' AND ', array_map([$this, 'walkConditionalFactor'], $condTerm->conditionalFactors));
}
/**
* Walks down a ConditionalFactor AST node, thereby generating the appropriate SQL.
*
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkConditionalTerm
(line 2062)
public function walkConditionalExpression($condExpr)
{
// Phase 2 AST optimization: Skip processing of ConditionalExpression
// if only one ConditionalTerm is defined
if (! ($condExpr instanceof AST\ConditionalExpression)) {
return $this->walkConditionalTerm($condExpr);
}
return implode(' OR ', array_map([$this, 'walkConditionalTerm'], $condExpr->conditionalTerms));
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkConditionalExpression
(line 2013)
*
* @not-deprecated
*/
public function walkWhereClause($whereClause)
{
$condSql = $whereClause !== null ? $this->walkConditionalExpression($whereClause->conditionalExpression) : '';
$discrSql = $this->generateDiscriminatorColumnConditionSQL($this->rootAliases);
if ($this->em->hasFilters()) {
$filterClauses = [];
foreach ($this->rootAliases as $dqlAlias) {
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkWhereClause
(line 554)
$limit = $this->query->getMaxResults();
$offset = $this->query->getFirstResult();
$lockMode = $this->query->getHint(Query::HINT_LOCK_MODE) ?: LockMode::NONE;
$sql = $this->walkSelectClause($AST->selectClause)
. $this->walkFromClause($AST->fromClause)
. $this->walkWhereClause($AST->whereClause);
if ($AST->groupByClause) {
$sql .= $this->walkGroupByClause($AST->groupByClause);
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php
->
walkSelectStatement
(line 21)
*/
class SingleSelectExecutor extends AbstractSqlExecutor
{
public function __construct(SelectStatement $AST, SqlWalker $sqlWalker)
{
$this->_sqlStatements = $sqlWalker->walkSelectStatement($AST);
}
/**
* {@inheritDoc}
*
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
__construct
(line 302)
return $primaryClass->isInheritanceTypeJoined()
? new Exec\MultiTableUpdateExecutor($AST, $this)
: new Exec\SingleTableDeleteUpdateExecutor($AST, $this);
default:
return new Exec\SingleSelectExecutor($AST, $this);
}
}
/**
* Generates a unique, short SQL table alias.
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php
->
getExecutor
(line 397)
$outputWalkerClass = $this->customOutputWalker ?: SqlWalker::class;
$outputWalker = new $outputWalkerClass($this->query, $this->parserResult, $this->queryComponents);
// Assign an SQL executor to the parser result
$this->parserResult->setSqlExecutor($outputWalker->getExecutor($AST));
return $this->parserResult;
}
/**
in
vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php
->
parse
(line 256)
}
private function unbindUnusedQueryParams(Query $query): void
{
$parser = new Parser($query);
$parameterMappings = $parser->parse()->getParameterMappings();
/** @var Collection|Parameter[] $parameters */
$parameters = $query->getParameters();
foreach ($parameters as $key => $parameter) {
$parameterName = $parameter->getName();
in
vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php
->
unbindUnusedQueryParams
(line 245)
$countQuery->setHint(Query::HINT_CUSTOM_OUTPUT_WALKER, CountOutputWalker::class);
$countQuery->setResultSetMapping($rsm);
} else {
$this->appendTreeWalker($countQuery, CountWalker::class);
$this->unbindUnusedQueryParams($countQuery);
}
$countQuery->setFirstResult(0)->setMaxResults(null);
return $countQuery;
in
vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php
->
getCountQuery
(line 118)
#[ReturnTypeWillChange]
public function count()
{
if ($this->count === null) {
try {
$this->count = (int) array_sum(array_map('current', $this->getCountQuery()->getScalarResult()));
} catch (NoResultException $e) {
$this->count = 0;
}
}
Paginator->count()
in
vendor/knplabs/knp-components/src/Knp/Component/Pager/Event/Subscriber/Paginate/Doctrine/ORM/QuerySubscriber.php
count
(line 46)
$paginator = new Paginator($event->target, $fetchJoinCollection);
$paginator->setUseOutputWalkers($useOutputWalkers);
if (($count = $event->target->getHint(self::HINT_COUNT)) !== false) {
$event->count = (int) $count;
} else {
$event->count = count($paginator);
}
$event->items = iterator_to_array($paginator);
}
public static function getSubscribedEvents(): array
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
items
(line 118)
$this->priority = $dispatcher->getListenerPriority($eventName, $this->listener);
$e = $this->stopwatch->start($this->name, 'event_listener');
try {
($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(line 230)
foreach ($listeners as $listener) {
if ($stoppable && $event->isPropagationStopped()) {
break;
}
$listener($event, $eventName, $this);
}
}
/**
* Sorts the internal list of listeners for the given event by priority.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 59)
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 154)
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
in
vendor/knplabs/knp-components/src/Knp/Component/Pager/Paginator.php
->
dispatch
(line 93)
$this->eventDispatcher->dispatch($beforeEvent, 'knp_pager.before');
// items
$itemsEvent = new Event\ItemsEvent($offset, $limit);
$itemsEvent->options = &$options;
$itemsEvent->target = &$target;
$this->eventDispatcher->dispatch($itemsEvent, 'knp_pager.items');
if (!$itemsEvent->isPropagationStopped()) {
throw new \RuntimeException('One of listeners must count and slice given target');
}
if ($page > ceil($itemsEvent->count / $limit)) {
$pageOutOfRangeOption = $options[PaginatorInterface::PAGE_OUT_OF_RANGE] ?? $this->defaultOptions[PaginatorInterface::PAGE_OUT_OF_RANGE];
in
var/cache/dev/ContainerF3J4NcO/PaginatorInterface_82dac15.php
->
paginate
(line 30)
public function paginate($target, int $page = 1, ?int $limit = null, array $options = []) : \Knp\Component\Pager\Pagination\PaginationInterface
{
$this->initializer56dfc && ($this->initializer56dfc->__invoke($valueHolderd14db, $this, 'paginate', array('target' => $target, 'page' => $page, 'limit' => $limit, 'options' => $options), $this->initializer56dfc) || 1) && $this->valueHolderd14db = $valueHolderd14db;
if ($this->valueHolderd14db === $returnValue = $this->valueHolderd14db->paginate($target, $page, $limit, $options)) {
return $this;
}
return $returnValue;
}
$queryBuilder = $queryBuilder->andWhere("this.sektor = " . $request->get('sektor'));
}
$queryBuilder = $queryBuilder->addOrderBy('this.id', 'desc');
// dump($queryBuilder->getQuery()->getResult());exit;
$pagination = $paginatorInterface->paginate($queryBuilder, $request->query->getInt('page', 1), 10);
$kategori = array();
$icons = array();
foreach ($pagination as $pub) {
$kategori_detail = $mUrusanDetailRepository->findBy(['reff_id' => $pub->getId(), 'reff_name' => 'PUBLIKASI'], ['id' => 'ASC']);
in
vendor/symfony/http-kernel/HttpKernel.php
->
index
(line 163)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 75)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
$this->requestStack->push($request);
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
Debug::enable();
}
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
PDOException
* @throws PDOException In case of an error.
*/
public function __construct($dsn, $user = null, $password = null, ?array $options = null)
{
try {
parent::__construct($dsn, (string) $user, (string) $password, (array) $options);
$this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [Statement::class, []]);
$this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
->
__construct
(line 40)
* @throws PDOException In case of an error.
*/
public function __construct($dsn, $user = null, $password = null, ?array $options = null)
{
try {
parent::__construct($dsn, (string) $user, (string) $password, (array) $options);
$this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [Statement::class, []]);
$this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $exception) {
throw Exception::new($exception);
}
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOPgSql/Driver.php
->
__construct
(line 27)
*/
public function connect(array $params, $username = null, $password = null, array $driverOptions = [])
{
try {
$pdo = new PDO\Connection(
$this->_constructPdoDsn($params),
$username,
$password,
$driverOptions
);
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
->
connect
(line 412)
$driverOptions = $this->params['driverOptions'] ?? [];
$user = $this->params['user'] ?? null;
$password = $this->params['password'] ?? null;
$this->_conn = $this->_driver->connect($this->params, $user, $password, $driverOptions);
$this->transactionNestingLevel = 0;
if ($this->autoCommit === false) {
$this->beginTransaction();
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
->
connect
(line 1952)
*
* @return DriverConnection
*/
public function getWrappedConnection()
{
$this->connect();
assert($this->_conn !== null);
return $this->_conn;
}
in
vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php
->
getWrappedConnection
(line 980)
* @param mixed $value
* @param int|string|Type|null $type
*/
public function quote($value, $type = ParameterType::STRING)
{
$connection = $this->getWrappedConnection();
[$value, $bindingType] = $this->getBindingInfo($value, $type);
return $connection->quote($value, $bindingType);
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
quote
(line 2411)
*/
public function walkLiteral($literal)
{
switch ($literal->type) {
case AST\Literal::STRING:
return $this->conn->quote($literal->value);
case AST\Literal::BOOLEAN:
return (string) $this->conn->getDatabasePlatform()->convertBooleans(strtolower($literal->value) === 'true');
case AST\Literal::NUMERIC:
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/Literal.php
->
walkLiteral
(line 38)
/**
* {@inheritdoc}
*/
public function dispatch($walker)
{
return $walker->walkLiteral($this);
}
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
dispatch
(line 2659)
if ($primary instanceof AST\SimpleArithmeticExpression) {
return '(' . $this->walkSimpleArithmeticExpression($primary) . ')';
}
if ($primary instanceof AST\Node) {
return $primary->dispatch($this);
}
return $this->walkEntityIdentificationVariable($primary);
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkArithmeticPrimary
(line 2635)
}
// Phase 2 AST optimization: Skip processing of ArithmeticFactor
// if only one ArithmeticPrimary is defined
if (! ($factor instanceof AST\ArithmeticFactor)) {
return $this->walkArithmeticPrimary($factor);
}
$sign = $factor->isNegativeSigned() ? '-' : ($factor->isPositiveSigned() ? '+' : '');
return $sign . $this->walkArithmeticPrimary($factor->arithmeticPrimary);
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkArithmeticFactor
(line 2609)
}
// Phase 2 AST optimization: Skip processing of ArithmeticTerm
// if only one ArithmeticFactor is defined
if (! ($term instanceof AST\ArithmeticTerm)) {
return $this->walkArithmeticFactor($term);
}
return implode(' ', array_map([$this, 'walkArithmeticFactor'], $term->arithmeticFactors));
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkArithmeticTerm
(line 2583)
* @not-deprecated
*/
public function walkSimpleArithmeticExpression($simpleArithmeticExpr)
{
if (! ($simpleArithmeticExpr instanceof AST\SimpleArithmeticExpression)) {
return $this->walkArithmeticTerm($simpleArithmeticExpr);
}
return implode(' ', array_map([$this, 'walkArithmeticTerm'], $simpleArithmeticExpr->arithmeticTerms));
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/Functions/LowerFunction.php
->
walkSimpleArithmeticExpression
(line 29)
/** @inheritdoc */
public function getSql(SqlWalker $sqlWalker)
{
return sprintf(
'LOWER(%s)',
$sqlWalker->walkSimpleArithmeticExpression($this->stringPrimary)
);
}
/** @inheritdoc */
public function parse(Parser $parser)
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
getSql
(line 1192)
*
* @not-deprecated
*/
public function walkFunction($function)
{
return $function->getSql($this);
}
/**
* Walks down an OrderByClause AST node, thereby generating the appropriate SQL.
*
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkFunction
(line 2474)
$sql = $leftExpr . ($likeExpr->not ? ' NOT' : '') . ' LIKE ';
if ($likeExpr->stringPattern instanceof AST\InputParameter) {
$sql .= $this->walkInputParameter($likeExpr->stringPattern);
} elseif ($likeExpr->stringPattern instanceof AST\Functions\FunctionNode) {
$sql .= $this->walkFunction($likeExpr->stringPattern);
} elseif ($likeExpr->stringPattern instanceof AST\PathExpression) {
$sql .= $this->walkPathExpression($likeExpr->stringPattern);
} else {
$sql .= $this->walkLiteral($likeExpr->stringPattern);
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/LikeExpression.php
->
walkLikeExpression
(line 46)
/**
* {@inheritdoc}
*/
public function dispatch($sqlWalker)
{
return $sqlWalker->walkLikeExpression($this);
}
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
dispatch
(line 2118)
* @not-deprecated
*/
public function walkConditionalPrimary($primary)
{
if ($primary->isSimpleConditionalExpression()) {
return $primary->simpleConditionalExpression->dispatch($this);
}
if ($primary->isConditionalExpression()) {
$condExpr = $primary->conditionalExpression;
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkConditionalPrimary
(line 2102)
public function walkConditionalFactor($factor)
{
// Phase 2 AST optimization: Skip processing of ConditionalFactor
// if only one ConditionalPrimary is defined
return ! ($factor instanceof AST\ConditionalFactor)
? $this->walkConditionalPrimary($factor)
: ($factor->not ? 'NOT ' : '') . $this->walkConditionalPrimary($factor->conditionalPrimary);
}
/**
* Walks down a ConditionalPrimary AST node, thereby generating the appropriate SQL.
SqlWalker->walkConditionalFactor()
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
array_map
(line 2085)
// if only one ConditionalFactor is defined
if (! ($condTerm instanceof AST\ConditionalTerm)) {
return $this->walkConditionalFactor($condTerm);
}
return implode(' AND ', array_map([$this, 'walkConditionalFactor'], $condTerm->conditionalFactors));
}
/**
* Walks down a ConditionalFactor AST node, thereby generating the appropriate SQL.
*
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkConditionalTerm
(line 2062)
public function walkConditionalExpression($condExpr)
{
// Phase 2 AST optimization: Skip processing of ConditionalExpression
// if only one ConditionalTerm is defined
if (! ($condExpr instanceof AST\ConditionalExpression)) {
return $this->walkConditionalTerm($condExpr);
}
return implode(' OR ', array_map([$this, 'walkConditionalTerm'], $condExpr->conditionalTerms));
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkConditionalExpression
(line 2013)
*
* @not-deprecated
*/
public function walkWhereClause($whereClause)
{
$condSql = $whereClause !== null ? $this->walkConditionalExpression($whereClause->conditionalExpression) : '';
$discrSql = $this->generateDiscriminatorColumnConditionSQL($this->rootAliases);
if ($this->em->hasFilters()) {
$filterClauses = [];
foreach ($this->rootAliases as $dqlAlias) {
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
walkWhereClause
(line 554)
$limit = $this->query->getMaxResults();
$offset = $this->query->getFirstResult();
$lockMode = $this->query->getHint(Query::HINT_LOCK_MODE) ?: LockMode::NONE;
$sql = $this->walkSelectClause($AST->selectClause)
. $this->walkFromClause($AST->fromClause)
. $this->walkWhereClause($AST->whereClause);
if ($AST->groupByClause) {
$sql .= $this->walkGroupByClause($AST->groupByClause);
}
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php
->
walkSelectStatement
(line 21)
*/
class SingleSelectExecutor extends AbstractSqlExecutor
{
public function __construct(SelectStatement $AST, SqlWalker $sqlWalker)
{
$this->_sqlStatements = $sqlWalker->walkSelectStatement($AST);
}
/**
* {@inheritDoc}
*
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php
->
__construct
(line 302)
return $primaryClass->isInheritanceTypeJoined()
? new Exec\MultiTableUpdateExecutor($AST, $this)
: new Exec\SingleTableDeleteUpdateExecutor($AST, $this);
default:
return new Exec\SingleSelectExecutor($AST, $this);
}
}
/**
* Generates a unique, short SQL table alias.
in
vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php
->
getExecutor
(line 397)
$outputWalkerClass = $this->customOutputWalker ?: SqlWalker::class;
$outputWalker = new $outputWalkerClass($this->query, $this->parserResult, $this->queryComponents);
// Assign an SQL executor to the parser result
$this->parserResult->setSqlExecutor($outputWalker->getExecutor($AST));
return $this->parserResult;
}
/**
in
vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php
->
parse
(line 256)
}
private function unbindUnusedQueryParams(Query $query): void
{
$parser = new Parser($query);
$parameterMappings = $parser->parse()->getParameterMappings();
/** @var Collection|Parameter[] $parameters */
$parameters = $query->getParameters();
foreach ($parameters as $key => $parameter) {
$parameterName = $parameter->getName();
in
vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php
->
unbindUnusedQueryParams
(line 245)
$countQuery->setHint(Query::HINT_CUSTOM_OUTPUT_WALKER, CountOutputWalker::class);
$countQuery->setResultSetMapping($rsm);
} else {
$this->appendTreeWalker($countQuery, CountWalker::class);
$this->unbindUnusedQueryParams($countQuery);
}
$countQuery->setFirstResult(0)->setMaxResults(null);
return $countQuery;
in
vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php
->
getCountQuery
(line 118)
#[ReturnTypeWillChange]
public function count()
{
if ($this->count === null) {
try {
$this->count = (int) array_sum(array_map('current', $this->getCountQuery()->getScalarResult()));
} catch (NoResultException $e) {
$this->count = 0;
}
}
Paginator->count()
in
vendor/knplabs/knp-components/src/Knp/Component/Pager/Event/Subscriber/Paginate/Doctrine/ORM/QuerySubscriber.php
count
(line 46)
$paginator = new Paginator($event->target, $fetchJoinCollection);
$paginator->setUseOutputWalkers($useOutputWalkers);
if (($count = $event->target->getHint(self::HINT_COUNT)) !== false) {
$event->count = (int) $count;
} else {
$event->count = count($paginator);
}
$event->items = iterator_to_array($paginator);
}
public static function getSubscribedEvents(): array
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
items
(line 118)
$this->priority = $dispatcher->getListenerPriority($eventName, $this->listener);
$e = $this->stopwatch->start($this->name, 'event_listener');
try {
($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(line 230)
foreach ($listeners as $listener) {
if ($stoppable && $event->isPropagationStopped()) {
break;
}
$listener($event, $eventName, $this);
}
}
/**
* Sorts the internal list of listeners for the given event by priority.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 59)
} else {
$listeners = $this->getListeners($eventName);
}
if ($listeners) {
$this->callListeners($listeners, $eventName, $event);
}
return $event;
}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 154)
try {
$this->beforeDispatch($eventName, $event);
try {
$e = $this->stopwatch->start($eventName, 'section');
try {
$this->dispatcher->dispatch($event, $eventName);
} finally {
if ($e->isStarted()) {
$e->stop();
}
}
in
vendor/knplabs/knp-components/src/Knp/Component/Pager/Paginator.php
->
dispatch
(line 93)
$this->eventDispatcher->dispatch($beforeEvent, 'knp_pager.before');
// items
$itemsEvent = new Event\ItemsEvent($offset, $limit);
$itemsEvent->options = &$options;
$itemsEvent->target = &$target;
$this->eventDispatcher->dispatch($itemsEvent, 'knp_pager.items');
if (!$itemsEvent->isPropagationStopped()) {
throw new \RuntimeException('One of listeners must count and slice given target');
}
if ($page > ceil($itemsEvent->count / $limit)) {
$pageOutOfRangeOption = $options[PaginatorInterface::PAGE_OUT_OF_RANGE] ?? $this->defaultOptions[PaginatorInterface::PAGE_OUT_OF_RANGE];
in
var/cache/dev/ContainerF3J4NcO/PaginatorInterface_82dac15.php
->
paginate
(line 30)
public function paginate($target, int $page = 1, ?int $limit = null, array $options = []) : \Knp\Component\Pager\Pagination\PaginationInterface
{
$this->initializer56dfc && ($this->initializer56dfc->__invoke($valueHolderd14db, $this, 'paginate', array('target' => $target, 'page' => $page, 'limit' => $limit, 'options' => $options), $this->initializer56dfc) || 1) && $this->valueHolderd14db = $valueHolderd14db;
if ($this->valueHolderd14db === $returnValue = $this->valueHolderd14db->paginate($target, $page, $limit, $options)) {
return $this;
}
return $returnValue;
}
$queryBuilder = $queryBuilder->andWhere("this.sektor = " . $request->get('sektor'));
}
$queryBuilder = $queryBuilder->addOrderBy('this.id', 'desc');
// dump($queryBuilder->getQuery()->getResult());exit;
$pagination = $paginatorInterface->paginate($queryBuilder, $request->query->getInt('page', 1), 10);
$kategori = array();
$icons = array();
foreach ($pagination as $pub) {
$kategori_detail = $mUrusanDetailRepository->findBy(['reff_id' => $pub->getId(), 'reff_name' => 'PUBLIKASI'], ['id' => 'ASC']);
in
vendor/symfony/http-kernel/HttpKernel.php
->
index
(line 163)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 75)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
$this->requestStack->push($request);
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 202)
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
Debug::enable();
}
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
Stack Traces 3
[3/3]
ConnectionException
|
---|
Doctrine\DBAL\Exception\ConnectionException: An exception occurred in driver: SQLSTATE[08006] [7] connection to server at "127.0.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractPostgreSQLDriver.php:88 at Doctrine\DBAL\Driver\AbstractPostgreSQLDriver->convertException() (vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:182) at Doctrine\DBAL\DBALException::wrapException() (vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:169) at Doctrine\DBAL\DBALException::driverException() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOPgSql/Driver.php:52) at Doctrine\DBAL\Driver\PDOPgSql\Driver->connect() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:412) at Doctrine\DBAL\Connection->connect() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:1952) at Doctrine\DBAL\Connection->getWrappedConnection() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:980) at Doctrine\DBAL\Connection->quote() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2411) at Doctrine\ORM\Query\SqlWalker->walkLiteral() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/Literal.php:38) at Doctrine\ORM\Query\AST\Literal->dispatch() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2659) at Doctrine\ORM\Query\SqlWalker->walkArithmeticPrimary() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2635) at Doctrine\ORM\Query\SqlWalker->walkArithmeticFactor() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2609) at Doctrine\ORM\Query\SqlWalker->walkArithmeticTerm() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2583) at Doctrine\ORM\Query\SqlWalker->walkSimpleArithmeticExpression() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/Functions/LowerFunction.php:29) at Doctrine\ORM\Query\AST\Functions\LowerFunction->getSql() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:1192) at Doctrine\ORM\Query\SqlWalker->walkFunction() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2474) at Doctrine\ORM\Query\SqlWalker->walkLikeExpression() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/LikeExpression.php:46) at Doctrine\ORM\Query\AST\LikeExpression->dispatch() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2118) at Doctrine\ORM\Query\SqlWalker->walkConditionalPrimary() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2102) at Doctrine\ORM\Query\SqlWalker->walkConditionalFactor() at array_map() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2085) at Doctrine\ORM\Query\SqlWalker->walkConditionalTerm() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2062) at Doctrine\ORM\Query\SqlWalker->walkConditionalExpression() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2013) at Doctrine\ORM\Query\SqlWalker->walkWhereClause() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:554) at Doctrine\ORM\Query\SqlWalker->walkSelectStatement() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php:21) at Doctrine\ORM\Query\Exec\SingleSelectExecutor->__construct() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:302) at Doctrine\ORM\Query\SqlWalker->getExecutor() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:397) at Doctrine\ORM\Query\Parser->parse() (vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php:256) at Doctrine\ORM\Tools\Pagination\Paginator->unbindUnusedQueryParams() (vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php:245) at Doctrine\ORM\Tools\Pagination\Paginator->getCountQuery() (vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php:118) at Doctrine\ORM\Tools\Pagination\Paginator->count() at count() (vendor/knplabs/knp-components/src/Knp/Component/Pager/Event/Subscriber/Paginate/Doctrine/ORM/QuerySubscriber.php:46) at Knp\Component\Pager\Event\Subscriber\Paginate\Doctrine\ORM\QuerySubscriber->items() (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (vendor/symfony/event-dispatcher/EventDispatcher.php:230) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (vendor/symfony/event-dispatcher/EventDispatcher.php:59) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (vendor/knplabs/knp-components/src/Knp/Component/Pager/Paginator.php:93) at Knp\Component\Pager\Paginator->paginate() (var/cache/dev/ContainerF3J4NcO/PaginatorInterface_82dac15.php:30) at ContainerF3J4NcO\PaginatorInterface_82dac15->paginate() (src/Controller/Frontend/DatasetController.php:79) at App\Controller\Frontend\DatasetController->index() (vendor/symfony/http-kernel/HttpKernel.php:163) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle() (public/index.php:20) |
[2/3]
Exception
|
---|
Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[08006] [7] connection to server at "127.0.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18 at Doctrine\DBAL\Driver\PDO\Exception::new() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:44) at Doctrine\DBAL\Driver\PDOConnection->__construct() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOPgSql/Driver.php:27) at Doctrine\DBAL\Driver\PDOPgSql\Driver->connect() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:412) at Doctrine\DBAL\Connection->connect() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:1952) at Doctrine\DBAL\Connection->getWrappedConnection() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:980) at Doctrine\DBAL\Connection->quote() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2411) at Doctrine\ORM\Query\SqlWalker->walkLiteral() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/Literal.php:38) at Doctrine\ORM\Query\AST\Literal->dispatch() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2659) at Doctrine\ORM\Query\SqlWalker->walkArithmeticPrimary() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2635) at Doctrine\ORM\Query\SqlWalker->walkArithmeticFactor() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2609) at Doctrine\ORM\Query\SqlWalker->walkArithmeticTerm() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2583) at Doctrine\ORM\Query\SqlWalker->walkSimpleArithmeticExpression() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/Functions/LowerFunction.php:29) at Doctrine\ORM\Query\AST\Functions\LowerFunction->getSql() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:1192) at Doctrine\ORM\Query\SqlWalker->walkFunction() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2474) at Doctrine\ORM\Query\SqlWalker->walkLikeExpression() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/LikeExpression.php:46) at Doctrine\ORM\Query\AST\LikeExpression->dispatch() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2118) at Doctrine\ORM\Query\SqlWalker->walkConditionalPrimary() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2102) at Doctrine\ORM\Query\SqlWalker->walkConditionalFactor() at array_map() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2085) at Doctrine\ORM\Query\SqlWalker->walkConditionalTerm() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2062) at Doctrine\ORM\Query\SqlWalker->walkConditionalExpression() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2013) at Doctrine\ORM\Query\SqlWalker->walkWhereClause() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:554) at Doctrine\ORM\Query\SqlWalker->walkSelectStatement() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php:21) at Doctrine\ORM\Query\Exec\SingleSelectExecutor->__construct() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:302) at Doctrine\ORM\Query\SqlWalker->getExecutor() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:397) at Doctrine\ORM\Query\Parser->parse() (vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php:256) at Doctrine\ORM\Tools\Pagination\Paginator->unbindUnusedQueryParams() (vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php:245) at Doctrine\ORM\Tools\Pagination\Paginator->getCountQuery() (vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php:118) at Doctrine\ORM\Tools\Pagination\Paginator->count() at count() (vendor/knplabs/knp-components/src/Knp/Component/Pager/Event/Subscriber/Paginate/Doctrine/ORM/QuerySubscriber.php:46) at Knp\Component\Pager\Event\Subscriber\Paginate\Doctrine\ORM\QuerySubscriber->items() (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (vendor/symfony/event-dispatcher/EventDispatcher.php:230) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (vendor/symfony/event-dispatcher/EventDispatcher.php:59) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (vendor/knplabs/knp-components/src/Knp/Component/Pager/Paginator.php:93) at Knp\Component\Pager\Paginator->paginate() (var/cache/dev/ContainerF3J4NcO/PaginatorInterface_82dac15.php:30) at ContainerF3J4NcO\PaginatorInterface_82dac15->paginate() (src/Controller/Frontend/DatasetController.php:79) at App\Controller\Frontend\DatasetController->index() (vendor/symfony/http-kernel/HttpKernel.php:163) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle() (public/index.php:20) |
[1/3]
PDOException
|
---|
PDOException: SQLSTATE[08006] [7] connection to server at "127.0.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40 at PDO->__construct() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40) at Doctrine\DBAL\Driver\PDOConnection->__construct() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOPgSql/Driver.php:27) at Doctrine\DBAL\Driver\PDOPgSql\Driver->connect() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:412) at Doctrine\DBAL\Connection->connect() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:1952) at Doctrine\DBAL\Connection->getWrappedConnection() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:980) at Doctrine\DBAL\Connection->quote() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2411) at Doctrine\ORM\Query\SqlWalker->walkLiteral() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/Literal.php:38) at Doctrine\ORM\Query\AST\Literal->dispatch() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2659) at Doctrine\ORM\Query\SqlWalker->walkArithmeticPrimary() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2635) at Doctrine\ORM\Query\SqlWalker->walkArithmeticFactor() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2609) at Doctrine\ORM\Query\SqlWalker->walkArithmeticTerm() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2583) at Doctrine\ORM\Query\SqlWalker->walkSimpleArithmeticExpression() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/Functions/LowerFunction.php:29) at Doctrine\ORM\Query\AST\Functions\LowerFunction->getSql() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:1192) at Doctrine\ORM\Query\SqlWalker->walkFunction() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2474) at Doctrine\ORM\Query\SqlWalker->walkLikeExpression() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/AST/LikeExpression.php:46) at Doctrine\ORM\Query\AST\LikeExpression->dispatch() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2118) at Doctrine\ORM\Query\SqlWalker->walkConditionalPrimary() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2102) at Doctrine\ORM\Query\SqlWalker->walkConditionalFactor() at array_map() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2085) at Doctrine\ORM\Query\SqlWalker->walkConditionalTerm() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2062) at Doctrine\ORM\Query\SqlWalker->walkConditionalExpression() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:2013) at Doctrine\ORM\Query\SqlWalker->walkWhereClause() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:554) at Doctrine\ORM\Query\SqlWalker->walkSelectStatement() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php:21) at Doctrine\ORM\Query\Exec\SingleSelectExecutor->__construct() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/SqlWalker.php:302) at Doctrine\ORM\Query\SqlWalker->getExecutor() (vendor/doctrine/orm/lib/Doctrine/ORM/Query/Parser.php:397) at Doctrine\ORM\Query\Parser->parse() (vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php:256) at Doctrine\ORM\Tools\Pagination\Paginator->unbindUnusedQueryParams() (vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php:245) at Doctrine\ORM\Tools\Pagination\Paginator->getCountQuery() (vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php:118) at Doctrine\ORM\Tools\Pagination\Paginator->count() at count() (vendor/knplabs/knp-components/src/Knp/Component/Pager/Event/Subscriber/Paginate/Doctrine/ORM/QuerySubscriber.php:46) at Knp\Component\Pager\Event\Subscriber\Paginate\Doctrine\ORM\QuerySubscriber->items() (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:118) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (vendor/symfony/event-dispatcher/EventDispatcher.php:230) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (vendor/symfony/event-dispatcher/EventDispatcher.php:59) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (vendor/knplabs/knp-components/src/Knp/Component/Pager/Paginator.php:93) at Knp\Component\Pager\Paginator->paginate() (var/cache/dev/ContainerF3J4NcO/PaginatorInterface_82dac15.php:30) at ContainerF3J4NcO\PaginatorInterface_82dac15->paginate() (src/Controller/Frontend/DatasetController.php:79) at App\Controller\Frontend\DatasetController->index() (vendor/symfony/http-kernel/HttpKernel.php:163) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle() (public/index.php:20) |