Herzlich Willkommen!

Zu "Collage" wurden 567 Produkte gefunden

Suchergebnis | hauptverlag

Filter
Abstrakt malen

20,00 CHF*
W.G. Sebald

38,00 CHF*
Eine Handvoll Anekdoten

25,00 CHF*
Eine Handvoll Anekdoten

12,00 CHF*
Celestino Piatti

59,00 CHF*
Academy of Tal R Sonderausgabe

19,95 CHF*
Collage

38,00 CHF*
Interior Garden

34,00 CHF*
John Stezaker: At the Edge of Pictures

30,00 CHF*
Blei- und Buntstift

18,00 CHF*
Papiergeschichten

26,00 CHF*
Ror.Wolf.Lesen.

23,00 CHF*
Kunst mit Kindern 5: Pop-Art

8,00 CHF*
Collage by Women

35,00 CHF*
Nur ein kleines Samenkorn

13,00 CHF*
Post!

30,00 CHF*
Alice im Wunderland

9,90 CHF*
Nur ein kleines Samenkorn

13,00 CHF*
Tiny Furniture

20,00 CHF*
Snipping the Stress Away

16,95 CHF*
Warning: session_name(): Session name cannot be changed after headers have already been sent (500 Internal Server Error)

Symfony Exception

Warning: session_name(): Session name cannot be changed after headers have already been sent

Exceptions 4

ErrorException

Show exception properties
ErrorException {#7259
  #severity: E_WARNING
}
  1. {
  2. if ($this->isActive()) {
  3. throw new \LogicException('Cannot change the name of an active session.');
  4. }
  5. session_name($name);
  6. }
  7. }
  1. return $this->saveHandler->getName();
  2. }
  3. public function setName(string $name): void
  4. {
  5. $this->saveHandler->setName($name);
  6. }
  7. public function regenerate(bool $destroy = false, ?int $lifetime = null): bool
  8. {
  9. // Cannot regenerate the session ID for non-active sessions.
  1. return $this->storage->getName();
  2. }
  3. public function setName(string $name): void
  4. {
  5. $this->storage->setName($name);
  6. }
  7. public function getMetadataBag(): MetadataBag
  8. {
  9. ++$this->usageIndex;
  1. }
  2. $session = $master->getSession();
  3. if (!$session->isStarted()) {
  4. $session->setName('session-');
  5. $session->start();
  6. $session->set('sessionId', $session->getId());
  7. }
  8. $salesChannelId = $master->attributes->get(PlatformRequest::ATTRIBUTE_SALES_CHANNEL_ID);
  1. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);
  2. $e = $this->stopwatch->start($this->name, 'event_listener');
  3. try {
  4. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
  5. } finally {
  6. if ($e->isStarted()) {
  7. $e->stop();
  8. }
  9. }
  1. foreach ($listeners as $listener) {
  2. if ($stoppable && $event->isPropagationStopped()) {
  3. break;
  4. }
  5. $listener($event, $eventName, $this);
  6. }
  7. }
  8. /**
  9. * Sorts the internal list of listeners for the given event by priority.
  1. } else {
  2. $listeners = $this->getListeners($eventName);
  3. }
  4. if ($listeners) {
  5. $this->callListeners($listeners, $eventName, $event);
  6. }
  7. return $event;
  8. }
  1. *
  2. * @return TEvent
  3. */
  4. public function dispatch(object $event, ?string $eventName = null): object
  5. {
  6. $event = $this->dispatcher->dispatch($event, $eventName);
  7. if (!$event instanceof FlowEventAware) {
  8. return $event;
  9. }
  1. ) {
  2. }
  3. public function dispatch(object $event, ?string $eventName = null): object
  4. {
  5. $event = $this->dispatcher->dispatch($event, $eventName);
  6. if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) {
  7. return $event;
  8. }
  1. }
  2. $this->dispatch($nested, $name);
  3. }
  4. }
  5. return $this->dispatcher->dispatch($event, $eventName);
  6. }
  7. /**
  8. * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283
  9. */
  1. try {
  2. $this->beforeDispatch($eventName, $event);
  3. try {
  4. $e = $this->stopwatch->start($eventName, 'section');
  5. try {
  6. $this->dispatcher->dispatch($event, $eventName);
  7. } finally {
  8. if ($e->isStarted()) {
  9. $e->stop();
  10. }
  11. }
  1. */
  2. private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response
  3. {
  4. // request
  5. $event = new RequestEvent($this, $request, $type);
  6. $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
  7. if ($event->hasResponse()) {
  8. return $this->filterResponse($event->getResponse(), $request, $type);
  9. }
  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);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. }
  2. public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response
  3. {
  4. if ($request->attributes->get('exception') !== null) {
  5. return parent::handle($request, $type, $catch);
  6. }
  7. if (!$request->attributes->has('sw-skip-transformer')) {
  8. $request = $this->requestTransformer->transform($request);
  9. }
  1. }
  2. $request = $this->duplicateRequest($throwable, $event->getRequest());
  3. try {
  4. $response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);
  5. } catch (\Exception $e) {
  6. $f = FlattenException::createFromThrowable($e);
  7. $this->logException($e, sprintf('Exception thrown when handling an exception (%s: %s at %s line %s)', $f->getClass(), $f->getMessage(), basename($e->getFile()), $e->getLine()));
  1. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);
  2. $e = $this->stopwatch->start($this->name, 'event_listener');
  3. try {
  4. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
  5. } finally {
  6. if ($e->isStarted()) {
  7. $e->stop();
  8. }
  9. }
  1. foreach ($listeners as $listener) {
  2. if ($stoppable && $event->isPropagationStopped()) {
  3. break;
  4. }
  5. $listener($event, $eventName, $this);
  6. }
  7. }
  8. /**
  9. * Sorts the internal list of listeners for the given event by priority.
  1. } else {
  2. $listeners = $this->getListeners($eventName);
  3. }
  4. if ($listeners) {
  5. $this->callListeners($listeners, $eventName, $event);
  6. }
  7. return $event;
  8. }
  1. *
  2. * @return TEvent
  3. */
  4. public function dispatch(object $event, ?string $eventName = null): object
  5. {
  6. $event = $this->dispatcher->dispatch($event, $eventName);
  7. if (!$event instanceof FlowEventAware) {
  8. return $event;
  9. }
  1. ) {
  2. }
  3. public function dispatch(object $event, ?string $eventName = null): object
  4. {
  5. $event = $this->dispatcher->dispatch($event, $eventName);
  6. if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) {
  7. return $event;
  8. }
  1. }
  2. $this->dispatch($nested, $name);
  3. }
  4. }
  5. return $this->dispatcher->dispatch($event, $eventName);
  6. }
  7. /**
  8. * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283
  9. */
  1. try {
  2. $this->beforeDispatch($eventName, $event);
  3. try {
  4. $e = $this->stopwatch->start($eventName, 'section');
  5. try {
  6. $this->dispatcher->dispatch($event, $eventName);
  7. } finally {
  8. if ($e->isStarted()) {
  9. $e->stop();
  10. }
  11. }
  1. * Handles a throwable by trying to convert it to a Response.
  2. */
  3. private function handleThrowable(\Throwable $e, Request $request, int $type): Response
  4. {
  5. $event = new ExceptionEvent($this, $request, $type, $e, isKernelTerminating: $this->terminating);
  6. $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
  7. // a listener might have replaced the exception
  8. $e = $event->getThrowable();
  9. if (!$event->hasResponse()) {
  1. if ($pop = $request !== $this->requestStack->getMainRequest()) {
  2. $this->requestStack->push($request);
  3. }
  4. try {
  5. $response = $this->handleThrowable($exception, $request, self::MAIN_REQUEST);
  6. } finally {
  7. if ($pop) {
  8. $this->requestStack->pop();
  9. }
  10. }
  1. if ($hasRun) {
  2. throw $e;
  3. }
  4. $hasRun = true;
  5. $kernel->terminateWithException($e, $request);
  6. };
  7. }
  8. } elseif ($event instanceof ConsoleEvent && $app = $event->getCommand()->getApplication()) {
  9. $output = $event->getOutput();
  10. if ($output instanceof ConsoleOutputInterface) {
in /var/www/vendor/symfony/error-handler/ErrorHandler.php :: Symfony\Component\HttpKernel\EventListener\{closure} (line 535)
  1. $this->exceptionHandler = null;
  2. }
  3. try {
  4. if (null !== $exceptionHandler) {
  5. $exceptionHandler($exception);
  6. return;
  7. }
  8. $handlerException ??= $exception;
  9. } catch (\Throwable $handlerException) {
ErrorHandler->handleException()

Doctrine\DBAL\Exception\ UniqueConstraintViolationException

An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'k,\f&\xCE\xC4Gi;\xF4\x93y\xE0S\xDB-author-Ashmore, Jennie Kuhlma' for key 'meta_catalog_id.PRIMARY'

  1. case 1062:
  2. case 1557:
  3. case 1569:
  4. case 1586:
  5. return new UniqueConstraintViolationException($exception, $query);
  6. case 1054:
  7. case 1166:
  8. case 1611:
  9. return new InvalidFieldNameException($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 /var/www/vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1881)
  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 /var/www/vendor/doctrine/dbal/src/Connection.php -> convertExceptionDuringQuery (line 1213)
  1. ->rowCount();
  2. }
  3. return $connection->exec($sql);
  4. } catch (Driver\Exception $e) {
  5. throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);
  6. } finally {
  7. if ($logger !== null) {
  8. $logger->stopQuery();
  9. }
  10. }
  1. }
  2. $grouped = $this->prepare();
  3. RetryableTransaction::retryable($this->connection, function () use ($grouped): void {
  4. foreach ($grouped as $query) {
  5. $this->connection->executeStatement($query);
  6. }
  7. });
  8. unset($grouped);
  9. $this->inserts = [];
in /var/www/vendor/doctrine/dbal/src/Connection.php -> Shopware\Core\Framework\DataAbstractionLayer\Doctrine\{closure} (line 1282)
  1. */
  2. public function transactional(Closure $func)
  3. {
  4. $this->beginTransaction();
  5. try {
  6. $res = $func($this);
  7. $this->commit();
  8. return $res;
  9. } catch (Throwable $e) {
  10. $this->rollBack();
  1. private static function retry(Connection $connection, \Closure $closure, int $counter)
  2. {
  3. ++$counter;
  4. try {
  5. return $connection->transactional($closure);
  6. } catch (RetryableException $retryableException) {
  7. if ($connection->getTransactionNestingLevel() > 0) {
  8. // If this RetryableTransaction was executed inside another transaction, do not retry this nested
  9. // transaction. Remember that the whole (outermost) transaction was already rolled back by the database
  10. // when any RetryableException is thrown.
  1. *
  2. * @return TReturn
  3. */
  4. public static function retryable(Connection $connection, \Closure $closure)
  5. {
  6. return self::retry($connection, $closure, 0);
  7. }
  8. /**
  9. * @template TReturn of mixed
  10. *
  1. if (empty($this->inserts)) {
  2. return;
  3. }
  4. $grouped = $this->prepare();
  5. RetryableTransaction::retryable($this->connection, function () use ($grouped): void {
  6. foreach ($grouped as $query) {
  7. $this->connection->executeStatement($query);
  8. }
  9. });
  10. unset($grouped);
  1. $mappings = new MultiInsertQueryQueue($this->connection, $this->batchSize, false, true);
  2. $inserts = new MultiInsertQueryQueue($this->connection, $this->batchSize);
  3. $executeInserts = function () use ($mappings, $inserts): void {
  4. $mappings->execute();
  5. $inserts->execute();
  6. };
  7. try {
  8. foreach ($commands as $command) {
  9. if (!$command->isValid()) {
in /var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php -> Shopware\Core\Framework\DataAbstractionLayer\Dbal\{closure} (line 200)
  1. continue;
  2. }
  3. if ($command instanceof UpdateCommand) {
  4. $executeInserts();
  5. RetryableQuery::retryable($this->connection, function () use ($command, $table): void {
  6. $this->connection->update(
  7. EntityDefinitionQueryHelper::escape($table),
  8. $this->escapeColumnKeys($command->getPayload()),
  1. $this->eventDispatcher->dispatch($beforeWriteEvent);
  2. try {
  3. RetryableTransaction::retryable($this->connection, function () use ($commands, $context): void {
  4. $this->executeCommands($commands, $context);
  5. });
  6. $beforeWriteEvent->success();
  7. } catch (\Throwable $e) {
  8. $event = new WriteCommandExceptionEvent($e, $commands, $context->getContext());
in /var/www/vendor/doctrine/dbal/src/Connection.php -> Shopware\Core\Framework\DataAbstractionLayer\Dbal\{closure} (line 1282)
  1. */
  2. public function transactional(Closure $func)
  3. {
  4. $this->beginTransaction();
  5. try {
  6. $res = $func($this);
  7. $this->commit();
  8. return $res;
  9. } catch (Throwable $e) {
  10. $this->rollBack();
  1. private static function retry(Connection $connection, \Closure $closure, int $counter)
  2. {
  3. ++$counter;
  4. try {
  5. return $connection->transactional($closure);
  6. } catch (RetryableException $retryableException) {
  7. if ($connection->getTransactionNestingLevel() > 0) {
  8. // If this RetryableTransaction was executed inside another transaction, do not retry this nested
  9. // transaction. Remember that the whole (outermost) transaction was already rolled back by the database
  10. // when any RetryableException is thrown.
  1. *
  2. * @return TReturn
  3. */
  4. public static function retryable(Connection $connection, \Closure $closure)
  5. {
  6. return self::retry($connection, $closure, 0);
  7. }
  8. /**
  9. * @template TReturn of mixed
  10. *
  1. $beforeWriteEvent = EntityWriteEvent::create($context, $commands);
  2. $this->eventDispatcher->dispatch($beforeWriteEvent);
  3. try {
  4. RetryableTransaction::retryable($this->connection, function () use ($commands, $context): void {
  5. $this->executeCommands($commands, $context);
  6. });
  7. $beforeWriteEvent->success();
  8. } catch (\Throwable $e) {
  1. $writeContext->getExceptions()->tryToThrow();
  2. $ordered = $commandQueue->getCommandsInOrder($this->registry);
  3. $this->gateway->execute($ordered, $writeContext);
  4. $result = $this->factory->build($commandQueue);
  5. $parents = array_merge(
  6. $this->factory->resolveWrite($definition, $rawData),
  1. return $result;
  2. }
  3. public function upsert(EntityDefinition $definition, array $rawData, WriteContext $writeContext): array
  4. {
  5. return $this->write($definition, $rawData, $writeContext);
  6. }
  7. public function insert(EntityDefinition $definition, array $rawData, WriteContext $writeContext): array
  8. {
  9. return $this->write($definition, $rawData, $writeContext, InsertCommand::class);
  1. *
  2. * @return array<string, array<EntityWriteResult>>
  3. */
  4. public function upsert(EntityDefinition $definition, array $rawData, WriteContext $writeContext): array
  5. {
  6. $result = $this->entityWriter->upsert($definition, $rawData, $writeContext);
  7. $this->writeAuditLog($result, $writeContext);
  8. return $result;
  9. }
  1. */
  2. public function upsert(array $data, Context $context): EntityWrittenContainerEvent
  3. {
  4. ReplicaConnection::ensurePrimary();
  5. $affected = $this->versionManager->upsert($this->definition, $data, WriteContext::createFromContext($context));
  6. $event = EntityWrittenContainerEvent::createWithWrittenEvents($affected, $context, []);
  7. $this->eventDispatcher->dispatch($event);
  8. return $event;
  9. }
  1. if (empty($this->newIds) || !$event->isMainRequest()) {
  2. return;
  3. }
  4. // todo: we could do a manual merge to prevent errors like synced up inserts and updates
  5. $this->idRepository->upsert($this->newIds, Context::createDefaultContext());
  6. $this->newIds = [];
  7. }
  8. }
  1. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);
  2. $e = $this->stopwatch->start($this->name, 'event_listener');
  3. try {
  4. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
  5. } finally {
  6. if ($e->isStarted()) {
  7. $e->stop();
  8. }
  9. }
  1. foreach ($listeners as $listener) {
  2. if ($stoppable && $event->isPropagationStopped()) {
  3. break;
  4. }
  5. $listener($event, $eventName, $this);
  6. }
  7. }
  8. /**
  9. * Sorts the internal list of listeners for the given event by priority.
  1. } else {
  2. $listeners = $this->getListeners($eventName);
  3. }
  4. if ($listeners) {
  5. $this->callListeners($listeners, $eventName, $event);
  6. }
  7. return $event;
  8. }
  1. *
  2. * @return TEvent
  3. */
  4. public function dispatch(object $event, ?string $eventName = null): object
  5. {
  6. $event = $this->dispatcher->dispatch($event, $eventName);
  7. if (!$event instanceof FlowEventAware) {
  8. return $event;
  9. }
  1. ) {
  2. }
  3. public function dispatch(object $event, ?string $eventName = null): object
  4. {
  5. $event = $this->dispatcher->dispatch($event, $eventName);
  6. if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) {
  7. return $event;
  8. }
  1. }
  2. $this->dispatch($nested, $name);
  3. }
  4. }
  5. return $this->dispatcher->dispatch($event, $eventName);
  6. }
  7. /**
  8. * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283
  9. */
  1. try {
  2. $this->beforeDispatch($eventName, $event);
  3. try {
  4. $e = $this->stopwatch->start($eventName, 'section');
  5. try {
  6. $this->dispatcher->dispatch($event, $eventName);
  7. } finally {
  8. if ($e->isStarted()) {
  9. $e->stop();
  10. }
  11. }
  1. public function terminate(Request $request, Response $response): void
  2. {
  3. try {
  4. $this->terminating = true;
  5. $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
  6. } finally {
  7. $this->terminating = false;
  8. }
  9. }
  1. if (\in_array('fresh', $this->traces[$this->getTraceKey($request)] ?? [], true)) {
  2. return;
  3. }
  4. if ($this->getKernel() instanceof TerminableInterface) {
  5. $this->getKernel()->terminate($request, $response);
  6. }
  7. }
  8. /**
  9. * Forwards the Request to the backend without storing the Response in the cache.
  1. if (false === $this->booted) {
  2. return;
  3. }
  4. if ($this->getHttpKernel() instanceof TerminableInterface) {
  5. $this->getHttpKernel()->terminate($request, $response);
  6. }
  7. }
  8. public function shutdown(): void
  9. {
  1. } else {
  2. $response->send();
  3. }
  4. if ($this->kernel instanceof TerminableInterface) {
  5. $this->kernel->terminate($this->request, $response);
  6. }
  7. return 0;
  8. }
  9. }
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/var/www/vendor/autoload_runtime.php') in /var/www/public/index.php (line 11)
  1. use Shopware\Core\Framework\Adapter\Kernel\KernelFactory;
  2. use Symfony\Component\HttpFoundation\Response;
  3. $_SERVER['SCRIPT_FILENAME'] = __FILE__;
  4. require_once __DIR__ . '/../vendor/autoload_runtime.php';
  5. if (!file_exists(__DIR__ . '/../.env') && !file_exists(__DIR__ . '/../.env.dist') && !file_exists(__DIR__ . '/../.env.local.php')) {
  6. $_SERVER['APP_RUNTIME_OPTIONS']['disable_dotenv'] = true;
  7. }

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'k,\f&\xCE\xC4Gi;\xF4\x93y\xE0S\xDB-author-Ashmore, Jennie Kuhlma' for key 'meta_catalog_id.PRIMARY'

  1. } else {
  2. $code = $exception->getCode();
  3. $sqlState = null;
  4. }
  5. return new self($exception->getMessage(), $sqlState, $code, $exception);
  6. }
  7. }
  1. assert($result !== false);
  2. return $result;
  3. } catch (PDOException $exception) {
  4. throw Exception::new($exception);
  5. }
  6. }
  7. /**
  8. * {@inheritDoc}
  1. return $stmt->execute()
  2. ->rowCount();
  3. }
  4. return $connection->exec($sql);
  5. } catch (Driver\Exception $e) {
  6. throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);
  7. } finally {
  8. if ($logger !== null) {
  9. $logger->stopQuery();
  1. }
  2. $grouped = $this->prepare();
  3. RetryableTransaction::retryable($this->connection, function () use ($grouped): void {
  4. foreach ($grouped as $query) {
  5. $this->connection->executeStatement($query);
  6. }
  7. });
  8. unset($grouped);
  9. $this->inserts = [];
in /var/www/vendor/doctrine/dbal/src/Connection.php -> Shopware\Core\Framework\DataAbstractionLayer\Doctrine\{closure} (line 1282)
  1. */
  2. public function transactional(Closure $func)
  3. {
  4. $this->beginTransaction();
  5. try {
  6. $res = $func($this);
  7. $this->commit();
  8. return $res;
  9. } catch (Throwable $e) {
  10. $this->rollBack();
  1. private static function retry(Connection $connection, \Closure $closure, int $counter)
  2. {
  3. ++$counter;
  4. try {
  5. return $connection->transactional($closure);
  6. } catch (RetryableException $retryableException) {
  7. if ($connection->getTransactionNestingLevel() > 0) {
  8. // If this RetryableTransaction was executed inside another transaction, do not retry this nested
  9. // transaction. Remember that the whole (outermost) transaction was already rolled back by the database
  10. // when any RetryableException is thrown.
  1. *
  2. * @return TReturn
  3. */
  4. public static function retryable(Connection $connection, \Closure $closure)
  5. {
  6. return self::retry($connection, $closure, 0);
  7. }
  8. /**
  9. * @template TReturn of mixed
  10. *
  1. if (empty($this->inserts)) {
  2. return;
  3. }
  4. $grouped = $this->prepare();
  5. RetryableTransaction::retryable($this->connection, function () use ($grouped): void {
  6. foreach ($grouped as $query) {
  7. $this->connection->executeStatement($query);
  8. }
  9. });
  10. unset($grouped);
  1. $mappings = new MultiInsertQueryQueue($this->connection, $this->batchSize, false, true);
  2. $inserts = new MultiInsertQueryQueue($this->connection, $this->batchSize);
  3. $executeInserts = function () use ($mappings, $inserts): void {
  4. $mappings->execute();
  5. $inserts->execute();
  6. };
  7. try {
  8. foreach ($commands as $command) {
  9. if (!$command->isValid()) {
in /var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php -> Shopware\Core\Framework\DataAbstractionLayer\Dbal\{closure} (line 200)
  1. continue;
  2. }
  3. if ($command instanceof UpdateCommand) {
  4. $executeInserts();
  5. RetryableQuery::retryable($this->connection, function () use ($command, $table): void {
  6. $this->connection->update(
  7. EntityDefinitionQueryHelper::escape($table),
  8. $this->escapeColumnKeys($command->getPayload()),
  1. $this->eventDispatcher->dispatch($beforeWriteEvent);
  2. try {
  3. RetryableTransaction::retryable($this->connection, function () use ($commands, $context): void {
  4. $this->executeCommands($commands, $context);
  5. });
  6. $beforeWriteEvent->success();
  7. } catch (\Throwable $e) {
  8. $event = new WriteCommandExceptionEvent($e, $commands, $context->getContext());
in /var/www/vendor/doctrine/dbal/src/Connection.php -> Shopware\Core\Framework\DataAbstractionLayer\Dbal\{closure} (line 1282)
  1. */
  2. public function transactional(Closure $func)
  3. {
  4. $this->beginTransaction();
  5. try {
  6. $res = $func($this);
  7. $this->commit();
  8. return $res;
  9. } catch (Throwable $e) {
  10. $this->rollBack();
  1. private static function retry(Connection $connection, \Closure $closure, int $counter)
  2. {
  3. ++$counter;
  4. try {
  5. return $connection->transactional($closure);
  6. } catch (RetryableException $retryableException) {
  7. if ($connection->getTransactionNestingLevel() > 0) {
  8. // If this RetryableTransaction was executed inside another transaction, do not retry this nested
  9. // transaction. Remember that the whole (outermost) transaction was already rolled back by the database
  10. // when any RetryableException is thrown.
  1. *
  2. * @return TReturn
  3. */
  4. public static function retryable(Connection $connection, \Closure $closure)
  5. {
  6. return self::retry($connection, $closure, 0);
  7. }
  8. /**
  9. * @template TReturn of mixed
  10. *
  1. $beforeWriteEvent = EntityWriteEvent::create($context, $commands);
  2. $this->eventDispatcher->dispatch($beforeWriteEvent);
  3. try {
  4. RetryableTransaction::retryable($this->connection, function () use ($commands, $context): void {
  5. $this->executeCommands($commands, $context);
  6. });
  7. $beforeWriteEvent->success();
  8. } catch (\Throwable $e) {
  1. $writeContext->getExceptions()->tryToThrow();
  2. $ordered = $commandQueue->getCommandsInOrder($this->registry);
  3. $this->gateway->execute($ordered, $writeContext);
  4. $result = $this->factory->build($commandQueue);
  5. $parents = array_merge(
  6. $this->factory->resolveWrite($definition, $rawData),
  1. return $result;
  2. }
  3. public function upsert(EntityDefinition $definition, array $rawData, WriteContext $writeContext): array
  4. {
  5. return $this->write($definition, $rawData, $writeContext);
  6. }
  7. public function insert(EntityDefinition $definition, array $rawData, WriteContext $writeContext): array
  8. {
  9. return $this->write($definition, $rawData, $writeContext, InsertCommand::class);
  1. *
  2. * @return array<string, array<EntityWriteResult>>
  3. */
  4. public function upsert(EntityDefinition $definition, array $rawData, WriteContext $writeContext): array
  5. {
  6. $result = $this->entityWriter->upsert($definition, $rawData, $writeContext);
  7. $this->writeAuditLog($result, $writeContext);
  8. return $result;
  9. }
  1. */
  2. public function upsert(array $data, Context $context): EntityWrittenContainerEvent
  3. {
  4. ReplicaConnection::ensurePrimary();
  5. $affected = $this->versionManager->upsert($this->definition, $data, WriteContext::createFromContext($context));
  6. $event = EntityWrittenContainerEvent::createWithWrittenEvents($affected, $context, []);
  7. $this->eventDispatcher->dispatch($event);
  8. return $event;
  9. }
  1. if (empty($this->newIds) || !$event->isMainRequest()) {
  2. return;
  3. }
  4. // todo: we could do a manual merge to prevent errors like synced up inserts and updates
  5. $this->idRepository->upsert($this->newIds, Context::createDefaultContext());
  6. $this->newIds = [];
  7. }
  8. }
  1. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);
  2. $e = $this->stopwatch->start($this->name, 'event_listener');
  3. try {
  4. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
  5. } finally {
  6. if ($e->isStarted()) {
  7. $e->stop();
  8. }
  9. }
  1. foreach ($listeners as $listener) {
  2. if ($stoppable && $event->isPropagationStopped()) {
  3. break;
  4. }
  5. $listener($event, $eventName, $this);
  6. }
  7. }
  8. /**
  9. * Sorts the internal list of listeners for the given event by priority.
  1. } else {
  2. $listeners = $this->getListeners($eventName);
  3. }
  4. if ($listeners) {
  5. $this->callListeners($listeners, $eventName, $event);
  6. }
  7. return $event;
  8. }
  1. *
  2. * @return TEvent
  3. */
  4. public function dispatch(object $event, ?string $eventName = null): object
  5. {
  6. $event = $this->dispatcher->dispatch($event, $eventName);
  7. if (!$event instanceof FlowEventAware) {
  8. return $event;
  9. }
  1. ) {
  2. }
  3. public function dispatch(object $event, ?string $eventName = null): object
  4. {
  5. $event = $this->dispatcher->dispatch($event, $eventName);
  6. if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) {
  7. return $event;
  8. }
  1. }
  2. $this->dispatch($nested, $name);
  3. }
  4. }
  5. return $this->dispatcher->dispatch($event, $eventName);
  6. }
  7. /**
  8. * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283
  9. */
  1. try {
  2. $this->beforeDispatch($eventName, $event);
  3. try {
  4. $e = $this->stopwatch->start($eventName, 'section');
  5. try {
  6. $this->dispatcher->dispatch($event, $eventName);
  7. } finally {
  8. if ($e->isStarted()) {
  9. $e->stop();
  10. }
  11. }
  1. public function terminate(Request $request, Response $response): void
  2. {
  3. try {
  4. $this->terminating = true;
  5. $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
  6. } finally {
  7. $this->terminating = false;
  8. }
  9. }
  1. if (\in_array('fresh', $this->traces[$this->getTraceKey($request)] ?? [], true)) {
  2. return;
  3. }
  4. if ($this->getKernel() instanceof TerminableInterface) {
  5. $this->getKernel()->terminate($request, $response);
  6. }
  7. }
  8. /**
  9. * Forwards the Request to the backend without storing the Response in the cache.
  1. if (false === $this->booted) {
  2. return;
  3. }
  4. if ($this->getHttpKernel() instanceof TerminableInterface) {
  5. $this->getHttpKernel()->terminate($request, $response);
  6. }
  7. }
  8. public function shutdown(): void
  9. {
  1. } else {
  2. $response->send();
  3. }
  4. if ($this->kernel instanceof TerminableInterface) {
  5. $this->kernel->terminate($this->request, $response);
  6. }
  7. return 0;
  8. }
  9. }
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/var/www/vendor/autoload_runtime.php') in /var/www/public/index.php (line 11)
  1. use Shopware\Core\Framework\Adapter\Kernel\KernelFactory;
  2. use Symfony\Component\HttpFoundation\Response;
  3. $_SERVER['SCRIPT_FILENAME'] = __FILE__;
  4. require_once __DIR__ . '/../vendor/autoload_runtime.php';
  5. if (!file_exists(__DIR__ . '/../.env') && !file_exists(__DIR__ . '/../.env.dist') && !file_exists(__DIR__ . '/../.env.local.php')) {
  6. $_SERVER['APP_RUNTIME_OPTIONS']['disable_dotenv'] = true;
  7. }

PDOException

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'k,\f&\xCE\xC4Gi;\xF4\x93y\xE0S\xDB-author-Ashmore, Jennie Kuhlma' for key 'meta_catalog_id.PRIMARY'

  1. }
  2. public function exec(string $sql): int
  3. {
  4. try {
  5. $result = $this->connection->exec($sql);
  6. assert($result !== false);
  7. return $result;
  8. } catch (PDOException $exception) {
  1. }
  2. public function exec(string $sql): int
  3. {
  4. try {
  5. $result = $this->connection->exec($sql);
  6. assert($result !== false);
  7. return $result;
  8. } catch (PDOException $exception) {
  1. return $stmt->execute()
  2. ->rowCount();
  3. }
  4. return $connection->exec($sql);
  5. } catch (Driver\Exception $e) {
  6. throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);
  7. } finally {
  8. if ($logger !== null) {
  9. $logger->stopQuery();
  1. }
  2. $grouped = $this->prepare();
  3. RetryableTransaction::retryable($this->connection, function () use ($grouped): void {
  4. foreach ($grouped as $query) {
  5. $this->connection->executeStatement($query);
  6. }
  7. });
  8. unset($grouped);
  9. $this->inserts = [];
in /var/www/vendor/doctrine/dbal/src/Connection.php -> Shopware\Core\Framework\DataAbstractionLayer\Doctrine\{closure} (line 1282)
  1. */
  2. public function transactional(Closure $func)
  3. {
  4. $this->beginTransaction();
  5. try {
  6. $res = $func($this);
  7. $this->commit();
  8. return $res;
  9. } catch (Throwable $e) {
  10. $this->rollBack();
  1. private static function retry(Connection $connection, \Closure $closure, int $counter)
  2. {
  3. ++$counter;
  4. try {
  5. return $connection->transactional($closure);
  6. } catch (RetryableException $retryableException) {
  7. if ($connection->getTransactionNestingLevel() > 0) {
  8. // If this RetryableTransaction was executed inside another transaction, do not retry this nested
  9. // transaction. Remember that the whole (outermost) transaction was already rolled back by the database
  10. // when any RetryableException is thrown.
  1. *
  2. * @return TReturn
  3. */
  4. public static function retryable(Connection $connection, \Closure $closure)
  5. {
  6. return self::retry($connection, $closure, 0);
  7. }
  8. /**
  9. * @template TReturn of mixed
  10. *
  1. if (empty($this->inserts)) {
  2. return;
  3. }
  4. $grouped = $this->prepare();
  5. RetryableTransaction::retryable($this->connection, function () use ($grouped): void {
  6. foreach ($grouped as $query) {
  7. $this->connection->executeStatement($query);
  8. }
  9. });
  10. unset($grouped);
  1. $mappings = new MultiInsertQueryQueue($this->connection, $this->batchSize, false, true);
  2. $inserts = new MultiInsertQueryQueue($this->connection, $this->batchSize);
  3. $executeInserts = function () use ($mappings, $inserts): void {
  4. $mappings->execute();
  5. $inserts->execute();
  6. };
  7. try {
  8. foreach ($commands as $command) {
  9. if (!$command->isValid()) {
in /var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php -> Shopware\Core\Framework\DataAbstractionLayer\Dbal\{closure} (line 200)
  1. continue;
  2. }
  3. if ($command instanceof UpdateCommand) {
  4. $executeInserts();
  5. RetryableQuery::retryable($this->connection, function () use ($command, $table): void {
  6. $this->connection->update(
  7. EntityDefinitionQueryHelper::escape($table),
  8. $this->escapeColumnKeys($command->getPayload()),
  1. $this->eventDispatcher->dispatch($beforeWriteEvent);
  2. try {
  3. RetryableTransaction::retryable($this->connection, function () use ($commands, $context): void {
  4. $this->executeCommands($commands, $context);
  5. });
  6. $beforeWriteEvent->success();
  7. } catch (\Throwable $e) {
  8. $event = new WriteCommandExceptionEvent($e, $commands, $context->getContext());
in /var/www/vendor/doctrine/dbal/src/Connection.php -> Shopware\Core\Framework\DataAbstractionLayer\Dbal\{closure} (line 1282)
  1. */
  2. public function transactional(Closure $func)
  3. {
  4. $this->beginTransaction();
  5. try {
  6. $res = $func($this);
  7. $this->commit();
  8. return $res;
  9. } catch (Throwable $e) {
  10. $this->rollBack();
  1. private static function retry(Connection $connection, \Closure $closure, int $counter)
  2. {
  3. ++$counter;
  4. try {
  5. return $connection->transactional($closure);
  6. } catch (RetryableException $retryableException) {
  7. if ($connection->getTransactionNestingLevel() > 0) {
  8. // If this RetryableTransaction was executed inside another transaction, do not retry this nested
  9. // transaction. Remember that the whole (outermost) transaction was already rolled back by the database
  10. // when any RetryableException is thrown.
  1. *
  2. * @return TReturn
  3. */
  4. public static function retryable(Connection $connection, \Closure $closure)
  5. {
  6. return self::retry($connection, $closure, 0);
  7. }
  8. /**
  9. * @template TReturn of mixed
  10. *
  1. $beforeWriteEvent = EntityWriteEvent::create($context, $commands);
  2. $this->eventDispatcher->dispatch($beforeWriteEvent);
  3. try {
  4. RetryableTransaction::retryable($this->connection, function () use ($commands, $context): void {
  5. $this->executeCommands($commands, $context);
  6. });
  7. $beforeWriteEvent->success();
  8. } catch (\Throwable $e) {
  1. $writeContext->getExceptions()->tryToThrow();
  2. $ordered = $commandQueue->getCommandsInOrder($this->registry);
  3. $this->gateway->execute($ordered, $writeContext);
  4. $result = $this->factory->build($commandQueue);
  5. $parents = array_merge(
  6. $this->factory->resolveWrite($definition, $rawData),
  1. return $result;
  2. }
  3. public function upsert(EntityDefinition $definition, array $rawData, WriteContext $writeContext): array
  4. {
  5. return $this->write($definition, $rawData, $writeContext);
  6. }
  7. public function insert(EntityDefinition $definition, array $rawData, WriteContext $writeContext): array
  8. {
  9. return $this->write($definition, $rawData, $writeContext, InsertCommand::class);
  1. *
  2. * @return array<string, array<EntityWriteResult>>
  3. */
  4. public function upsert(EntityDefinition $definition, array $rawData, WriteContext $writeContext): array
  5. {
  6. $result = $this->entityWriter->upsert($definition, $rawData, $writeContext);
  7. $this->writeAuditLog($result, $writeContext);
  8. return $result;
  9. }
  1. */
  2. public function upsert(array $data, Context $context): EntityWrittenContainerEvent
  3. {
  4. ReplicaConnection::ensurePrimary();
  5. $affected = $this->versionManager->upsert($this->definition, $data, WriteContext::createFromContext($context));
  6. $event = EntityWrittenContainerEvent::createWithWrittenEvents($affected, $context, []);
  7. $this->eventDispatcher->dispatch($event);
  8. return $event;
  9. }
  1. if (empty($this->newIds) || !$event->isMainRequest()) {
  2. return;
  3. }
  4. // todo: we could do a manual merge to prevent errors like synced up inserts and updates
  5. $this->idRepository->upsert($this->newIds, Context::createDefaultContext());
  6. $this->newIds = [];
  7. }
  8. }
  1. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);
  2. $e = $this->stopwatch->start($this->name, 'event_listener');
  3. try {
  4. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
  5. } finally {
  6. if ($e->isStarted()) {
  7. $e->stop();
  8. }
  9. }
  1. foreach ($listeners as $listener) {
  2. if ($stoppable && $event->isPropagationStopped()) {
  3. break;
  4. }
  5. $listener($event, $eventName, $this);
  6. }
  7. }
  8. /**
  9. * Sorts the internal list of listeners for the given event by priority.
  1. } else {
  2. $listeners = $this->getListeners($eventName);
  3. }
  4. if ($listeners) {
  5. $this->callListeners($listeners, $eventName, $event);
  6. }
  7. return $event;
  8. }
  1. *
  2. * @return TEvent
  3. */
  4. public function dispatch(object $event, ?string $eventName = null): object
  5. {
  6. $event = $this->dispatcher->dispatch($event, $eventName);
  7. if (!$event instanceof FlowEventAware) {
  8. return $event;
  9. }
  1. ) {
  2. }
  3. public function dispatch(object $event, ?string $eventName = null): object
  4. {
  5. $event = $this->dispatcher->dispatch($event, $eventName);
  6. if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) {
  7. return $event;
  8. }
  1. }
  2. $this->dispatch($nested, $name);
  3. }
  4. }
  5. return $this->dispatcher->dispatch($event, $eventName);
  6. }
  7. /**
  8. * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283
  9. */
  1. try {
  2. $this->beforeDispatch($eventName, $event);
  3. try {
  4. $e = $this->stopwatch->start($eventName, 'section');
  5. try {
  6. $this->dispatcher->dispatch($event, $eventName);
  7. } finally {
  8. if ($e->isStarted()) {
  9. $e->stop();
  10. }
  11. }
  1. public function terminate(Request $request, Response $response): void
  2. {
  3. try {
  4. $this->terminating = true;
  5. $this->dispatcher->dispatch(new TerminateEvent($this, $request, $response), KernelEvents::TERMINATE);
  6. } finally {
  7. $this->terminating = false;
  8. }
  9. }
  1. if (\in_array('fresh', $this->traces[$this->getTraceKey($request)] ?? [], true)) {
  2. return;
  3. }
  4. if ($this->getKernel() instanceof TerminableInterface) {
  5. $this->getKernel()->terminate($request, $response);
  6. }
  7. }
  8. /**
  9. * Forwards the Request to the backend without storing the Response in the cache.
  1. if (false === $this->booted) {
  2. return;
  3. }
  4. if ($this->getHttpKernel() instanceof TerminableInterface) {
  5. $this->getHttpKernel()->terminate($request, $response);
  6. }
  7. }
  8. public function shutdown(): void
  9. {
  1. } else {
  2. $response->send();
  3. }
  4. if ($this->kernel instanceof TerminableInterface) {
  5. $this->kernel->terminate($this->request, $response);
  6. }
  7. return 0;
  8. }
  9. }
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/var/www/vendor/autoload_runtime.php') in /var/www/public/index.php (line 11)
  1. use Shopware\Core\Framework\Adapter\Kernel\KernelFactory;
  2. use Symfony\Component\HttpFoundation\Response;
  3. $_SERVER['SCRIPT_FILENAME'] = __FILE__;
  4. require_once __DIR__ . '/../vendor/autoload_runtime.php';
  5. if (!file_exists(__DIR__ . '/../.env') && !file_exists(__DIR__ . '/../.env.dist') && !file_exists(__DIR__ . '/../.env.local.php')) {
  6. $_SERVER['APP_RUNTIME_OPTIONS']['disable_dotenv'] = true;
  7. }

Stack Traces 4

[4/4] ErrorException
ErrorException:
Warning: session_name(): Session name cannot be changed after headers have already been sent

  at /var/www/vendor/symfony/http-foundation/Session/Storage/Proxy/AbstractProxy.php:96
  at Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy->setName()
     (/var/www/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:182)
  at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->setName()
     (/var/www/vendor/symfony/http-foundation/Session/Session.php:181)
  at Symfony\Component\HttpFoundation\Session\Session->setName()
     (/var/www/vendor/shopware/storefront/Framework/Routing/StorefrontSubscriber.php:109)
  at Shopware\Storefront\Framework\Routing\StorefrontSubscriber->startSession()
     (/var/www/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/var/www/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/var/www/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/var/www/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:50)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
     (/var/www/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
     (/var/www/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
     (/var/www/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:122)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/var/www/vendor/symfony/http-kernel/HttpKernel.php:159)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (/var/www/vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/var/www/vendor/shopware/core/Framework/Adapter/Kernel/HttpKernel.php:41)
  at Shopware\Core\Framework\Adapter\Kernel\HttpKernel->handle()
     (/var/www/vendor/symfony/http-kernel/EventListener/ErrorListener.php:97)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
     (/var/www/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/var/www/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/var/www/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/var/www/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:50)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
     (/var/www/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
     (/var/www/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
     (/var/www/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:122)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/var/www/vendor/symfony/http-kernel/HttpKernel.php:241)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
     (/var/www/vendor/symfony/http-kernel/HttpKernel.php:134)
  at Symfony\Component\HttpKernel\HttpKernel->terminateWithException()
     (/var/www/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:82)
  at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}()
     (/var/www/vendor/symfony/error-handler/ErrorHandler.php:535)
  at Symfony\Component\ErrorHandler\ErrorHandler->handleException()                
[3/4] UniqueConstraintViolationException
Doctrine\DBAL\Exception\UniqueConstraintViolationException:
An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'k,\f&\xCE\xC4Gi;\xF4\x93y\xE0S\xDB-author-Ashmore, Jennie Kuhlma' for key 'meta_catalog_id.PRIMARY'

  at /var/www/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:62
  at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
     (/var/www/vendor/doctrine/dbal/src/Connection.php:1939)
  at Doctrine\DBAL\Connection->handleDriverException()
     (/var/www/vendor/doctrine/dbal/src/Connection.php:1881)
  at Doctrine\DBAL\Connection->convertExceptionDuringQuery()
     (/var/www/vendor/doctrine/dbal/src/Connection.php:1213)
  at Doctrine\DBAL\Connection->executeStatement()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/MultiInsertQueryQueue.php:82)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\MultiInsertQueryQueue->Shopware\Core\Framework\DataAbstractionLayer\Doctrine\{closure}()
     (/var/www/vendor/doctrine/dbal/src/Connection.php:1282)
  at Doctrine\DBAL\Connection->transactional()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:40)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\RetryableTransaction::retry()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:25)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\RetryableTransaction::retryable()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/MultiInsertQueryQueue.php:80)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\MultiInsertQueryQueue->execute()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php:156)
  at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityWriteGateway->Shopware\Core\Framework\DataAbstractionLayer\Dbal\{closure}()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php:200)
  at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityWriteGateway->executeCommands()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php:116)
  at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityWriteGateway->Shopware\Core\Framework\DataAbstractionLayer\Dbal\{closure}()
     (/var/www/vendor/doctrine/dbal/src/Connection.php:1282)
  at Doctrine\DBAL\Connection->transactional()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:40)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\RetryableTransaction::retry()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:25)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\RetryableTransaction::retryable()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php:115)
  at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityWriteGateway->execute()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Write/EntityWriter.php:204)
  at Shopware\Core\Framework\DataAbstractionLayer\Write\EntityWriter->write()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Write/EntityWriter.php:129)
  at Shopware\Core\Framework\DataAbstractionLayer\Write\EntityWriter->upsert()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/VersionManager.php:84)
  at Shopware\Core\Framework\DataAbstractionLayer\VersionManager->upsert()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:107)
  at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->upsert()
     (/var/www/custom/plugins/esMetaCatalog6/src/Core/Content/MetaCatalog/Id/IdService.php:191)
  at eurosoft\MetaCatalog6\Core\Content\MetaCatalog\Id\IdService->persistNewIds()
     (/var/www/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/var/www/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/var/www/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/var/www/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:50)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
     (/var/www/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
     (/var/www/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
     (/var/www/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:122)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/var/www/vendor/symfony/http-kernel/HttpKernel.php:114)
  at Symfony\Component\HttpKernel\HttpKernel->terminate()
     (/var/www/vendor/symfony/http-kernel/HttpCache/HttpCache.php:247)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->terminate()
     (/var/www/vendor/symfony/http-kernel/Kernel.php:145)
  at Symfony\Component\HttpKernel\Kernel->terminate()
     (/var/www/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:53)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (/var/www/vendor/autoload_runtime.php:29)
  at require_once('/var/www/vendor/autoload_runtime.php')
     (/var/www/public/index.php:11)                
[2/4] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'k,\f&\xCE\xC4Gi;\xF4\x93y\xE0S\xDB-author-Ashmore, Jennie Kuhlma' for key 'meta_catalog_id.PRIMARY'

  at /var/www/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (/var/www/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:39)
  at Doctrine\DBAL\Driver\PDO\Connection->exec()
     (/var/www/vendor/doctrine/dbal/src/Connection.php:1211)
  at Doctrine\DBAL\Connection->executeStatement()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/MultiInsertQueryQueue.php:82)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\MultiInsertQueryQueue->Shopware\Core\Framework\DataAbstractionLayer\Doctrine\{closure}()
     (/var/www/vendor/doctrine/dbal/src/Connection.php:1282)
  at Doctrine\DBAL\Connection->transactional()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:40)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\RetryableTransaction::retry()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:25)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\RetryableTransaction::retryable()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/MultiInsertQueryQueue.php:80)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\MultiInsertQueryQueue->execute()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php:156)
  at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityWriteGateway->Shopware\Core\Framework\DataAbstractionLayer\Dbal\{closure}()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php:200)
  at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityWriteGateway->executeCommands()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php:116)
  at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityWriteGateway->Shopware\Core\Framework\DataAbstractionLayer\Dbal\{closure}()
     (/var/www/vendor/doctrine/dbal/src/Connection.php:1282)
  at Doctrine\DBAL\Connection->transactional()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:40)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\RetryableTransaction::retry()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:25)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\RetryableTransaction::retryable()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php:115)
  at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityWriteGateway->execute()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Write/EntityWriter.php:204)
  at Shopware\Core\Framework\DataAbstractionLayer\Write\EntityWriter->write()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Write/EntityWriter.php:129)
  at Shopware\Core\Framework\DataAbstractionLayer\Write\EntityWriter->upsert()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/VersionManager.php:84)
  at Shopware\Core\Framework\DataAbstractionLayer\VersionManager->upsert()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:107)
  at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->upsert()
     (/var/www/custom/plugins/esMetaCatalog6/src/Core/Content/MetaCatalog/Id/IdService.php:191)
  at eurosoft\MetaCatalog6\Core\Content\MetaCatalog\Id\IdService->persistNewIds()
     (/var/www/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/var/www/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/var/www/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/var/www/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:50)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
     (/var/www/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
     (/var/www/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
     (/var/www/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:122)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/var/www/vendor/symfony/http-kernel/HttpKernel.php:114)
  at Symfony\Component\HttpKernel\HttpKernel->terminate()
     (/var/www/vendor/symfony/http-kernel/HttpCache/HttpCache.php:247)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->terminate()
     (/var/www/vendor/symfony/http-kernel/Kernel.php:145)
  at Symfony\Component\HttpKernel\Kernel->terminate()
     (/var/www/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:53)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (/var/www/vendor/autoload_runtime.php:29)
  at require_once('/var/www/vendor/autoload_runtime.php')
     (/var/www/public/index.php:11)                
[1/4] PDOException
PDOException:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'k,\f&\xCE\xC4Gi;\xF4\x93y\xE0S\xDB-author-Ashmore, Jennie Kuhlma' for key 'meta_catalog_id.PRIMARY'

  at /var/www/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:33
  at PDO->exec()
     (/var/www/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:33)
  at Doctrine\DBAL\Driver\PDO\Connection->exec()
     (/var/www/vendor/doctrine/dbal/src/Connection.php:1211)
  at Doctrine\DBAL\Connection->executeStatement()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/MultiInsertQueryQueue.php:82)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\MultiInsertQueryQueue->Shopware\Core\Framework\DataAbstractionLayer\Doctrine\{closure}()
     (/var/www/vendor/doctrine/dbal/src/Connection.php:1282)
  at Doctrine\DBAL\Connection->transactional()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:40)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\RetryableTransaction::retry()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:25)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\RetryableTransaction::retryable()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/MultiInsertQueryQueue.php:80)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\MultiInsertQueryQueue->execute()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php:156)
  at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityWriteGateway->Shopware\Core\Framework\DataAbstractionLayer\Dbal\{closure}()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php:200)
  at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityWriteGateway->executeCommands()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php:116)
  at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityWriteGateway->Shopware\Core\Framework\DataAbstractionLayer\Dbal\{closure}()
     (/var/www/vendor/doctrine/dbal/src/Connection.php:1282)
  at Doctrine\DBAL\Connection->transactional()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:40)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\RetryableTransaction::retry()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Doctrine/RetryableTransaction.php:25)
  at Shopware\Core\Framework\DataAbstractionLayer\Doctrine\RetryableTransaction::retryable()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityWriteGateway.php:115)
  at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityWriteGateway->execute()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Write/EntityWriter.php:204)
  at Shopware\Core\Framework\DataAbstractionLayer\Write\EntityWriter->write()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/Write/EntityWriter.php:129)
  at Shopware\Core\Framework\DataAbstractionLayer\Write\EntityWriter->upsert()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/VersionManager.php:84)
  at Shopware\Core\Framework\DataAbstractionLayer\VersionManager->upsert()
     (/var/www/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:107)
  at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->upsert()
     (/var/www/custom/plugins/esMetaCatalog6/src/Core/Content/MetaCatalog/Id/IdService.php:191)
  at eurosoft\MetaCatalog6\Core\Content\MetaCatalog\Id\IdService->persistNewIds()
     (/var/www/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (/var/www/vendor/symfony/event-dispatcher/EventDispatcher.php:206)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (/var/www/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (/var/www/vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:50)
  at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch()
     (/var/www/vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:70)
  at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch()
     (/var/www/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31)
  at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch()
     (/var/www/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:122)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (/var/www/vendor/symfony/http-kernel/HttpKernel.php:114)
  at Symfony\Component\HttpKernel\HttpKernel->terminate()
     (/var/www/vendor/symfony/http-kernel/HttpCache/HttpCache.php:247)
  at Symfony\Component\HttpKernel\HttpCache\HttpCache->terminate()
     (/var/www/vendor/symfony/http-kernel/Kernel.php:145)
  at Symfony\Component\HttpKernel\Kernel->terminate()
     (/var/www/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:53)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (/var/www/vendor/autoload_runtime.php:29)
  at require_once('/var/www/vendor/autoload_runtime.php')
     (/var/www/public/index.php:11)