synqup-kubernetes-master.temp-shop.managed-dev.synqup.cloud
Open in
urlscan Pro
193.35.198.46
Public Scan
URL:
https://synqup-kubernetes-master.temp-shop.managed-dev.synqup.cloud/
Submission: On November 01 via api from US — Scanned from DE
Submission: On November 01 via api from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
SYMFONY EXCEPTION Symfony Docs PDOEXCEPTION EXCEPTION INVALIDFIELDNAMEEXCEPTION HTTP 500 INTERNAL SERVER ERROR AN EXCEPTION OCCURRED WHILE EXECUTING A QUERY: SQLSTATE[42S22]: COLUMN NOT FOUND: 1054 UNKNOWN COLUMN 'TAX_RULE.ACTIVE_FROM' IN 'FIELD LIST' Exceptions 3 Logs Stack Traces 3 EXCEPTIONS 3 DOCTRINE\DBAL\EXCEPTION\ INVALIDFIELDNAMEEXCEPTION Show exception properties 0 of 0 Doctrine\DBAL\Exception\InvalidFieldNameException {#2833 ▼ -query: Doctrine\DBAL\Query {#2832 ▶ -sql: """ # base-context-factory::taxes::association::rules::read\n SELECT `tax_rule`.`id` as `tax_rule.id`, `tax_rule`.`tax_rule_type_id` as `tax_rule.taxRuleTypeId`, `tax_rule`.`country_id` as `tax_rule.countryId`, `tax_rule`.`tax_rate` as `tax_rule.taxRate`, `tax_rule`.`data` as `tax_rule.data`, `tax_rule`.`tax_id` as `tax_rule.taxId`, `tax_rule`.`active_from` as `tax_rule.activeFrom`, `tax_rule.type`.`id` as `tax_rule.type.id`, `tax_rule.type`.`technical_name` as `tax_rule.type.technicalName`, `tax_rule.type`.`position` as `tax_rule.type.position`, `tax_rule.type`.`created_at` as `tax_rule.type.createdAt`, `tax_rule.type`.`updated_at` as `tax_rule.type.updatedAt`, `tax_rule.type.translation.typeName`, COALESCE(`tax_rule.type.translation.typeName`,`tax_rule.type.translation.typeName`) as `tax_rule.type.typeName`, `tax_rule.type.translation.createdAt`, `tax_rule.type.translation.updatedAt`, `tax_rule.type.translation.taxRuleTypeId`, `tax_rule.type.translation.languageId`, `tax_rule`.`created_at` as `tax_rule.createdAt`, `tax_rule`.`updated_at` as `tax_rule.updatedAt` FROM `tax_rule` LEFT JOIN `tax_rule_type` `tax_rule.type` ON `tax_rule`.`tax_rule_type_id` = `tax_rule.type`.`id` LEFT JOIN (SELECT `tax_rule.type.translation`.tax_rule_type_id, `tax_rule.type.translation`.type_name as `tax_rule.type.translation.typeName`, `tax_rule.type.translation`.created_at as `tax_rule.type.translation.createdAt`, `tax_rule.type.translation`.updated_at as `tax_rule.type.translation.updatedAt`, `tax_rule.type.translation`.tax_rule_type_id as `tax_rule.type.translation.taxRuleTypeId`, `tax_rule.type.translation`.language_id as `tax_rule.type.translation.languageId` FROM `tax_rule_type_translation` `tax_rule.type.translation` WHERE `tax_rule.type.translation`.language_id = ?) `tax_rule.type.tax_rule_type_translation` ON `tax_rule.type.tax_rule_type_translation`.`tax_rule_type_id` = `tax_rule.type`.`id` WHERE (`tax_rule`.`tax_id` IN (?, ?, ?)) ◀SELECT `tax_rule`.`id` as `tax_rule.id`, `tax_rule`.`tax_rule_type_id` as `tax_rule.taxRuleTypeId`, `tax_rule`.`country_id` as `tax_rule.countryId`, `tax_rule`. ▶ """ -params: array:4 [▶ 0 => b"/»_ââšMpªXTÎ|ãâ\v" 1 => b"ÅçmlÕ¶I`É.!C¼╦ÞA" 2 => b"ûlµÿzEJì┤|O░┴ÆXÍ" 3 => b"–µ°O#\x13OÓ¨N‰Kû\x18\x00E" ] -types: array:4 [▶ 0 => 2 1 => 2 2 => 2 3 => 2 ] } } in vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php (line 67) 62. return new UniqueConstraintViolationException($exception, $query); 63. 64. case 1054: 65. case 1166: 66. case 1611: 67. return new InvalidFieldNameException($exception, $query); 68. 69. case 1052: 70. case 1060: 71. case 1110: 72. return new NonUniqueFieldNameException($exception, $query); in vendor/doctrine/dbal/src/Connection.php -> convert (line 1938) 1933. private function handleDriverException( 1934. Driver\Exception $driverException, 1935. ?Query $query 1936. ): DriverException { 1937. $this->exceptionConverter ??= $this->_driver->getExceptionConverter(); 1938. $exception = $this->exceptionConverter->convert($driverException, $query); 1939. 1940. if ($exception instanceof ConnectionLost) { 1941. $this->close(); 1942. } 1943. in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1880) 1875. Driver\Exception $e, 1876. string $sql, 1877. array $params = [], 1878. array $types = [] 1879. ): DriverException { 1880. return $this->handleDriverException($e, new Query($sql, $params, $types)); 1881. } 1882. 1883. /** @internal */ 1884. final public function convertException(Driver\Exception $e): DriverException 1885. { in vendor/doctrine/dbal/src/Connection.php -> convertExceptionDuringQuery (line 1105) 1100. $result = $connection->query($sql); 1101. } 1102. 1103. return new Result($result, $this); 1104. } catch (Driver\Exception $e) { 1105. throw $this->convertExceptionDuringQuery($e, $sql, $params, $types); 1106. } finally { 1107. if ($logger !== null) { 1108. $logger->stopQuery(); 1109. } 1110. } in vendor/doctrine/dbal/src/Query/QueryBuilder.php -> executeQuery (line 341) 336. { 337. return $this->connection->executeQuery( 338. $this->getSQL(), 339. $this->params, 340. $this->paramTypes, 341. $this->resultCacheProfile, 342. ); 343. } 344. 345. /** 346. * Executes an SQL statement and returns the number of affected rows. in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> executeQuery (line 307) 302. 303. if ($criteria->getTitle()) { 304. $query->setTitle($criteria->getTitle() . '::read'); 305. } 306. 307. return $query->executeQuery()->fetchAllAssociative(); 308. } 309. 310. /** 311. * @param EntityCollection<Entity> $collection 312. * @param array<string, mixed> $partial in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> fetch (line 131) 126. 127. if ($definition->isInheritanceAware() && $criteria->hasAssociation('parent')) { 128. throw new ParentAssociationCanNotBeFetched(); 129. } 130. 131. $rows = $this->fetch($criteria, $definition, $context, $fields, $partial); 132. 133. $collection = $this->hydrator->hydrate($collection, $definition->getEntityClass(), $definition, $rows, $definition->getEntityName(), $context, $partial); 134. 135. $collection = $this->fetchAssociations($criteria, $definition, $context, $collection, $fields, $partial); 136. in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> _read (line 497) 492. $referenceClass, 493. $context, 494. new $collectionClass(), 495. $referenceClass->getFields()->getBasicFields(), 496. false, 497. $partial 498. ); 499. 500. $grouped = []; 501. foreach ($data as $entity) { 502. $fk = $entity->get($propertyName); in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> loadOneToManyWithoutPagination (line 433) 428. ); 429. } 430. 431. // association should not be paginated > load data over foreign key condition 432. if ($fieldCriteria->getLimit() === null) { 433. $this->loadOneToManyWithoutPagination($definition, $association, $context, $collection, $fieldCriteria, $partial); 434. 435. return; 436. } 437. 438. // load association paginated > use internal counter loops in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> loadOneToMany (line 1208) 1203. 1204. continue; 1205. } 1206. 1207. if ($association instanceof OneToManyAssociationField) { 1208. $this->loadOneToMany($criteria, $definition, $association, $context, $collection, $partial[$association->getPropertyName()] ?? []); 1209. 1210. continue; 1211. } 1212. 1213. if ($association instanceof ManyToManyAssociationField) { in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> fetchAssociations (line 135) 130. 131. $rows = $this->fetch($criteria, $definition, $context, $fields, $partial); 132. 133. $collection = $this->hydrator->hydrate($collection, $definition->getEntityClass(), $definition, $rows, $definition->getEntityName(), $context, $partial); 134. 135. $collection = $this->fetchAssociations($criteria, $definition, $context, $collection, $fields, $partial); 136. 137. $hasIds = !empty($criteria->getIds()); 138. if ($hasIds && empty($criteria->getSorting())) { 139. $collection->sortByIdArray($criteria->getIds()); 140. } in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> _read (line 75) 70. $collectionClass = $definition->getCollectionClass(); 71. 72. $fields = $this->criteriaFieldsResolver->resolve($criteria, $definition); 73. 74. return $this->_read( 75. $criteria, 76. $definition, 77. $context, 78. new $collectionClass(), 79. $definition->getFields()->getBasicFields(), 80. true, in vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php -> read (line 212) 207. private function read(Criteria $criteria, Context $context): EntityCollection 208. { 209. $criteria = clone $criteria; 210. 211. /** @var TEntityCollection $entities */ 212. $entities = $this->reader->read($this->definition, $criteria, $context); 213. 214. if ($criteria->getFields() === []) { 215. $event = $this->eventFactory->create($entities->getElements(), $context); 216. } else { 217. $event = $this->eventFactory->createPartial($entities->getElements(), $context); in vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php -> read (line 240) 235. 236. if (!RepositorySearchDetector::isSearchRequired($this->definition, $criteria)) { 237. $this->eventDispatcher->dispatch( 238. new EntitySearchedEvent($criteria, $this->definition, $context) 239. ); 240. $entities = $this->read($criteria, $context); 241. 242. return new EntitySearchResult($this->definition->getEntityName(), $entities->count(), $entities, $aggregations, $criteria, $context); 243. } 244. 245. $ids = $this->searchIds($criteria, $context); in vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php -> _search (line 65) 60. { 61. if (!$criteria->getTitle()) { 62. return $this->_search($criteria, $context); 63. } 64. 65. return Profiler::trace($criteria->getTitle(), fn () => $this->_search($criteria, $context), 'repository'); 66. } 67. 68. public function aggregate(Criteria $criteria, Context $context): AggregationResultCollection 69. { 70. $criteria = clone $criteria; in vendor/shopware/core/Profiling/Profiler.php -> Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 67) 62. try { 63. foreach (self::$profilers as $profiler) { 64. $profiler->start($name, $category, $tags); 65. } 66. 67. $result = $closure(); 68. } finally { 69. foreach (self::$profilers as $profiler) { 70. $profiler->stop($name); 71. } 72. } in vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php :: trace (line 65) 60. { 61. if (!$criteria->getTitle()) { 62. return $this->_search($criteria, $context); 63. } 64. 65. return Profiler::trace($criteria->getTitle(), fn () => $this->_search($criteria, $context), 'repository'); 66. } 67. 68. public function aggregate(Criteria $criteria, Context $context): AggregationResultCollection 69. { 70. $criteria = clone $criteria; in vendor/shopware/core/System/SalesChannel/Context/BaseContextFactory.php -> search (line 143) 138. $criteria = new Criteria(); 139. $criteria->setTitle('base-context-factory::taxes'); 140. $criteria->addAssociation('rules.type'); 141. 142. /** @var TaxCollection $taxes */ 143. $taxes = $this->taxRepository->search($criteria, $context)->getEntities(); 144. 145. return $taxes; 146. } 147. 148. /** in vendor/shopware/core/System/SalesChannel/Context/BaseContextFactory.php -> getTaxRules (line 100) 95. 96. /** @var CustomerGroupEntity $customerGroup */ 97. $customerGroup = $customerGroups->get($groupId); 98. 99. // loads tax rules based on active customer and delivery address 100. $taxRules = $this->getTaxRules($context); 101. 102. // detect active payment method, first check if checkout defined other payment method, otherwise validate if customer logged in, at least use shop default 103. $payment = $this->getPaymentMethod($options, $context, $salesChannel); 104. 105. // detect active delivery method, at first checkout scope, at least shop default method in vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php -> create (line 55) 50. ]); 51. 52. $key = implode('-', [$name, md5(json_encode($keys, \JSON_THROW_ON_ERROR))]); 53. 54. $value = $this->cache->get($key, function (ItemInterface $item) use ($name, $salesChannelId, $options) { 55. $context = $this->tracer->trace($name, fn () => $this->decorated->create($salesChannelId, $options)); 56. 57. $keys = array_unique(array_merge( 58. $this->tracer->get($name), 59. [$name, CachedSalesChannelContextFactory::ALL_TAG] 60. )); in vendor/shopware/core/System/SystemConfig/SystemConfigService.php -> Shopware\Core\System\SalesChannel\Context\{closure} (line 415) 410. public function trace(string $key, \Closure $param) 411. { 412. $this->traces[$key] = []; 413. $this->keys[$key] = true; 414. 415. $result = $param(); 416. 417. unset($this->keys[$key]); 418. 419. return $result; 420. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/core/Framework/Adapter/Translation/Translator.php -> Shopware\Core\Framework\Adapter\Cache\{closure} (line 96) 91. public function trace(string $key, \Closure $param) 92. { 93. $this->traces[$key] = []; 94. $this->keys[$key] = true; 95. 96. $result = $param(); 97. 98. unset($this->keys[$key]); 99. 100. return $result; 101. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php -> Shopware\Core\Framework\Adapter\Cache\{closure} (line 56) 51. public function trace(string $key, \Closure $param) 52. { 53. $this->traces[$key] = []; 54. $this->keys[$key] = true; 55. 56. $result = $param(); 57. 58. unset($this->keys[$key]); 59. 60. return $result; 61. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/storefront/Framework/Cache/CacheTracer.php -> trace (line 33) 28. return $this->decorated; 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->themeConfigAccessor->trace($key, fn () => $this->getDecorated()->trace($key, $param)); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_unique(array_merge( in vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php -> Shopware\Storefront\Framework\Cache\{closure} (line 76) 71. public function trace(string $key, \Closure $param) 72. { 73. $this->traces[$key] = []; 74. $this->keys[$key] = true; 75. 76. $result = $param(); 77. 78. unset($this->keys[$key]); 79. 80. return $result; 81. } in vendor/shopware/storefront/Framework/Cache/CacheTracer.php -> trace (line 33) 28. return $this->decorated; 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->themeConfigAccessor->trace($key, fn () => $this->getDecorated()->trace($key, $param)); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_unique(array_merge( in vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php -> trace (line 55) 50. ]); 51. 52. $key = implode('-', [$name, md5(json_encode($keys, \JSON_THROW_ON_ERROR))]); 53. 54. $value = $this->cache->get($key, function (ItemInterface $item) use ($name, $salesChannelId, $options) { 55. $context = $this->tracer->trace($name, fn () => $this->decorated->create($salesChannelId, $options)); 56. 57. $keys = array_unique(array_merge( 58. $this->tracer->get($name), 59. [$name, CachedSalesChannelContextFactory::ALL_TAG] 60. )); in vendor/symfony/cache-contracts/CacheTrait.php -> Shopware\Core\System\SalesChannel\Context\{closure} (line 70) 65. } 66. } 67. 68. if ($recompute) { 69. $save = true; 70. $item->set($callback($item, $save)); 71. if ($save) { 72. $pool->save($item); 73. } 74. } 75. in vendor/symfony/cache-contracts/CacheTrait.php -> doGet (line 33) 28. /** 29. * {@inheritdoc} 30. */ 31. public function get(string $key, callable $callback, float $beta = null, array &$metadata = null): mixed 32. { 33. return $this->doGet($this, $key, $callback, $beta, $metadata); 34. } 35. 36. /** 37. * {@inheritdoc} 38. */ in vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php -> get (line 65) 60. )); 61. 62. $item->tag($keys); 63. 64. return CacheValueCompressor::compress($context); 65. }); 66. 67. return CacheValueCompressor::uncompress($value); 68. } 69. 70. public static function buildName(string $salesChannelId): string in vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextFactory.php -> create (line 61) 56. } 57. 58. public function create(string $token, string $salesChannelId, array $options = []): SalesChannelContext 59. { 60. // we split the context generation to allow caching of the base context 61. $base = $this->baseContextFactory->create($salesChannelId, $options); 62. 63. // customer 64. $customer = null; 65. if (\array_key_exists(SalesChannelContextService::CUSTOMER_ID, $options) && $options[SalesChannelContextService::CUSTOMER_ID] !== null) { 66. // load logged in customer and set active addresses in vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php -> create (line 47) 42. ksort($options); 43. 44. $key = implode('-', [$name, md5(json_encode($options, \JSON_THROW_ON_ERROR))]); 45. 46. $value = $this->cache->get($key, function (ItemInterface $item) use ($name, $token, $salesChannelId, $options) { 47. $context = $this->tracer->trace($name, fn () => $this->getDecorated()->create($token, $salesChannelId, $options)); 48. 49. $keys = array_unique(array_merge( 50. $this->tracer->get($name), 51. [$name, self::ALL_TAG] 52. )); in vendor/shopware/core/System/SystemConfig/SystemConfigService.php -> Shopware\Core\System\SalesChannel\Context\{closure} (line 415) 410. public function trace(string $key, \Closure $param) 411. { 412. $this->traces[$key] = []; 413. $this->keys[$key] = true; 414. 415. $result = $param(); 416. 417. unset($this->keys[$key]); 418. 419. return $result; 420. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/core/Framework/Adapter/Translation/Translator.php -> Shopware\Core\Framework\Adapter\Cache\{closure} (line 96) 91. public function trace(string $key, \Closure $param) 92. { 93. $this->traces[$key] = []; 94. $this->keys[$key] = true; 95. 96. $result = $param(); 97. 98. unset($this->keys[$key]); 99. 100. return $result; 101. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php -> Shopware\Core\Framework\Adapter\Cache\{closure} (line 56) 51. public function trace(string $key, \Closure $param) 52. { 53. $this->traces[$key] = []; 54. $this->keys[$key] = true; 55. 56. $result = $param(); 57. 58. unset($this->keys[$key]); 59. 60. return $result; 61. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/storefront/Framework/Cache/CacheTracer.php -> trace (line 33) 28. return $this->decorated; 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->themeConfigAccessor->trace($key, fn () => $this->getDecorated()->trace($key, $param)); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_unique(array_merge( in vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php -> Shopware\Storefront\Framework\Cache\{closure} (line 76) 71. public function trace(string $key, \Closure $param) 72. { 73. $this->traces[$key] = []; 74. $this->keys[$key] = true; 75. 76. $result = $param(); 77. 78. unset($this->keys[$key]); 79. 80. return $result; 81. } in vendor/shopware/storefront/Framework/Cache/CacheTracer.php -> trace (line 33) 28. return $this->decorated; 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->themeConfigAccessor->trace($key, fn () => $this->getDecorated()->trace($key, $param)); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_unique(array_merge( in vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php -> trace (line 47) 42. ksort($options); 43. 44. $key = implode('-', [$name, md5(json_encode($options, \JSON_THROW_ON_ERROR))]); 45. 46. $value = $this->cache->get($key, function (ItemInterface $item) use ($name, $token, $salesChannelId, $options) { 47. $context = $this->tracer->trace($name, fn () => $this->getDecorated()->create($token, $salesChannelId, $options)); 48. 49. $keys = array_unique(array_merge( 50. $this->tracer->get($name), 51. [$name, self::ALL_TAG] 52. )); in vendor/symfony/cache-contracts/CacheTrait.php -> Shopware\Core\System\SalesChannel\Context\{closure} (line 70) 65. } 66. } 67. 68. if ($recompute) { 69. $save = true; 70. $item->set($callback($item, $save)); 71. if ($save) { 72. $pool->save($item); 73. } 74. } 75. in vendor/symfony/cache-contracts/CacheTrait.php -> doGet (line 33) 28. /** 29. * {@inheritdoc} 30. */ 31. public function get(string $key, callable $callback, float $beta = null, array &$metadata = null): mixed 32. { 33. return $this->doGet($this, $key, $callback, $beta, $metadata); 34. } 35. 36. /** 37. * {@inheritdoc} 38. */ in vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php -> get (line 57) 52. )); 53. 54. $item->tag($keys); 55. 56. return CacheValueCompressor::compress($context); 57. }); 58. 59. $context = CacheValueCompressor::uncompress($value); 60. 61. $context->assign(['token' => $token]); 62. in vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextService.php -> create (line 88) 83. 84. if ($parameters->getCustomerId() !== null) { 85. $session[self::CUSTOMER_ID] = $parameters->getCustomerId(); 86. } 87. 88. $context = $this->factory->create($token, $parameters->getSalesChannelId(), $session); 89. $this->eventDispatcher->dispatch(new SalesChannelContextCreatedEvent($context, $token)); 90. 91. $result = $this->ruleLoader->loadByToken($context, $token); 92. 93. $this->cartService->setCart($result->getCart()); in vendor/shopware/core/Profiling/Profiler.php -> Shopware\Core\System\SalesChannel\Context\{closure} (line 67) 62. try { 63. foreach (self::$profilers as $profiler) { 64. $profiler->start($name, $category, $tags); 65. } 66. 67. $result = $closure(); 68. } finally { 69. foreach (self::$profilers as $profiler) { 70. $profiler->stop($name); 71. } 72. } in vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextService.php :: trace (line 96) 91. $result = $this->ruleLoader->loadByToken($context, $token); 92. 93. $this->cartService->setCart($result->getCart()); 94. 95. return $context; 96. }); 97. } 98. } 99. in vendor/shopware/core/Framework/Routing/SalesChannelRequestContextResolver.php -> get (line 63) 58. $usedContextToken, 59. $request->headers->get(PlatformRequest::HEADER_LANGUAGE_ID), 60. $request->attributes->get(SalesChannelRequest::ATTRIBUTE_DOMAIN_CURRENCY_ID), 61. $request->attributes->get(SalesChannelRequest::ATTRIBUTE_DOMAIN_ID) 62. ); 63. $context = $this->contextService->get($contextServiceParameters); 64. 65. // Validate if a customer login is required for the current request 66. $this->validateLogin($request, $context); 67. 68. // Update attributes and headers of the current request in vendor/shopware/core/Framework/Routing/ContextResolverListener.php -> resolve (line 34) 29. ]; 30. } 31. 32. public function resolveContext(ControllerEvent $event): void 33. { 34. $this->requestContextResolver->resolve($event->getRequest()); 35. } 36. } 37. in vendor/symfony/event-dispatcher/Debug/WrappedListener.php -> resolveContext (line 116) 111. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener); 112. 113. $e = $this->stopwatch->start($this->name, 'event_listener'); 114. 115. try { 116. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher); 117. } finally { 118. if ($e->isStarted()) { 119. $e->stop(); 120. } 121. } in vendor/symfony/event-dispatcher/EventDispatcher.php -> __invoke (line 220) 215. 216. foreach ($listeners as $listener) { 217. if ($stoppable && $event->isPropagationStopped()) { 218. break; 219. } 220. $listener($event, $eventName, $this); 221. } 222. } 223. 224. /** 225. * Sorts the internal list of listeners for the given event by priority. in vendor/symfony/event-dispatcher/EventDispatcher.php -> callListeners (line 56) 51. } else { 52. $listeners = $this->getListeners($eventName); 53. } 54. 55. if ($listeners) { 56. $this->callListeners($listeners, $eventName, $event); 57. } 58. 59. return $event; 60. } 61. in vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php -> dispatch (line 47) 42. * 43. * @return TEvent 44. */ 45. public function dispatch(object $event, ?string $eventName = null): object 46. { 47. $event = $this->dispatcher->dispatch($event, $eventName); 48. 49. if (!$event instanceof FlowEventAware) { 50. return $event; 51. } 52. in vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php -> dispatch (line 67) 62. ) { 63. } 64. 65. public function dispatch(object $event, ?string $eventName = null): object 66. { 67. $event = $this->dispatcher->dispatch($event, $eventName); 68. 69. if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) { 70. return $event; 71. } 72. in vendor/shopware/core/Framework/Event/NestedEventDispatcher.php -> dispatch (line 31) 26. } 27. $this->dispatch($nested, $name); 28. } 29. } 30. 31. return $this->dispatcher->dispatch($event, $eventName); 32. } 33. 34. /** 35. * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283 36. */ in vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php -> dispatch (line 139) 134. try { 135. $this->beforeDispatch($eventName, $event); 136. try { 137. $e = $this->stopwatch->start($eventName, 'section'); 138. try { 139. $this->dispatcher->dispatch($event, $eventName); 140. } finally { 141. if ($e->isStarted()) { 142. $e->stop(); 143. } 144. } in vendor/symfony/http-kernel/HttpKernel.php -> dispatch (line 170) 165. if (false === $controller = $this->resolver->getController($request)) { 166. throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.', $request->getPathInfo())); 167. } 168. 169. $event = new ControllerEvent($this, $controller, $request, $type); 170. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER); 171. $controller = $event->getController(); 172. 173. // controller arguments 174. $arguments = $this->argumentResolver->getArguments($request, $controller, $event->getControllerReflector()); 175. in vendor/symfony/http-kernel/HttpKernel.php -> handleRaw (line 76) 71. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level()); 72. 73. $this->requestStack->push($request); 74. $response = null; 75. try { 76. return $response = $this->handleRaw($request, $type); 77. } catch (\Throwable $e) { 78. if ($e instanceof \Error && !$this->handleAllThrowables) { 79. throw $e; 80. } 81. in vendor/symfony/http-kernel/Kernel.php -> handle (line 197) 192. $this->boot(); 193. ++$this->requestStackSize; 194. $this->resetServices = true; 195. 196. try { 197. return $this->getHttpKernel()->handle($request, $type, $catch); 198. } finally { 199. --$this->requestStackSize; 200. } 201. } 202. in vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php -> handle (line 86) 81. if (!IpUtils::checkIp('127.0.0.1', $trustedProxies)) { 82. Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet()); 83. } 84. 85. try { 86. return $kernel->handle($request, $type, $catch); 87. } finally { 88. // restore global state 89. Request::setTrustedProxies($trustedProxies, $trustedHeaderSet); 90. } 91. } in vendor/symfony/http-kernel/HttpCache/HttpCache.php :: handle (line 473) 468. protected function forward(Request $request, bool $catch = false, Response $entry = null) 469. { 470. $this->surrogate?->addSurrogateCapability($request); 471. 472. // always a "master" request (as the real master request can be in cache) 473. $response = SubRequestHandler::handle($this->kernel, $request, HttpKernelInterface::MAIN_REQUEST, $catch); 474. 475. /* 476. * Support stale-if-error given on Responses or as a config option. 477. * RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual 478. * Cache-Control directives) that in vendor/symfony/http-kernel/HttpCache/HttpCache.php -> forward (line 448) 443. 444. // avoid that the backend sends no content 445. $subRequest->headers->remove('If-Modified-Since'); 446. $subRequest->headers->remove('If-None-Match'); 447. 448. $response = $this->forward($subRequest, $catch); 449. 450. if ($response->isCacheable()) { 451. $this->store($request, $response); 452. } 453. in vendor/symfony/http-kernel/HttpCache/HttpCache.php -> fetch (line 346) 341. } 342. 343. if (null === $entry) { 344. $this->record($request, 'miss'); 345. 346. return $this->fetch($request, $catch); 347. } 348. 349. if (!$this->isFreshEnough($request, $entry)) { 350. $this->record($request, 'stale'); 351. in vendor/symfony/http-kernel/HttpCache/HttpCache.php -> lookup (line 221) 216. reload the cache by fetching a fresh response and caching it (if possible). 217. */ 218. $this->record($request, 'reload'); 219. $response = $this->fetch($request, $catch); 220. } else { 221. $response = $this->lookup($request, $catch); 222. } 223. 224. $this->restoreResponseBody($request, $response); 225. 226. if (HttpKernelInterface::MAIN_REQUEST === $type) { in vendor/shopware/core/HttpKernel.php -> handle (line 143) 138. && $container->getParameter('shopware.http.cache.enabled'); 139. if ($enabled && $container->has(CacheStore::class)) { 140. $kernel = new static::$httpCacheClass($kernel, $container->get(CacheStore::class), null, ['debug' => $this->debug]); 141. } 142. 143. $response = $kernel->handle($transformed, $type, $catch); 144. 145. // fire event to trigger runtime events like seo url headers 146. $event = new BeforeSendResponseEvent($transformed, $response); 147. $container->get('event_dispatcher')->dispatch($event); 148. in vendor/shopware/core/HttpKernel.php -> doHandle (line 65) 60. } 61. 62. public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): HttpKernelResult 63. { 64. try { 65. return $this->doHandle($request, $type, $catch); 66. } catch (Exception $e) { 67. /** @var Params|array{url?: string} $connectionParams */ 68. $connectionParams = self::getConnection()->getParams(); 69. 70. $message = str_replace([$connectionParams['url'] ?? null, $connectionParams['password'] ?? null, $connectionParams['user'] ?? null], '******', $e->getMessage()); HttpKernel->handle() in public/index.php (line 71) 66. $this->httpKernel = $httpKernel; 67. } 68. 69. public function handle(Request $request, int $type = self::MAIN_REQUEST, bool $catch = true): Response 70. { 71. return $this->httpKernel->handle($request, $type, $catch)->getResponse(); 72. } 73. 74. public function terminate(Request $request, Response $response): void 75. { 76. $this->httpKernel->terminate($request, $response); in vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php -> handle (line 35) 30. $this->request = $request; 31. } 32. 33. public function run(): int 34. { 35. $response = $this->kernel->handle($this->request); 36. $response->send(); 37. 38. if ($this->kernel instanceof TerminableInterface) { 39. $this->kernel->terminate($this->request, $response); 40. } in vendor/autoload_runtime.php -> run (line 29) 24. $app = $app(...$args); 25. 26. exit( 27. $runtime 28. ->getRunner($app) 29. ->run() 30. ); 31. require_once('/var/www/html/vendor/autoload_runtime.php') in public/index.php (line 14) 9. use Symfony\Component\HttpKernel\HttpKernelInterface; 10. use Symfony\Component\HttpKernel\TerminableInterface; 11. 12. $_SERVER['SCRIPT_FILENAME'] = __FILE__; 13. 14. require_once __DIR__ . '/../vendor/autoload_runtime.php'; 15. 16. if (!file_exists(__DIR__ . '/../.env') && !file_exists(__DIR__ . '/../.env.dist') && !file_exists(__DIR__ . '/../.env.local.php')) { 17. $_SERVER['APP_RUNTIME_OPTIONS']['disable_dotenv'] = true; 18. } 19. DOCTRINE\DBAL\DRIVER\PDO\ EXCEPTION SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tax_rule.active_from' in 'field list' in vendor/doctrine/dbal/src/Driver/PDO/Exception.php (line 28) 23. } else { 24. $code = $exception->getCode(); 25. $sqlState = null; 26. } 27. 28. return new self($exception->getMessage(), $sqlState, $code, $exception); 29. } 30. } 31. in vendor/doctrine/dbal/src/Driver/PDO/Statement.php :: new (line 132) 127. } 128. 129. try { 130. $this->stmt->execute($params); 131. } catch (PDOException $exception) { 132. throw Exception::new($exception); 133. } 134. 135. return new Result($this->stmt); 136. } 137. } in vendor/doctrine/dbal/src/Connection.php -> execute (line 1098) 1093. 1094. $stmt = $connection->prepare($sql); 1095. 1096. $this->bindParameters($stmt, $params, $types); 1097. 1098. $result = $stmt->execute(); 1099. } else { 1100. $result = $connection->query($sql); 1101. } 1102. 1103. return new Result($result, $this); in vendor/doctrine/dbal/src/Query/QueryBuilder.php -> executeQuery (line 341) 336. { 337. return $this->connection->executeQuery( 338. $this->getSQL(), 339. $this->params, 340. $this->paramTypes, 341. $this->resultCacheProfile, 342. ); 343. } 344. 345. /** 346. * Executes an SQL statement and returns the number of affected rows. in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> executeQuery (line 307) 302. 303. if ($criteria->getTitle()) { 304. $query->setTitle($criteria->getTitle() . '::read'); 305. } 306. 307. return $query->executeQuery()->fetchAllAssociative(); 308. } 309. 310. /** 311. * @param EntityCollection<Entity> $collection 312. * @param array<string, mixed> $partial in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> fetch (line 131) 126. 127. if ($definition->isInheritanceAware() && $criteria->hasAssociation('parent')) { 128. throw new ParentAssociationCanNotBeFetched(); 129. } 130. 131. $rows = $this->fetch($criteria, $definition, $context, $fields, $partial); 132. 133. $collection = $this->hydrator->hydrate($collection, $definition->getEntityClass(), $definition, $rows, $definition->getEntityName(), $context, $partial); 134. 135. $collection = $this->fetchAssociations($criteria, $definition, $context, $collection, $fields, $partial); 136. in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> _read (line 497) 492. $referenceClass, 493. $context, 494. new $collectionClass(), 495. $referenceClass->getFields()->getBasicFields(), 496. false, 497. $partial 498. ); 499. 500. $grouped = []; 501. foreach ($data as $entity) { 502. $fk = $entity->get($propertyName); in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> loadOneToManyWithoutPagination (line 433) 428. ); 429. } 430. 431. // association should not be paginated > load data over foreign key condition 432. if ($fieldCriteria->getLimit() === null) { 433. $this->loadOneToManyWithoutPagination($definition, $association, $context, $collection, $fieldCriteria, $partial); 434. 435. return; 436. } 437. 438. // load association paginated > use internal counter loops in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> loadOneToMany (line 1208) 1203. 1204. continue; 1205. } 1206. 1207. if ($association instanceof OneToManyAssociationField) { 1208. $this->loadOneToMany($criteria, $definition, $association, $context, $collection, $partial[$association->getPropertyName()] ?? []); 1209. 1210. continue; 1211. } 1212. 1213. if ($association instanceof ManyToManyAssociationField) { in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> fetchAssociations (line 135) 130. 131. $rows = $this->fetch($criteria, $definition, $context, $fields, $partial); 132. 133. $collection = $this->hydrator->hydrate($collection, $definition->getEntityClass(), $definition, $rows, $definition->getEntityName(), $context, $partial); 134. 135. $collection = $this->fetchAssociations($criteria, $definition, $context, $collection, $fields, $partial); 136. 137. $hasIds = !empty($criteria->getIds()); 138. if ($hasIds && empty($criteria->getSorting())) { 139. $collection->sortByIdArray($criteria->getIds()); 140. } in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> _read (line 75) 70. $collectionClass = $definition->getCollectionClass(); 71. 72. $fields = $this->criteriaFieldsResolver->resolve($criteria, $definition); 73. 74. return $this->_read( 75. $criteria, 76. $definition, 77. $context, 78. new $collectionClass(), 79. $definition->getFields()->getBasicFields(), 80. true, in vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php -> read (line 212) 207. private function read(Criteria $criteria, Context $context): EntityCollection 208. { 209. $criteria = clone $criteria; 210. 211. /** @var TEntityCollection $entities */ 212. $entities = $this->reader->read($this->definition, $criteria, $context); 213. 214. if ($criteria->getFields() === []) { 215. $event = $this->eventFactory->create($entities->getElements(), $context); 216. } else { 217. $event = $this->eventFactory->createPartial($entities->getElements(), $context); in vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php -> read (line 240) 235. 236. if (!RepositorySearchDetector::isSearchRequired($this->definition, $criteria)) { 237. $this->eventDispatcher->dispatch( 238. new EntitySearchedEvent($criteria, $this->definition, $context) 239. ); 240. $entities = $this->read($criteria, $context); 241. 242. return new EntitySearchResult($this->definition->getEntityName(), $entities->count(), $entities, $aggregations, $criteria, $context); 243. } 244. 245. $ids = $this->searchIds($criteria, $context); in vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php -> _search (line 65) 60. { 61. if (!$criteria->getTitle()) { 62. return $this->_search($criteria, $context); 63. } 64. 65. return Profiler::trace($criteria->getTitle(), fn () => $this->_search($criteria, $context), 'repository'); 66. } 67. 68. public function aggregate(Criteria $criteria, Context $context): AggregationResultCollection 69. { 70. $criteria = clone $criteria; in vendor/shopware/core/Profiling/Profiler.php -> Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 67) 62. try { 63. foreach (self::$profilers as $profiler) { 64. $profiler->start($name, $category, $tags); 65. } 66. 67. $result = $closure(); 68. } finally { 69. foreach (self::$profilers as $profiler) { 70. $profiler->stop($name); 71. } 72. } in vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php :: trace (line 65) 60. { 61. if (!$criteria->getTitle()) { 62. return $this->_search($criteria, $context); 63. } 64. 65. return Profiler::trace($criteria->getTitle(), fn () => $this->_search($criteria, $context), 'repository'); 66. } 67. 68. public function aggregate(Criteria $criteria, Context $context): AggregationResultCollection 69. { 70. $criteria = clone $criteria; in vendor/shopware/core/System/SalesChannel/Context/BaseContextFactory.php -> search (line 143) 138. $criteria = new Criteria(); 139. $criteria->setTitle('base-context-factory::taxes'); 140. $criteria->addAssociation('rules.type'); 141. 142. /** @var TaxCollection $taxes */ 143. $taxes = $this->taxRepository->search($criteria, $context)->getEntities(); 144. 145. return $taxes; 146. } 147. 148. /** in vendor/shopware/core/System/SalesChannel/Context/BaseContextFactory.php -> getTaxRules (line 100) 95. 96. /** @var CustomerGroupEntity $customerGroup */ 97. $customerGroup = $customerGroups->get($groupId); 98. 99. // loads tax rules based on active customer and delivery address 100. $taxRules = $this->getTaxRules($context); 101. 102. // detect active payment method, first check if checkout defined other payment method, otherwise validate if customer logged in, at least use shop default 103. $payment = $this->getPaymentMethod($options, $context, $salesChannel); 104. 105. // detect active delivery method, at first checkout scope, at least shop default method in vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php -> create (line 55) 50. ]); 51. 52. $key = implode('-', [$name, md5(json_encode($keys, \JSON_THROW_ON_ERROR))]); 53. 54. $value = $this->cache->get($key, function (ItemInterface $item) use ($name, $salesChannelId, $options) { 55. $context = $this->tracer->trace($name, fn () => $this->decorated->create($salesChannelId, $options)); 56. 57. $keys = array_unique(array_merge( 58. $this->tracer->get($name), 59. [$name, CachedSalesChannelContextFactory::ALL_TAG] 60. )); in vendor/shopware/core/System/SystemConfig/SystemConfigService.php -> Shopware\Core\System\SalesChannel\Context\{closure} (line 415) 410. public function trace(string $key, \Closure $param) 411. { 412. $this->traces[$key] = []; 413. $this->keys[$key] = true; 414. 415. $result = $param(); 416. 417. unset($this->keys[$key]); 418. 419. return $result; 420. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/core/Framework/Adapter/Translation/Translator.php -> Shopware\Core\Framework\Adapter\Cache\{closure} (line 96) 91. public function trace(string $key, \Closure $param) 92. { 93. $this->traces[$key] = []; 94. $this->keys[$key] = true; 95. 96. $result = $param(); 97. 98. unset($this->keys[$key]); 99. 100. return $result; 101. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php -> Shopware\Core\Framework\Adapter\Cache\{closure} (line 56) 51. public function trace(string $key, \Closure $param) 52. { 53. $this->traces[$key] = []; 54. $this->keys[$key] = true; 55. 56. $result = $param(); 57. 58. unset($this->keys[$key]); 59. 60. return $result; 61. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/storefront/Framework/Cache/CacheTracer.php -> trace (line 33) 28. return $this->decorated; 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->themeConfigAccessor->trace($key, fn () => $this->getDecorated()->trace($key, $param)); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_unique(array_merge( in vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php -> Shopware\Storefront\Framework\Cache\{closure} (line 76) 71. public function trace(string $key, \Closure $param) 72. { 73. $this->traces[$key] = []; 74. $this->keys[$key] = true; 75. 76. $result = $param(); 77. 78. unset($this->keys[$key]); 79. 80. return $result; 81. } in vendor/shopware/storefront/Framework/Cache/CacheTracer.php -> trace (line 33) 28. return $this->decorated; 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->themeConfigAccessor->trace($key, fn () => $this->getDecorated()->trace($key, $param)); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_unique(array_merge( in vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php -> trace (line 55) 50. ]); 51. 52. $key = implode('-', [$name, md5(json_encode($keys, \JSON_THROW_ON_ERROR))]); 53. 54. $value = $this->cache->get($key, function (ItemInterface $item) use ($name, $salesChannelId, $options) { 55. $context = $this->tracer->trace($name, fn () => $this->decorated->create($salesChannelId, $options)); 56. 57. $keys = array_unique(array_merge( 58. $this->tracer->get($name), 59. [$name, CachedSalesChannelContextFactory::ALL_TAG] 60. )); in vendor/symfony/cache-contracts/CacheTrait.php -> Shopware\Core\System\SalesChannel\Context\{closure} (line 70) 65. } 66. } 67. 68. if ($recompute) { 69. $save = true; 70. $item->set($callback($item, $save)); 71. if ($save) { 72. $pool->save($item); 73. } 74. } 75. in vendor/symfony/cache-contracts/CacheTrait.php -> doGet (line 33) 28. /** 29. * {@inheritdoc} 30. */ 31. public function get(string $key, callable $callback, float $beta = null, array &$metadata = null): mixed 32. { 33. return $this->doGet($this, $key, $callback, $beta, $metadata); 34. } 35. 36. /** 37. * {@inheritdoc} 38. */ in vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php -> get (line 65) 60. )); 61. 62. $item->tag($keys); 63. 64. return CacheValueCompressor::compress($context); 65. }); 66. 67. return CacheValueCompressor::uncompress($value); 68. } 69. 70. public static function buildName(string $salesChannelId): string in vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextFactory.php -> create (line 61) 56. } 57. 58. public function create(string $token, string $salesChannelId, array $options = []): SalesChannelContext 59. { 60. // we split the context generation to allow caching of the base context 61. $base = $this->baseContextFactory->create($salesChannelId, $options); 62. 63. // customer 64. $customer = null; 65. if (\array_key_exists(SalesChannelContextService::CUSTOMER_ID, $options) && $options[SalesChannelContextService::CUSTOMER_ID] !== null) { 66. // load logged in customer and set active addresses in vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php -> create (line 47) 42. ksort($options); 43. 44. $key = implode('-', [$name, md5(json_encode($options, \JSON_THROW_ON_ERROR))]); 45. 46. $value = $this->cache->get($key, function (ItemInterface $item) use ($name, $token, $salesChannelId, $options) { 47. $context = $this->tracer->trace($name, fn () => $this->getDecorated()->create($token, $salesChannelId, $options)); 48. 49. $keys = array_unique(array_merge( 50. $this->tracer->get($name), 51. [$name, self::ALL_TAG] 52. )); in vendor/shopware/core/System/SystemConfig/SystemConfigService.php -> Shopware\Core\System\SalesChannel\Context\{closure} (line 415) 410. public function trace(string $key, \Closure $param) 411. { 412. $this->traces[$key] = []; 413. $this->keys[$key] = true; 414. 415. $result = $param(); 416. 417. unset($this->keys[$key]); 418. 419. return $result; 420. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/core/Framework/Adapter/Translation/Translator.php -> Shopware\Core\Framework\Adapter\Cache\{closure} (line 96) 91. public function trace(string $key, \Closure $param) 92. { 93. $this->traces[$key] = []; 94. $this->keys[$key] = true; 95. 96. $result = $param(); 97. 98. unset($this->keys[$key]); 99. 100. return $result; 101. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php -> Shopware\Core\Framework\Adapter\Cache\{closure} (line 56) 51. public function trace(string $key, \Closure $param) 52. { 53. $this->traces[$key] = []; 54. $this->keys[$key] = true; 55. 56. $result = $param(); 57. 58. unset($this->keys[$key]); 59. 60. return $result; 61. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/storefront/Framework/Cache/CacheTracer.php -> trace (line 33) 28. return $this->decorated; 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->themeConfigAccessor->trace($key, fn () => $this->getDecorated()->trace($key, $param)); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_unique(array_merge( in vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php -> Shopware\Storefront\Framework\Cache\{closure} (line 76) 71. public function trace(string $key, \Closure $param) 72. { 73. $this->traces[$key] = []; 74. $this->keys[$key] = true; 75. 76. $result = $param(); 77. 78. unset($this->keys[$key]); 79. 80. return $result; 81. } in vendor/shopware/storefront/Framework/Cache/CacheTracer.php -> trace (line 33) 28. return $this->decorated; 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->themeConfigAccessor->trace($key, fn () => $this->getDecorated()->trace($key, $param)); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_unique(array_merge( in vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php -> trace (line 47) 42. ksort($options); 43. 44. $key = implode('-', [$name, md5(json_encode($options, \JSON_THROW_ON_ERROR))]); 45. 46. $value = $this->cache->get($key, function (ItemInterface $item) use ($name, $token, $salesChannelId, $options) { 47. $context = $this->tracer->trace($name, fn () => $this->getDecorated()->create($token, $salesChannelId, $options)); 48. 49. $keys = array_unique(array_merge( 50. $this->tracer->get($name), 51. [$name, self::ALL_TAG] 52. )); in vendor/symfony/cache-contracts/CacheTrait.php -> Shopware\Core\System\SalesChannel\Context\{closure} (line 70) 65. } 66. } 67. 68. if ($recompute) { 69. $save = true; 70. $item->set($callback($item, $save)); 71. if ($save) { 72. $pool->save($item); 73. } 74. } 75. in vendor/symfony/cache-contracts/CacheTrait.php -> doGet (line 33) 28. /** 29. * {@inheritdoc} 30. */ 31. public function get(string $key, callable $callback, float $beta = null, array &$metadata = null): mixed 32. { 33. return $this->doGet($this, $key, $callback, $beta, $metadata); 34. } 35. 36. /** 37. * {@inheritdoc} 38. */ in vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php -> get (line 57) 52. )); 53. 54. $item->tag($keys); 55. 56. return CacheValueCompressor::compress($context); 57. }); 58. 59. $context = CacheValueCompressor::uncompress($value); 60. 61. $context->assign(['token' => $token]); 62. in vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextService.php -> create (line 88) 83. 84. if ($parameters->getCustomerId() !== null) { 85. $session[self::CUSTOMER_ID] = $parameters->getCustomerId(); 86. } 87. 88. $context = $this->factory->create($token, $parameters->getSalesChannelId(), $session); 89. $this->eventDispatcher->dispatch(new SalesChannelContextCreatedEvent($context, $token)); 90. 91. $result = $this->ruleLoader->loadByToken($context, $token); 92. 93. $this->cartService->setCart($result->getCart()); in vendor/shopware/core/Profiling/Profiler.php -> Shopware\Core\System\SalesChannel\Context\{closure} (line 67) 62. try { 63. foreach (self::$profilers as $profiler) { 64. $profiler->start($name, $category, $tags); 65. } 66. 67. $result = $closure(); 68. } finally { 69. foreach (self::$profilers as $profiler) { 70. $profiler->stop($name); 71. } 72. } in vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextService.php :: trace (line 96) 91. $result = $this->ruleLoader->loadByToken($context, $token); 92. 93. $this->cartService->setCart($result->getCart()); 94. 95. return $context; 96. }); 97. } 98. } 99. in vendor/shopware/core/Framework/Routing/SalesChannelRequestContextResolver.php -> get (line 63) 58. $usedContextToken, 59. $request->headers->get(PlatformRequest::HEADER_LANGUAGE_ID), 60. $request->attributes->get(SalesChannelRequest::ATTRIBUTE_DOMAIN_CURRENCY_ID), 61. $request->attributes->get(SalesChannelRequest::ATTRIBUTE_DOMAIN_ID) 62. ); 63. $context = $this->contextService->get($contextServiceParameters); 64. 65. // Validate if a customer login is required for the current request 66. $this->validateLogin($request, $context); 67. 68. // Update attributes and headers of the current request in vendor/shopware/core/Framework/Routing/ContextResolverListener.php -> resolve (line 34) 29. ]; 30. } 31. 32. public function resolveContext(ControllerEvent $event): void 33. { 34. $this->requestContextResolver->resolve($event->getRequest()); 35. } 36. } 37. in vendor/symfony/event-dispatcher/Debug/WrappedListener.php -> resolveContext (line 116) 111. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener); 112. 113. $e = $this->stopwatch->start($this->name, 'event_listener'); 114. 115. try { 116. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher); 117. } finally { 118. if ($e->isStarted()) { 119. $e->stop(); 120. } 121. } in vendor/symfony/event-dispatcher/EventDispatcher.php -> __invoke (line 220) 215. 216. foreach ($listeners as $listener) { 217. if ($stoppable && $event->isPropagationStopped()) { 218. break; 219. } 220. $listener($event, $eventName, $this); 221. } 222. } 223. 224. /** 225. * Sorts the internal list of listeners for the given event by priority. in vendor/symfony/event-dispatcher/EventDispatcher.php -> callListeners (line 56) 51. } else { 52. $listeners = $this->getListeners($eventName); 53. } 54. 55. if ($listeners) { 56. $this->callListeners($listeners, $eventName, $event); 57. } 58. 59. return $event; 60. } 61. in vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php -> dispatch (line 47) 42. * 43. * @return TEvent 44. */ 45. public function dispatch(object $event, ?string $eventName = null): object 46. { 47. $event = $this->dispatcher->dispatch($event, $eventName); 48. 49. if (!$event instanceof FlowEventAware) { 50. return $event; 51. } 52. in vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php -> dispatch (line 67) 62. ) { 63. } 64. 65. public function dispatch(object $event, ?string $eventName = null): object 66. { 67. $event = $this->dispatcher->dispatch($event, $eventName); 68. 69. if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) { 70. return $event; 71. } 72. in vendor/shopware/core/Framework/Event/NestedEventDispatcher.php -> dispatch (line 31) 26. } 27. $this->dispatch($nested, $name); 28. } 29. } 30. 31. return $this->dispatcher->dispatch($event, $eventName); 32. } 33. 34. /** 35. * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283 36. */ in vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php -> dispatch (line 139) 134. try { 135. $this->beforeDispatch($eventName, $event); 136. try { 137. $e = $this->stopwatch->start($eventName, 'section'); 138. try { 139. $this->dispatcher->dispatch($event, $eventName); 140. } finally { 141. if ($e->isStarted()) { 142. $e->stop(); 143. } 144. } in vendor/symfony/http-kernel/HttpKernel.php -> dispatch (line 170) 165. if (false === $controller = $this->resolver->getController($request)) { 166. throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.', $request->getPathInfo())); 167. } 168. 169. $event = new ControllerEvent($this, $controller, $request, $type); 170. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER); 171. $controller = $event->getController(); 172. 173. // controller arguments 174. $arguments = $this->argumentResolver->getArguments($request, $controller, $event->getControllerReflector()); 175. in vendor/symfony/http-kernel/HttpKernel.php -> handleRaw (line 76) 71. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level()); 72. 73. $this->requestStack->push($request); 74. $response = null; 75. try { 76. return $response = $this->handleRaw($request, $type); 77. } catch (\Throwable $e) { 78. if ($e instanceof \Error && !$this->handleAllThrowables) { 79. throw $e; 80. } 81. in vendor/symfony/http-kernel/Kernel.php -> handle (line 197) 192. $this->boot(); 193. ++$this->requestStackSize; 194. $this->resetServices = true; 195. 196. try { 197. return $this->getHttpKernel()->handle($request, $type, $catch); 198. } finally { 199. --$this->requestStackSize; 200. } 201. } 202. in vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php -> handle (line 86) 81. if (!IpUtils::checkIp('127.0.0.1', $trustedProxies)) { 82. Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet()); 83. } 84. 85. try { 86. return $kernel->handle($request, $type, $catch); 87. } finally { 88. // restore global state 89. Request::setTrustedProxies($trustedProxies, $trustedHeaderSet); 90. } 91. } in vendor/symfony/http-kernel/HttpCache/HttpCache.php :: handle (line 473) 468. protected function forward(Request $request, bool $catch = false, Response $entry = null) 469. { 470. $this->surrogate?->addSurrogateCapability($request); 471. 472. // always a "master" request (as the real master request can be in cache) 473. $response = SubRequestHandler::handle($this->kernel, $request, HttpKernelInterface::MAIN_REQUEST, $catch); 474. 475. /* 476. * Support stale-if-error given on Responses or as a config option. 477. * RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual 478. * Cache-Control directives) that in vendor/symfony/http-kernel/HttpCache/HttpCache.php -> forward (line 448) 443. 444. // avoid that the backend sends no content 445. $subRequest->headers->remove('If-Modified-Since'); 446. $subRequest->headers->remove('If-None-Match'); 447. 448. $response = $this->forward($subRequest, $catch); 449. 450. if ($response->isCacheable()) { 451. $this->store($request, $response); 452. } 453. in vendor/symfony/http-kernel/HttpCache/HttpCache.php -> fetch (line 346) 341. } 342. 343. if (null === $entry) { 344. $this->record($request, 'miss'); 345. 346. return $this->fetch($request, $catch); 347. } 348. 349. if (!$this->isFreshEnough($request, $entry)) { 350. $this->record($request, 'stale'); 351. in vendor/symfony/http-kernel/HttpCache/HttpCache.php -> lookup (line 221) 216. reload the cache by fetching a fresh response and caching it (if possible). 217. */ 218. $this->record($request, 'reload'); 219. $response = $this->fetch($request, $catch); 220. } else { 221. $response = $this->lookup($request, $catch); 222. } 223. 224. $this->restoreResponseBody($request, $response); 225. 226. if (HttpKernelInterface::MAIN_REQUEST === $type) { in vendor/shopware/core/HttpKernel.php -> handle (line 143) 138. && $container->getParameter('shopware.http.cache.enabled'); 139. if ($enabled && $container->has(CacheStore::class)) { 140. $kernel = new static::$httpCacheClass($kernel, $container->get(CacheStore::class), null, ['debug' => $this->debug]); 141. } 142. 143. $response = $kernel->handle($transformed, $type, $catch); 144. 145. // fire event to trigger runtime events like seo url headers 146. $event = new BeforeSendResponseEvent($transformed, $response); 147. $container->get('event_dispatcher')->dispatch($event); 148. in vendor/shopware/core/HttpKernel.php -> doHandle (line 65) 60. } 61. 62. public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): HttpKernelResult 63. { 64. try { 65. return $this->doHandle($request, $type, $catch); 66. } catch (Exception $e) { 67. /** @var Params|array{url?: string} $connectionParams */ 68. $connectionParams = self::getConnection()->getParams(); 69. 70. $message = str_replace([$connectionParams['url'] ?? null, $connectionParams['password'] ?? null, $connectionParams['user'] ?? null], '******', $e->getMessage()); HttpKernel->handle() in public/index.php (line 71) 66. $this->httpKernel = $httpKernel; 67. } 68. 69. public function handle(Request $request, int $type = self::MAIN_REQUEST, bool $catch = true): Response 70. { 71. return $this->httpKernel->handle($request, $type, $catch)->getResponse(); 72. } 73. 74. public function terminate(Request $request, Response $response): void 75. { 76. $this->httpKernel->terminate($request, $response); in vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php -> handle (line 35) 30. $this->request = $request; 31. } 32. 33. public function run(): int 34. { 35. $response = $this->kernel->handle($this->request); 36. $response->send(); 37. 38. if ($this->kernel instanceof TerminableInterface) { 39. $this->kernel->terminate($this->request, $response); 40. } in vendor/autoload_runtime.php -> run (line 29) 24. $app = $app(...$args); 25. 26. exit( 27. $runtime 28. ->getRunner($app) 29. ->run() 30. ); 31. require_once('/var/www/html/vendor/autoload_runtime.php') in public/index.php (line 14) 9. use Symfony\Component\HttpKernel\HttpKernelInterface; 10. use Symfony\Component\HttpKernel\TerminableInterface; 11. 12. $_SERVER['SCRIPT_FILENAME'] = __FILE__; 13. 14. require_once __DIR__ . '/../vendor/autoload_runtime.php'; 15. 16. if (!file_exists(__DIR__ . '/../.env') && !file_exists(__DIR__ . '/../.env.dist') && !file_exists(__DIR__ . '/../.env.local.php')) { 17. $_SERVER['APP_RUNTIME_OPTIONS']['disable_dotenv'] = true; 18. } 19. PDOEXCEPTION SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tax_rule.active_from' in 'field list' in vendor/doctrine/dbal/src/Driver/PDO/Statement.php (line 130) 125. . ' Statement::bindParam() or Statement::bindValue() instead.', 126. ); 127. } 128. 129. try { 130. $this->stmt->execute($params); 131. } catch (PDOException $exception) { 132. throw Exception::new($exception); 133. } 134. 135. return new Result($this->stmt); in vendor/doctrine/dbal/src/Driver/PDO/Statement.php -> execute (line 130) 125. . ' Statement::bindParam() or Statement::bindValue() instead.', 126. ); 127. } 128. 129. try { 130. $this->stmt->execute($params); 131. } catch (PDOException $exception) { 132. throw Exception::new($exception); 133. } 134. 135. return new Result($this->stmt); in vendor/doctrine/dbal/src/Connection.php -> execute (line 1098) 1093. 1094. $stmt = $connection->prepare($sql); 1095. 1096. $this->bindParameters($stmt, $params, $types); 1097. 1098. $result = $stmt->execute(); 1099. } else { 1100. $result = $connection->query($sql); 1101. } 1102. 1103. return new Result($result, $this); in vendor/doctrine/dbal/src/Query/QueryBuilder.php -> executeQuery (line 341) 336. { 337. return $this->connection->executeQuery( 338. $this->getSQL(), 339. $this->params, 340. $this->paramTypes, 341. $this->resultCacheProfile, 342. ); 343. } 344. 345. /** 346. * Executes an SQL statement and returns the number of affected rows. in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> executeQuery (line 307) 302. 303. if ($criteria->getTitle()) { 304. $query->setTitle($criteria->getTitle() . '::read'); 305. } 306. 307. return $query->executeQuery()->fetchAllAssociative(); 308. } 309. 310. /** 311. * @param EntityCollection<Entity> $collection 312. * @param array<string, mixed> $partial in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> fetch (line 131) 126. 127. if ($definition->isInheritanceAware() && $criteria->hasAssociation('parent')) { 128. throw new ParentAssociationCanNotBeFetched(); 129. } 130. 131. $rows = $this->fetch($criteria, $definition, $context, $fields, $partial); 132. 133. $collection = $this->hydrator->hydrate($collection, $definition->getEntityClass(), $definition, $rows, $definition->getEntityName(), $context, $partial); 134. 135. $collection = $this->fetchAssociations($criteria, $definition, $context, $collection, $fields, $partial); 136. in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> _read (line 497) 492. $referenceClass, 493. $context, 494. new $collectionClass(), 495. $referenceClass->getFields()->getBasicFields(), 496. false, 497. $partial 498. ); 499. 500. $grouped = []; 501. foreach ($data as $entity) { 502. $fk = $entity->get($propertyName); in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> loadOneToManyWithoutPagination (line 433) 428. ); 429. } 430. 431. // association should not be paginated > load data over foreign key condition 432. if ($fieldCriteria->getLimit() === null) { 433. $this->loadOneToManyWithoutPagination($definition, $association, $context, $collection, $fieldCriteria, $partial); 434. 435. return; 436. } 437. 438. // load association paginated > use internal counter loops in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> loadOneToMany (line 1208) 1203. 1204. continue; 1205. } 1206. 1207. if ($association instanceof OneToManyAssociationField) { 1208. $this->loadOneToMany($criteria, $definition, $association, $context, $collection, $partial[$association->getPropertyName()] ?? []); 1209. 1210. continue; 1211. } 1212. 1213. if ($association instanceof ManyToManyAssociationField) { in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> fetchAssociations (line 135) 130. 131. $rows = $this->fetch($criteria, $definition, $context, $fields, $partial); 132. 133. $collection = $this->hydrator->hydrate($collection, $definition->getEntityClass(), $definition, $rows, $definition->getEntityName(), $context, $partial); 134. 135. $collection = $this->fetchAssociations($criteria, $definition, $context, $collection, $fields, $partial); 136. 137. $hasIds = !empty($criteria->getIds()); 138. if ($hasIds && empty($criteria->getSorting())) { 139. $collection->sortByIdArray($criteria->getIds()); 140. } in vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php -> _read (line 75) 70. $collectionClass = $definition->getCollectionClass(); 71. 72. $fields = $this->criteriaFieldsResolver->resolve($criteria, $definition); 73. 74. return $this->_read( 75. $criteria, 76. $definition, 77. $context, 78. new $collectionClass(), 79. $definition->getFields()->getBasicFields(), 80. true, in vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php -> read (line 212) 207. private function read(Criteria $criteria, Context $context): EntityCollection 208. { 209. $criteria = clone $criteria; 210. 211. /** @var TEntityCollection $entities */ 212. $entities = $this->reader->read($this->definition, $criteria, $context); 213. 214. if ($criteria->getFields() === []) { 215. $event = $this->eventFactory->create($entities->getElements(), $context); 216. } else { 217. $event = $this->eventFactory->createPartial($entities->getElements(), $context); in vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php -> read (line 240) 235. 236. if (!RepositorySearchDetector::isSearchRequired($this->definition, $criteria)) { 237. $this->eventDispatcher->dispatch( 238. new EntitySearchedEvent($criteria, $this->definition, $context) 239. ); 240. $entities = $this->read($criteria, $context); 241. 242. return new EntitySearchResult($this->definition->getEntityName(), $entities->count(), $entities, $aggregations, $criteria, $context); 243. } 244. 245. $ids = $this->searchIds($criteria, $context); in vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php -> _search (line 65) 60. { 61. if (!$criteria->getTitle()) { 62. return $this->_search($criteria, $context); 63. } 64. 65. return Profiler::trace($criteria->getTitle(), fn () => $this->_search($criteria, $context), 'repository'); 66. } 67. 68. public function aggregate(Criteria $criteria, Context $context): AggregationResultCollection 69. { 70. $criteria = clone $criteria; in vendor/shopware/core/Profiling/Profiler.php -> Shopware\Core\Framework\DataAbstractionLayer\{closure} (line 67) 62. try { 63. foreach (self::$profilers as $profiler) { 64. $profiler->start($name, $category, $tags); 65. } 66. 67. $result = $closure(); 68. } finally { 69. foreach (self::$profilers as $profiler) { 70. $profiler->stop($name); 71. } 72. } in vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php :: trace (line 65) 60. { 61. if (!$criteria->getTitle()) { 62. return $this->_search($criteria, $context); 63. } 64. 65. return Profiler::trace($criteria->getTitle(), fn () => $this->_search($criteria, $context), 'repository'); 66. } 67. 68. public function aggregate(Criteria $criteria, Context $context): AggregationResultCollection 69. { 70. $criteria = clone $criteria; in vendor/shopware/core/System/SalesChannel/Context/BaseContextFactory.php -> search (line 143) 138. $criteria = new Criteria(); 139. $criteria->setTitle('base-context-factory::taxes'); 140. $criteria->addAssociation('rules.type'); 141. 142. /** @var TaxCollection $taxes */ 143. $taxes = $this->taxRepository->search($criteria, $context)->getEntities(); 144. 145. return $taxes; 146. } 147. 148. /** in vendor/shopware/core/System/SalesChannel/Context/BaseContextFactory.php -> getTaxRules (line 100) 95. 96. /** @var CustomerGroupEntity $customerGroup */ 97. $customerGroup = $customerGroups->get($groupId); 98. 99. // loads tax rules based on active customer and delivery address 100. $taxRules = $this->getTaxRules($context); 101. 102. // detect active payment method, first check if checkout defined other payment method, otherwise validate if customer logged in, at least use shop default 103. $payment = $this->getPaymentMethod($options, $context, $salesChannel); 104. 105. // detect active delivery method, at first checkout scope, at least shop default method in vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php -> create (line 55) 50. ]); 51. 52. $key = implode('-', [$name, md5(json_encode($keys, \JSON_THROW_ON_ERROR))]); 53. 54. $value = $this->cache->get($key, function (ItemInterface $item) use ($name, $salesChannelId, $options) { 55. $context = $this->tracer->trace($name, fn () => $this->decorated->create($salesChannelId, $options)); 56. 57. $keys = array_unique(array_merge( 58. $this->tracer->get($name), 59. [$name, CachedSalesChannelContextFactory::ALL_TAG] 60. )); in vendor/shopware/core/System/SystemConfig/SystemConfigService.php -> Shopware\Core\System\SalesChannel\Context\{closure} (line 415) 410. public function trace(string $key, \Closure $param) 411. { 412. $this->traces[$key] = []; 413. $this->keys[$key] = true; 414. 415. $result = $param(); 416. 417. unset($this->keys[$key]); 418. 419. return $result; 420. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/core/Framework/Adapter/Translation/Translator.php -> Shopware\Core\Framework\Adapter\Cache\{closure} (line 96) 91. public function trace(string $key, \Closure $param) 92. { 93. $this->traces[$key] = []; 94. $this->keys[$key] = true; 95. 96. $result = $param(); 97. 98. unset($this->keys[$key]); 99. 100. return $result; 101. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php -> Shopware\Core\Framework\Adapter\Cache\{closure} (line 56) 51. public function trace(string $key, \Closure $param) 52. { 53. $this->traces[$key] = []; 54. $this->keys[$key] = true; 55. 56. $result = $param(); 57. 58. unset($this->keys[$key]); 59. 60. return $result; 61. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/storefront/Framework/Cache/CacheTracer.php -> trace (line 33) 28. return $this->decorated; 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->themeConfigAccessor->trace($key, fn () => $this->getDecorated()->trace($key, $param)); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_unique(array_merge( in vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php -> Shopware\Storefront\Framework\Cache\{closure} (line 76) 71. public function trace(string $key, \Closure $param) 72. { 73. $this->traces[$key] = []; 74. $this->keys[$key] = true; 75. 76. $result = $param(); 77. 78. unset($this->keys[$key]); 79. 80. return $result; 81. } in vendor/shopware/storefront/Framework/Cache/CacheTracer.php -> trace (line 33) 28. return $this->decorated; 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->themeConfigAccessor->trace($key, fn () => $this->getDecorated()->trace($key, $param)); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_unique(array_merge( in vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php -> trace (line 55) 50. ]); 51. 52. $key = implode('-', [$name, md5(json_encode($keys, \JSON_THROW_ON_ERROR))]); 53. 54. $value = $this->cache->get($key, function (ItemInterface $item) use ($name, $salesChannelId, $options) { 55. $context = $this->tracer->trace($name, fn () => $this->decorated->create($salesChannelId, $options)); 56. 57. $keys = array_unique(array_merge( 58. $this->tracer->get($name), 59. [$name, CachedSalesChannelContextFactory::ALL_TAG] 60. )); in vendor/symfony/cache-contracts/CacheTrait.php -> Shopware\Core\System\SalesChannel\Context\{closure} (line 70) 65. } 66. } 67. 68. if ($recompute) { 69. $save = true; 70. $item->set($callback($item, $save)); 71. if ($save) { 72. $pool->save($item); 73. } 74. } 75. in vendor/symfony/cache-contracts/CacheTrait.php -> doGet (line 33) 28. /** 29. * {@inheritdoc} 30. */ 31. public function get(string $key, callable $callback, float $beta = null, array &$metadata = null): mixed 32. { 33. return $this->doGet($this, $key, $callback, $beta, $metadata); 34. } 35. 36. /** 37. * {@inheritdoc} 38. */ in vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php -> get (line 65) 60. )); 61. 62. $item->tag($keys); 63. 64. return CacheValueCompressor::compress($context); 65. }); 66. 67. return CacheValueCompressor::uncompress($value); 68. } 69. 70. public static function buildName(string $salesChannelId): string in vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextFactory.php -> create (line 61) 56. } 57. 58. public function create(string $token, string $salesChannelId, array $options = []): SalesChannelContext 59. { 60. // we split the context generation to allow caching of the base context 61. $base = $this->baseContextFactory->create($salesChannelId, $options); 62. 63. // customer 64. $customer = null; 65. if (\array_key_exists(SalesChannelContextService::CUSTOMER_ID, $options) && $options[SalesChannelContextService::CUSTOMER_ID] !== null) { 66. // load logged in customer and set active addresses in vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php -> create (line 47) 42. ksort($options); 43. 44. $key = implode('-', [$name, md5(json_encode($options, \JSON_THROW_ON_ERROR))]); 45. 46. $value = $this->cache->get($key, function (ItemInterface $item) use ($name, $token, $salesChannelId, $options) { 47. $context = $this->tracer->trace($name, fn () => $this->getDecorated()->create($token, $salesChannelId, $options)); 48. 49. $keys = array_unique(array_merge( 50. $this->tracer->get($name), 51. [$name, self::ALL_TAG] 52. )); in vendor/shopware/core/System/SystemConfig/SystemConfigService.php -> Shopware\Core\System\SalesChannel\Context\{closure} (line 415) 410. public function trace(string $key, \Closure $param) 411. { 412. $this->traces[$key] = []; 413. $this->keys[$key] = true; 414. 415. $result = $param(); 416. 417. unset($this->keys[$key]); 418. 419. return $result; 420. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/core/Framework/Adapter/Translation/Translator.php -> Shopware\Core\Framework\Adapter\Cache\{closure} (line 96) 91. public function trace(string $key, \Closure $param) 92. { 93. $this->traces[$key] = []; 94. $this->keys[$key] = true; 95. 96. $result = $param(); 97. 98. unset($this->keys[$key]); 99. 100. return $result; 101. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php -> Shopware\Core\Framework\Adapter\Cache\{closure} (line 56) 51. public function trace(string $key, \Closure $param) 52. { 53. $this->traces[$key] = []; 54. $this->keys[$key] = true; 55. 56. $result = $param(); 57. 58. unset($this->keys[$key]); 59. 60. return $result; 61. } in vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php -> trace (line 33) 28. throw new DecorationPatternException(self::class); 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->collection->trace($key, fn () => $this->translator->trace($key, fn () => $this->config->trace($key, $param))); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_merge( in vendor/shopware/storefront/Framework/Cache/CacheTracer.php -> trace (line 33) 28. return $this->decorated; 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->themeConfigAccessor->trace($key, fn () => $this->getDecorated()->trace($key, $param)); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_unique(array_merge( in vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php -> Shopware\Storefront\Framework\Cache\{closure} (line 76) 71. public function trace(string $key, \Closure $param) 72. { 73. $this->traces[$key] = []; 74. $this->keys[$key] = true; 75. 76. $result = $param(); 77. 78. unset($this->keys[$key]); 79. 80. return $result; 81. } in vendor/shopware/storefront/Framework/Cache/CacheTracer.php -> trace (line 33) 28. return $this->decorated; 29. } 30. 31. public function trace(string $key, \Closure $param) 32. { 33. return $this->themeConfigAccessor->trace($key, fn () => $this->getDecorated()->trace($key, $param)); 34. } 35. 36. public function get(string $key): array 37. { 38. return array_unique(array_merge( in vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php -> trace (line 47) 42. ksort($options); 43. 44. $key = implode('-', [$name, md5(json_encode($options, \JSON_THROW_ON_ERROR))]); 45. 46. $value = $this->cache->get($key, function (ItemInterface $item) use ($name, $token, $salesChannelId, $options) { 47. $context = $this->tracer->trace($name, fn () => $this->getDecorated()->create($token, $salesChannelId, $options)); 48. 49. $keys = array_unique(array_merge( 50. $this->tracer->get($name), 51. [$name, self::ALL_TAG] 52. )); in vendor/symfony/cache-contracts/CacheTrait.php -> Shopware\Core\System\SalesChannel\Context\{closure} (line 70) 65. } 66. } 67. 68. if ($recompute) { 69. $save = true; 70. $item->set($callback($item, $save)); 71. if ($save) { 72. $pool->save($item); 73. } 74. } 75. in vendor/symfony/cache-contracts/CacheTrait.php -> doGet (line 33) 28. /** 29. * {@inheritdoc} 30. */ 31. public function get(string $key, callable $callback, float $beta = null, array &$metadata = null): mixed 32. { 33. return $this->doGet($this, $key, $callback, $beta, $metadata); 34. } 35. 36. /** 37. * {@inheritdoc} 38. */ in vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php -> get (line 57) 52. )); 53. 54. $item->tag($keys); 55. 56. return CacheValueCompressor::compress($context); 57. }); 58. 59. $context = CacheValueCompressor::uncompress($value); 60. 61. $context->assign(['token' => $token]); 62. in vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextService.php -> create (line 88) 83. 84. if ($parameters->getCustomerId() !== null) { 85. $session[self::CUSTOMER_ID] = $parameters->getCustomerId(); 86. } 87. 88. $context = $this->factory->create($token, $parameters->getSalesChannelId(), $session); 89. $this->eventDispatcher->dispatch(new SalesChannelContextCreatedEvent($context, $token)); 90. 91. $result = $this->ruleLoader->loadByToken($context, $token); 92. 93. $this->cartService->setCart($result->getCart()); in vendor/shopware/core/Profiling/Profiler.php -> Shopware\Core\System\SalesChannel\Context\{closure} (line 67) 62. try { 63. foreach (self::$profilers as $profiler) { 64. $profiler->start($name, $category, $tags); 65. } 66. 67. $result = $closure(); 68. } finally { 69. foreach (self::$profilers as $profiler) { 70. $profiler->stop($name); 71. } 72. } in vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextService.php :: trace (line 96) 91. $result = $this->ruleLoader->loadByToken($context, $token); 92. 93. $this->cartService->setCart($result->getCart()); 94. 95. return $context; 96. }); 97. } 98. } 99. in vendor/shopware/core/Framework/Routing/SalesChannelRequestContextResolver.php -> get (line 63) 58. $usedContextToken, 59. $request->headers->get(PlatformRequest::HEADER_LANGUAGE_ID), 60. $request->attributes->get(SalesChannelRequest::ATTRIBUTE_DOMAIN_CURRENCY_ID), 61. $request->attributes->get(SalesChannelRequest::ATTRIBUTE_DOMAIN_ID) 62. ); 63. $context = $this->contextService->get($contextServiceParameters); 64. 65. // Validate if a customer login is required for the current request 66. $this->validateLogin($request, $context); 67. 68. // Update attributes and headers of the current request in vendor/shopware/core/Framework/Routing/ContextResolverListener.php -> resolve (line 34) 29. ]; 30. } 31. 32. public function resolveContext(ControllerEvent $event): void 33. { 34. $this->requestContextResolver->resolve($event->getRequest()); 35. } 36. } 37. in vendor/symfony/event-dispatcher/Debug/WrappedListener.php -> resolveContext (line 116) 111. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener); 112. 113. $e = $this->stopwatch->start($this->name, 'event_listener'); 114. 115. try { 116. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher); 117. } finally { 118. if ($e->isStarted()) { 119. $e->stop(); 120. } 121. } in vendor/symfony/event-dispatcher/EventDispatcher.php -> __invoke (line 220) 215. 216. foreach ($listeners as $listener) { 217. if ($stoppable && $event->isPropagationStopped()) { 218. break; 219. } 220. $listener($event, $eventName, $this); 221. } 222. } 223. 224. /** 225. * Sorts the internal list of listeners for the given event by priority. in vendor/symfony/event-dispatcher/EventDispatcher.php -> callListeners (line 56) 51. } else { 52. $listeners = $this->getListeners($eventName); 53. } 54. 55. if ($listeners) { 56. $this->callListeners($listeners, $eventName, $event); 57. } 58. 59. return $event; 60. } 61. in vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php -> dispatch (line 47) 42. * 43. * @return TEvent 44. */ 45. public function dispatch(object $event, ?string $eventName = null): object 46. { 47. $event = $this->dispatcher->dispatch($event, $eventName); 48. 49. if (!$event instanceof FlowEventAware) { 50. return $event; 51. } 52. in vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php -> dispatch (line 67) 62. ) { 63. } 64. 65. public function dispatch(object $event, ?string $eventName = null): object 66. { 67. $event = $this->dispatcher->dispatch($event, $eventName); 68. 69. if (EnvironmentHelper::getVariable('DISABLE_EXTENSIONS', false)) { 70. return $event; 71. } 72. in vendor/shopware/core/Framework/Event/NestedEventDispatcher.php -> dispatch (line 31) 26. } 27. $this->dispatch($nested, $name); 28. } 29. } 30. 31. return $this->dispatcher->dispatch($event, $eventName); 32. } 33. 34. /** 35. * @param callable $listener can not use native type declaration @see https://github.com/symfony/symfony/issues/42283 36. */ in vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php -> dispatch (line 139) 134. try { 135. $this->beforeDispatch($eventName, $event); 136. try { 137. $e = $this->stopwatch->start($eventName, 'section'); 138. try { 139. $this->dispatcher->dispatch($event, $eventName); 140. } finally { 141. if ($e->isStarted()) { 142. $e->stop(); 143. } 144. } in vendor/symfony/http-kernel/HttpKernel.php -> dispatch (line 170) 165. if (false === $controller = $this->resolver->getController($request)) { 166. throw new NotFoundHttpException(sprintf('Unable to find the controller for path "%s". The route is wrongly configured.', $request->getPathInfo())); 167. } 168. 169. $event = new ControllerEvent($this, $controller, $request, $type); 170. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER); 171. $controller = $event->getController(); 172. 173. // controller arguments 174. $arguments = $this->argumentResolver->getArguments($request, $controller, $event->getControllerReflector()); 175. in vendor/symfony/http-kernel/HttpKernel.php -> handleRaw (line 76) 71. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level()); 72. 73. $this->requestStack->push($request); 74. $response = null; 75. try { 76. return $response = $this->handleRaw($request, $type); 77. } catch (\Throwable $e) { 78. if ($e instanceof \Error && !$this->handleAllThrowables) { 79. throw $e; 80. } 81. in vendor/symfony/http-kernel/Kernel.php -> handle (line 197) 192. $this->boot(); 193. ++$this->requestStackSize; 194. $this->resetServices = true; 195. 196. try { 197. return $this->getHttpKernel()->handle($request, $type, $catch); 198. } finally { 199. --$this->requestStackSize; 200. } 201. } 202. in vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php -> handle (line 86) 81. if (!IpUtils::checkIp('127.0.0.1', $trustedProxies)) { 82. Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet()); 83. } 84. 85. try { 86. return $kernel->handle($request, $type, $catch); 87. } finally { 88. // restore global state 89. Request::setTrustedProxies($trustedProxies, $trustedHeaderSet); 90. } 91. } in vendor/symfony/http-kernel/HttpCache/HttpCache.php :: handle (line 473) 468. protected function forward(Request $request, bool $catch = false, Response $entry = null) 469. { 470. $this->surrogate?->addSurrogateCapability($request); 471. 472. // always a "master" request (as the real master request can be in cache) 473. $response = SubRequestHandler::handle($this->kernel, $request, HttpKernelInterface::MAIN_REQUEST, $catch); 474. 475. /* 476. * Support stale-if-error given on Responses or as a config option. 477. * RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual 478. * Cache-Control directives) that in vendor/symfony/http-kernel/HttpCache/HttpCache.php -> forward (line 448) 443. 444. // avoid that the backend sends no content 445. $subRequest->headers->remove('If-Modified-Since'); 446. $subRequest->headers->remove('If-None-Match'); 447. 448. $response = $this->forward($subRequest, $catch); 449. 450. if ($response->isCacheable()) { 451. $this->store($request, $response); 452. } 453. in vendor/symfony/http-kernel/HttpCache/HttpCache.php -> fetch (line 346) 341. } 342. 343. if (null === $entry) { 344. $this->record($request, 'miss'); 345. 346. return $this->fetch($request, $catch); 347. } 348. 349. if (!$this->isFreshEnough($request, $entry)) { 350. $this->record($request, 'stale'); 351. in vendor/symfony/http-kernel/HttpCache/HttpCache.php -> lookup (line 221) 216. reload the cache by fetching a fresh response and caching it (if possible). 217. */ 218. $this->record($request, 'reload'); 219. $response = $this->fetch($request, $catch); 220. } else { 221. $response = $this->lookup($request, $catch); 222. } 223. 224. $this->restoreResponseBody($request, $response); 225. 226. if (HttpKernelInterface::MAIN_REQUEST === $type) { in vendor/shopware/core/HttpKernel.php -> handle (line 143) 138. && $container->getParameter('shopware.http.cache.enabled'); 139. if ($enabled && $container->has(CacheStore::class)) { 140. $kernel = new static::$httpCacheClass($kernel, $container->get(CacheStore::class), null, ['debug' => $this->debug]); 141. } 142. 143. $response = $kernel->handle($transformed, $type, $catch); 144. 145. // fire event to trigger runtime events like seo url headers 146. $event = new BeforeSendResponseEvent($transformed, $response); 147. $container->get('event_dispatcher')->dispatch($event); 148. in vendor/shopware/core/HttpKernel.php -> doHandle (line 65) 60. } 61. 62. public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): HttpKernelResult 63. { 64. try { 65. return $this->doHandle($request, $type, $catch); 66. } catch (Exception $e) { 67. /** @var Params|array{url?: string} $connectionParams */ 68. $connectionParams = self::getConnection()->getParams(); 69. 70. $message = str_replace([$connectionParams['url'] ?? null, $connectionParams['password'] ?? null, $connectionParams['user'] ?? null], '******', $e->getMessage()); HttpKernel->handle() in public/index.php (line 71) 66. $this->httpKernel = $httpKernel; 67. } 68. 69. public function handle(Request $request, int $type = self::MAIN_REQUEST, bool $catch = true): Response 70. { 71. return $this->httpKernel->handle($request, $type, $catch)->getResponse(); 72. } 73. 74. public function terminate(Request $request, Response $response): void 75. { 76. $this->httpKernel->terminate($request, $response); in vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php -> handle (line 35) 30. $this->request = $request; 31. } 32. 33. public function run(): int 34. { 35. $response = $this->kernel->handle($this->request); 36. $response->send(); 37. 38. if ($this->kernel instanceof TerminableInterface) { 39. $this->kernel->terminate($this->request, $response); 40. } in vendor/autoload_runtime.php -> run (line 29) 24. $app = $app(...$args); 25. 26. exit( 27. $runtime 28. ->getRunner($app) 29. ->run() 30. ); 31. require_once('/var/www/html/vendor/autoload_runtime.php') in public/index.php (line 14) 9. use Symfony\Component\HttpKernel\HttpKernelInterface; 10. use Symfony\Component\HttpKernel\TerminableInterface; 11. 12. $_SERVER['SCRIPT_FILENAME'] = __FILE__; 13. 14. require_once __DIR__ . '/../vendor/autoload_runtime.php'; 15. 16. if (!file_exists(__DIR__ . '/../.env') && !file_exists(__DIR__ . '/../.env.dist') && !file_exists(__DIR__ . '/../.env.local.php')) { 17. $_SERVER['APP_RUNTIME_OPTIONS']['disable_dotenv'] = true; 18. } 19. LOGS No log messages STACK TRACES 3 [3/3] InvalidFieldNameException Doctrine\DBAL\Exception\InvalidFieldNameException: An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tax_rule.active_from' in 'field list' at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:67 at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert() (vendor/doctrine/dbal/src/Connection.php:1938) at Doctrine\DBAL\Connection->handleDriverException() (vendor/doctrine/dbal/src/Connection.php:1880) at Doctrine\DBAL\Connection->convertExceptionDuringQuery() (vendor/doctrine/dbal/src/Connection.php:1105) at Doctrine\DBAL\Connection->executeQuery() (vendor/doctrine/dbal/src/Query/QueryBuilder.php:341) at Doctrine\DBAL\Query\QueryBuilder->executeQuery() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:307) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->fetch() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:131) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->_read() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:497) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->loadOneToManyWithoutPagination() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:433) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->loadOneToMany() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:1208) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->fetchAssociations() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:135) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->_read() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:75) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->read() (vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:212) at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->read() (vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:240) at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->_search() (vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:65) at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->Shopware\Core\Framework\DataAbstractionLayer\{closure}() (vendor/shopware/core/Profiling/Profiler.php:67) at Shopware\Core\Profiling\Profiler::trace() (vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:65) at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->search() (vendor/shopware/core/System/SalesChannel/Context/BaseContextFactory.php:143) at Shopware\Core\System\SalesChannel\Context\BaseContextFactory->getTaxRules() (vendor/shopware/core/System/SalesChannel/Context/BaseContextFactory.php:100) at Shopware\Core\System\SalesChannel\Context\BaseContextFactory->create() (vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php:55) at Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory->Shopware\Core\System\SalesChannel\Context\{closure}() (vendor/shopware/core/System/SystemConfig/SystemConfigService.php:415) at Shopware\Core\System\SystemConfig\SystemConfigService->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->Shopware\Core\Framework\Adapter\Cache\{closure}() (vendor/shopware/core/Framework/Adapter/Translation/Translator.php:96) at Shopware\Core\Framework\Adapter\Translation\Translator->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->Shopware\Core\Framework\Adapter\Cache\{closure}() (vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php:56) at Shopware\Core\Framework\Adapter\Cache\CacheTagCollection->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->trace() (vendor/shopware/storefront/Framework/Cache/CacheTracer.php:33) at Shopware\Storefront\Framework\Cache\CacheTracer->Shopware\Storefront\Framework\Cache\{closure}() (vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php:76) at Shopware\Storefront\Theme\ThemeConfigValueAccessor->trace() (vendor/shopware/storefront/Framework/Cache/CacheTracer.php:33) at Shopware\Storefront\Framework\Cache\CacheTracer->trace() (vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php:55) at Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory->Shopware\Core\System\SalesChannel\Context\{closure}() (vendor/symfony/cache-contracts/CacheTrait.php:70) at Shopware\Core\Framework\Adapter\Cache\CacheDecorator->doGet() (vendor/symfony/cache-contracts/CacheTrait.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheDecorator->get() (vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php:65) at Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory->create() (vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextFactory.php:61) at Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory->create() (vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php:47) at Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory->Shopware\Core\System\SalesChannel\Context\{closure}() (vendor/shopware/core/System/SystemConfig/SystemConfigService.php:415) at Shopware\Core\System\SystemConfig\SystemConfigService->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->Shopware\Core\Framework\Adapter\Cache\{closure}() (vendor/shopware/core/Framework/Adapter/Translation/Translator.php:96) at Shopware\Core\Framework\Adapter\Translation\Translator->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->Shopware\Core\Framework\Adapter\Cache\{closure}() (vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php:56) at Shopware\Core\Framework\Adapter\Cache\CacheTagCollection->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->trace() (vendor/shopware/storefront/Framework/Cache/CacheTracer.php:33) at Shopware\Storefront\Framework\Cache\CacheTracer->Shopware\Storefront\Framework\Cache\{closure}() (vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php:76) at Shopware\Storefront\Theme\ThemeConfigValueAccessor->trace() (vendor/shopware/storefront/Framework/Cache/CacheTracer.php:33) at Shopware\Storefront\Framework\Cache\CacheTracer->trace() (vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php:47) at Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory->Shopware\Core\System\SalesChannel\Context\{closure}() (vendor/symfony/cache-contracts/CacheTrait.php:70) at Shopware\Core\Framework\Adapter\Cache\CacheDecorator->doGet() (vendor/symfony/cache-contracts/CacheTrait.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheDecorator->get() (vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php:57) at Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory->create() (vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextService.php:88) at Shopware\Core\System\SalesChannel\Context\SalesChannelContextService->Shopware\Core\System\SalesChannel\Context\{closure}() (vendor/shopware/core/Profiling/Profiler.php:67) at Shopware\Core\Profiling\Profiler::trace() (vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextService.php:96) at Shopware\Core\System\SalesChannel\Context\SalesChannelContextService->get() (vendor/shopware/core/Framework/Routing/SalesChannelRequestContextResolver.php:63) at Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver->resolve() (vendor/shopware/core/Framework/Routing/ContextResolverListener.php:34) at Shopware\Core\Framework\Routing\ContextResolverListener->resolveContext() (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (vendor/symfony/event-dispatcher/EventDispatcher.php:220) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (vendor/symfony/event-dispatcher/EventDispatcher.php:56) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:47) at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch() (vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:67) at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch() (vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31) at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch() (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (vendor/symfony/http-kernel/HttpKernel.php:170) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:76) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:197) at Symfony\Component\HttpKernel\Kernel->handle() (vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86) at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:473) at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:448) at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:346) at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:221) at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle() (vendor/shopware/core/HttpKernel.php:143) at Shopware\Core\HttpKernel->doHandle() (vendor/shopware/core/HttpKernel.php:65) at Shopware\Core\HttpKernel->handle() (public/index.php:71) at Symfony\Component\HttpKernel\HttpKernelInterface@anonymous/var/www/html/public/index.php:61$0->handle() (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35) at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (vendor/autoload_runtime.php:29) at require_once('/var/www/html/vendor/autoload_runtime.php') (public/index.php:14) [2/3] Exception Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tax_rule.active_from' in 'field list' at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28 at Doctrine\DBAL\Driver\PDO\Exception::new() (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:132) at Doctrine\DBAL\Driver\PDO\Statement->execute() (vendor/doctrine/dbal/src/Connection.php:1098) at Doctrine\DBAL\Connection->executeQuery() (vendor/doctrine/dbal/src/Query/QueryBuilder.php:341) at Doctrine\DBAL\Query\QueryBuilder->executeQuery() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:307) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->fetch() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:131) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->_read() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:497) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->loadOneToManyWithoutPagination() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:433) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->loadOneToMany() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:1208) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->fetchAssociations() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:135) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->_read() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:75) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->read() (vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:212) at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->read() (vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:240) at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->_search() (vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:65) at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->Shopware\Core\Framework\DataAbstractionLayer\{closure}() (vendor/shopware/core/Profiling/Profiler.php:67) at Shopware\Core\Profiling\Profiler::trace() (vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:65) at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->search() (vendor/shopware/core/System/SalesChannel/Context/BaseContextFactory.php:143) at Shopware\Core\System\SalesChannel\Context\BaseContextFactory->getTaxRules() (vendor/shopware/core/System/SalesChannel/Context/BaseContextFactory.php:100) at Shopware\Core\System\SalesChannel\Context\BaseContextFactory->create() (vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php:55) at Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory->Shopware\Core\System\SalesChannel\Context\{closure}() (vendor/shopware/core/System/SystemConfig/SystemConfigService.php:415) at Shopware\Core\System\SystemConfig\SystemConfigService->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->Shopware\Core\Framework\Adapter\Cache\{closure}() (vendor/shopware/core/Framework/Adapter/Translation/Translator.php:96) at Shopware\Core\Framework\Adapter\Translation\Translator->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->Shopware\Core\Framework\Adapter\Cache\{closure}() (vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php:56) at Shopware\Core\Framework\Adapter\Cache\CacheTagCollection->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->trace() (vendor/shopware/storefront/Framework/Cache/CacheTracer.php:33) at Shopware\Storefront\Framework\Cache\CacheTracer->Shopware\Storefront\Framework\Cache\{closure}() (vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php:76) at Shopware\Storefront\Theme\ThemeConfigValueAccessor->trace() (vendor/shopware/storefront/Framework/Cache/CacheTracer.php:33) at Shopware\Storefront\Framework\Cache\CacheTracer->trace() (vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php:55) at Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory->Shopware\Core\System\SalesChannel\Context\{closure}() (vendor/symfony/cache-contracts/CacheTrait.php:70) at Shopware\Core\Framework\Adapter\Cache\CacheDecorator->doGet() (vendor/symfony/cache-contracts/CacheTrait.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheDecorator->get() (vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php:65) at Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory->create() (vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextFactory.php:61) at Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory->create() (vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php:47) at Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory->Shopware\Core\System\SalesChannel\Context\{closure}() (vendor/shopware/core/System/SystemConfig/SystemConfigService.php:415) at Shopware\Core\System\SystemConfig\SystemConfigService->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->Shopware\Core\Framework\Adapter\Cache\{closure}() (vendor/shopware/core/Framework/Adapter/Translation/Translator.php:96) at Shopware\Core\Framework\Adapter\Translation\Translator->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->Shopware\Core\Framework\Adapter\Cache\{closure}() (vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php:56) at Shopware\Core\Framework\Adapter\Cache\CacheTagCollection->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->trace() (vendor/shopware/storefront/Framework/Cache/CacheTracer.php:33) at Shopware\Storefront\Framework\Cache\CacheTracer->Shopware\Storefront\Framework\Cache\{closure}() (vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php:76) at Shopware\Storefront\Theme\ThemeConfigValueAccessor->trace() (vendor/shopware/storefront/Framework/Cache/CacheTracer.php:33) at Shopware\Storefront\Framework\Cache\CacheTracer->trace() (vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php:47) at Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory->Shopware\Core\System\SalesChannel\Context\{closure}() (vendor/symfony/cache-contracts/CacheTrait.php:70) at Shopware\Core\Framework\Adapter\Cache\CacheDecorator->doGet() (vendor/symfony/cache-contracts/CacheTrait.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheDecorator->get() (vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php:57) at Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory->create() (vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextService.php:88) at Shopware\Core\System\SalesChannel\Context\SalesChannelContextService->Shopware\Core\System\SalesChannel\Context\{closure}() (vendor/shopware/core/Profiling/Profiler.php:67) at Shopware\Core\Profiling\Profiler::trace() (vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextService.php:96) at Shopware\Core\System\SalesChannel\Context\SalesChannelContextService->get() (vendor/shopware/core/Framework/Routing/SalesChannelRequestContextResolver.php:63) at Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver->resolve() (vendor/shopware/core/Framework/Routing/ContextResolverListener.php:34) at Shopware\Core\Framework\Routing\ContextResolverListener->resolveContext() (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (vendor/symfony/event-dispatcher/EventDispatcher.php:220) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (vendor/symfony/event-dispatcher/EventDispatcher.php:56) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:47) at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch() (vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:67) at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch() (vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31) at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch() (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (vendor/symfony/http-kernel/HttpKernel.php:170) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:76) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:197) at Symfony\Component\HttpKernel\Kernel->handle() (vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86) at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:473) at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:448) at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:346) at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:221) at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle() (vendor/shopware/core/HttpKernel.php:143) at Shopware\Core\HttpKernel->doHandle() (vendor/shopware/core/HttpKernel.php:65) at Shopware\Core\HttpKernel->handle() (public/index.php:71) at Symfony\Component\HttpKernel\HttpKernelInterface@anonymous/var/www/html/public/index.php:61$0->handle() (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35) at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (vendor/autoload_runtime.php:29) at require_once('/var/www/html/vendor/autoload_runtime.php') (public/index.php:14) [1/3] PDOException PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'tax_rule.active_from' in 'field list' at vendor/doctrine/dbal/src/Driver/PDO/Statement.php:130 at PDOStatement->execute() (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:130) at Doctrine\DBAL\Driver\PDO\Statement->execute() (vendor/doctrine/dbal/src/Connection.php:1098) at Doctrine\DBAL\Connection->executeQuery() (vendor/doctrine/dbal/src/Query/QueryBuilder.php:341) at Doctrine\DBAL\Query\QueryBuilder->executeQuery() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:307) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->fetch() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:131) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->_read() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:497) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->loadOneToManyWithoutPagination() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:433) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->loadOneToMany() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:1208) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->fetchAssociations() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:135) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->_read() (vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:75) at Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->read() (vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:212) at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->read() (vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:240) at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->_search() (vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:65) at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->Shopware\Core\Framework\DataAbstractionLayer\{closure}() (vendor/shopware/core/Profiling/Profiler.php:67) at Shopware\Core\Profiling\Profiler::trace() (vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:65) at Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->search() (vendor/shopware/core/System/SalesChannel/Context/BaseContextFactory.php:143) at Shopware\Core\System\SalesChannel\Context\BaseContextFactory->getTaxRules() (vendor/shopware/core/System/SalesChannel/Context/BaseContextFactory.php:100) at Shopware\Core\System\SalesChannel\Context\BaseContextFactory->create() (vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php:55) at Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory->Shopware\Core\System\SalesChannel\Context\{closure}() (vendor/shopware/core/System/SystemConfig/SystemConfigService.php:415) at Shopware\Core\System\SystemConfig\SystemConfigService->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->Shopware\Core\Framework\Adapter\Cache\{closure}() (vendor/shopware/core/Framework/Adapter/Translation/Translator.php:96) at Shopware\Core\Framework\Adapter\Translation\Translator->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->Shopware\Core\Framework\Adapter\Cache\{closure}() (vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php:56) at Shopware\Core\Framework\Adapter\Cache\CacheTagCollection->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->trace() (vendor/shopware/storefront/Framework/Cache/CacheTracer.php:33) at Shopware\Storefront\Framework\Cache\CacheTracer->Shopware\Storefront\Framework\Cache\{closure}() (vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php:76) at Shopware\Storefront\Theme\ThemeConfigValueAccessor->trace() (vendor/shopware/storefront/Framework/Cache/CacheTracer.php:33) at Shopware\Storefront\Framework\Cache\CacheTracer->trace() (vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php:55) at Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory->Shopware\Core\System\SalesChannel\Context\{closure}() (vendor/symfony/cache-contracts/CacheTrait.php:70) at Shopware\Core\Framework\Adapter\Cache\CacheDecorator->doGet() (vendor/symfony/cache-contracts/CacheTrait.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheDecorator->get() (vendor/shopware/core/System/SalesChannel/Context/CachedBaseContextFactory.php:65) at Shopware\Core\System\SalesChannel\Context\CachedBaseContextFactory->create() (vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextFactory.php:61) at Shopware\Core\System\SalesChannel\Context\SalesChannelContextFactory->create() (vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php:47) at Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory->Shopware\Core\System\SalesChannel\Context\{closure}() (vendor/shopware/core/System/SystemConfig/SystemConfigService.php:415) at Shopware\Core\System\SystemConfig\SystemConfigService->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->Shopware\Core\Framework\Adapter\Cache\{closure}() (vendor/shopware/core/Framework/Adapter/Translation/Translator.php:96) at Shopware\Core\Framework\Adapter\Translation\Translator->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->Shopware\Core\Framework\Adapter\Cache\{closure}() (vendor/shopware/core/Framework/Adapter/Cache/CacheTagCollection.php:56) at Shopware\Core\Framework\Adapter\Cache\CacheTagCollection->trace() (vendor/shopware/core/Framework/Adapter/Cache/CacheTracer.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheTracer->trace() (vendor/shopware/storefront/Framework/Cache/CacheTracer.php:33) at Shopware\Storefront\Framework\Cache\CacheTracer->Shopware\Storefront\Framework\Cache\{closure}() (vendor/shopware/storefront/Theme/ThemeConfigValueAccessor.php:76) at Shopware\Storefront\Theme\ThemeConfigValueAccessor->trace() (vendor/shopware/storefront/Framework/Cache/CacheTracer.php:33) at Shopware\Storefront\Framework\Cache\CacheTracer->trace() (vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php:47) at Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory->Shopware\Core\System\SalesChannel\Context\{closure}() (vendor/symfony/cache-contracts/CacheTrait.php:70) at Shopware\Core\Framework\Adapter\Cache\CacheDecorator->doGet() (vendor/symfony/cache-contracts/CacheTrait.php:33) at Shopware\Core\Framework\Adapter\Cache\CacheDecorator->get() (vendor/shopware/core/System/SalesChannel/Context/CachedSalesChannelContextFactory.php:57) at Shopware\Core\System\SalesChannel\Context\CachedSalesChannelContextFactory->create() (vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextService.php:88) at Shopware\Core\System\SalesChannel\Context\SalesChannelContextService->Shopware\Core\System\SalesChannel\Context\{closure}() (vendor/shopware/core/Profiling/Profiler.php:67) at Shopware\Core\Profiling\Profiler::trace() (vendor/shopware/core/System/SalesChannel/Context/SalesChannelContextService.php:96) at Shopware\Core\System\SalesChannel\Context\SalesChannelContextService->get() (vendor/shopware/core/Framework/Routing/SalesChannelRequestContextResolver.php:63) at Shopware\Core\Framework\Routing\SalesChannelRequestContextResolver->resolve() (vendor/shopware/core/Framework/Routing/ContextResolverListener.php:34) at Shopware\Core\Framework\Routing\ContextResolverListener->resolveContext() (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() (vendor/symfony/event-dispatcher/EventDispatcher.php:220) at Symfony\Component\EventDispatcher\EventDispatcher->callListeners() (vendor/symfony/event-dispatcher/EventDispatcher.php:56) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch() (vendor/shopware/core/Content/Flow/Dispatching/FlowDispatcher.php:47) at Shopware\Core\Content\Flow\Dispatching\FlowDispatcher->dispatch() (vendor/shopware/core/Framework/Webhook/WebhookDispatcher.php:67) at Shopware\Core\Framework\Webhook\WebhookDispatcher->dispatch() (vendor/shopware/core/Framework/Event/NestedEventDispatcher.php:31) at Shopware\Core\Framework\Event\NestedEventDispatcher->dispatch() (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch() (vendor/symfony/http-kernel/HttpKernel.php:170) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:76) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:197) at Symfony\Component\HttpKernel\Kernel->handle() (vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86) at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:473) at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:448) at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:346) at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup() (vendor/symfony/http-kernel/HttpCache/HttpCache.php:221) at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle() (vendor/shopware/core/HttpKernel.php:143) at Shopware\Core\HttpKernel->doHandle() (vendor/shopware/core/HttpKernel.php:65) at Shopware\Core\HttpKernel->handle() (public/index.php:71) at Symfony\Component\HttpKernel\HttpKernelInterface@anonymous/var/www/html/public/index.php:61$0->handle() (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35) at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (vendor/autoload_runtime.php:29) at require_once('/var/www/html/vendor/autoload_runtime.php') (public/index.php:14)