exception |
Symfony\Component\ErrorHandler\Error\ClassNotFoundError {#5704
#message: """
Attempted to load class "ArrayCollection" from namespace "Doctrine\Common\Collections".\n
Did you forget a "use" statement for another namespace?
"""
#code: 0
#file: "/var/www/share/develop/releases/66/custom/plugins/WebdaBlog/src/Core/Content/EntityClass/CommentEntity.php"
#line: 21
trace: {
/var/www/share/develop/releases/66/custom/plugins/WebdaBlog/src/Core/Content/EntityClass/CommentEntity.php:21 {
WebdaBlog\Core\Content\EntityClass\CommentEntity->__construct() …
› public function __construct () {
› $this->metaData = new ArrayCollection();
› $this->termTax = new ArrayCollection();
}
/var/www/share/develop/releases/66/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityHydrator.php:550 {
Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityHydrator->hydrateEntity(EntityDefinition $definition, string $entityClass, array $row, string $root, Context $context, array $partial = []): Entity …
›
› $entity = new $entityClass();
›
}
/var/www/share/develop/releases/66/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityHydrator.php:88 {
Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityHydrator->hydrate(EntityCollection $collection, string $entityClass, EntityDefinition $definition, array $rows, string $root, Context $context, array $partial = []): EntityCollection …
› foreach ($rows as $row) {
› $collection->add($this->hydrateEntity($definition, $entityClass, $row, $root, $context, $partial));
› }
arguments: {
$definition: WebdaBlog\Core\Content\EntityDefinition\CommentDefinition {#1623 …}
$entityClass: "WebdaBlog\Core\Content\EntityClass\CommentEntity"
$row: [ …18]
$root: "wp_comments"
$context: Shopware\Core\Framework\Context {#2039 …}
$partial: []
}
}
/var/www/share/develop/releases/66/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:133 {
Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->_read(Criteria $criteria, EntityDefinition $definition, Context $context, EntityCollection $collection, FieldCollection $fields, bool $performEmptySearch = false, array $partial = []): EntityCollection …
›
› $collection = $this->hydrator->hydrate($collection, $definition->getEntityClass(), $definition, $rows, $definition->getEntityName(), $context, $partial);
›
arguments: {
$collection: WebdaBlog\Core\Content\EntityCollection\CommentCollection {#6147 …}
$entityClass: "WebdaBlog\Core\Content\EntityClass\CommentEntity"
$definition: WebdaBlog\Core\Content\EntityDefinition\CommentDefinition {#1623 …}
$rows: [ …1]
$root: "wp_comments"
$context: Shopware\Core\Framework\Context {#2039 …}
$partial: []
}
}
/var/www/share/develop/releases/66/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:490 {
Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->loadOneToManyWithoutPagination(EntityDefinition $definition, OneToManyAssociationField $association, Context $context, EntityCollection $collection, Criteria $fieldCriteria, array $partial): void …
›
› $data = $this->_read(
› $fieldCriteria,
arguments: {
$criteria: Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria {#6123 …}
$definition: WebdaBlog\Core\Content\EntityDefinition\CommentDefinition {#1623 …}
$context: Shopware\Core\Framework\Context {#2039 …}
$collection: WebdaBlog\Core\Content\EntityCollection\CommentCollection {#6147 …}
$fields: Shopware\Core\Framework\DataAbstractionLayer\CompiledFieldCollection {#6155 …}
$performEmptySearch: false
$partial: []
}
}
/var/www/share/develop/releases/66/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:433 {
Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->loadOneToMany(Criteria $criteria, EntityDefinition $definition, OneToManyAssociationField $association, Context $context, EntityCollection $collection, array $partial): void …
› if ($fieldCriteria->getLimit() === null) {
› $this->loadOneToManyWithoutPagination($definition, $association, $context, $collection, $fieldCriteria, $partial);
›
arguments: {
$definition: WebdaBlog\Core\Content\EntityDefinition\PostDefinition {#1631 …}
$association: Shopware\Core\Framework\DataAbstractionLayer\Field\OneToManyAssociationField {#6104 …}
$context: Shopware\Core\Framework\Context {#2039 …}
$collection: WebdaBlog\Core\Content\EntityCollection\PostCollection {#6126 …}
$fieldCriteria: Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria {#6123 …}
$partial: []
}
}
/var/www/share/develop/releases/66/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:1208 {
Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->fetchAssociations(Criteria $criteria, EntityDefinition $definition, Context $context, EntityCollection $collection, FieldCollection $fields, array $partial): EntityCollection …
› if ($association instanceof OneToManyAssociationField) {
› $this->loadOneToMany($criteria, $definition, $association, $context, $collection, $partial[$association->getPropertyName()] ?? []);
›
arguments: {
$criteria: Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria {#6117 …}
$definition: WebdaBlog\Core\Content\EntityDefinition\PostDefinition {#1631 …}
$association: Shopware\Core\Framework\DataAbstractionLayer\Field\OneToManyAssociationField {#6104 …}
$context: Shopware\Core\Framework\Context {#2039 …}
$collection: WebdaBlog\Core\Content\EntityCollection\PostCollection {#6126 …}
$partial: []
}
}
/var/www/share/develop/releases/66/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:135 {
Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->_read(Criteria $criteria, EntityDefinition $definition, Context $context, EntityCollection $collection, FieldCollection $fields, bool $performEmptySearch = false, array $partial = []): EntityCollection …
›
› $collection = $this->fetchAssociations($criteria, $definition, $context, $collection, $fields, $partial);
›
arguments: {
$criteria: Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria {#6117 …}
$definition: WebdaBlog\Core\Content\EntityDefinition\PostDefinition {#1631 …}
$context: Shopware\Core\Framework\Context {#2039 …}
$collection: WebdaBlog\Core\Content\EntityCollection\PostCollection {#6126 …}
$fields: Shopware\Core\Framework\DataAbstractionLayer\CompiledFieldCollection {#6128 …}
$partial: []
}
}
/var/www/share/develop/releases/66/vendor/shopware/core/Framework/DataAbstractionLayer/Dbal/EntityReader.php:74 {
Shopware\Core\Framework\DataAbstractionLayer\Dbal\EntityReader->read(EntityDefinition $definition, Criteria $criteria, Context $context): EntityCollection …
›
› return $this->_read(
› $criteria,
arguments: {
$criteria: Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria {#6117 …}
$definition: WebdaBlog\Core\Content\EntityDefinition\PostDefinition {#1631 …}
$context: Shopware\Core\Framework\Context {#2039 …}
$collection: WebdaBlog\Core\Content\EntityCollection\PostCollection {#6126 …}
$fields: Shopware\Core\Framework\DataAbstractionLayer\CompiledFieldCollection {#6128 …}
$performEmptySearch: true
$partial: []
}
}
/var/www/share/develop/releases/66/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:212 {
Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->read(Criteria $criteria, Context $context): EntityCollection …
› /** @var TEntityCollection $entities */
› $entities = $this->reader->read($this->definition, $criteria, $context);
›
arguments: {
$definition: WebdaBlog\Core\Content\EntityDefinition\PostDefinition {#1631 …}
$criteria: Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria {#6117 …}
$context: Shopware\Core\Framework\Context {#2039 …}
}
}
/var/www/share/develop/releases/66/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:256 {
Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->_search(Criteria $criteria, Context $context): EntitySearchResult …
›
› $entities = $this->read($readCriteria, $context);
›
arguments: {
$criteria: Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria {#6117 …}
$context: Shopware\Core\Framework\Context {#2039 …}
}
}
/var/www/share/develop/releases/66/vendor/shopware/core/Framework/DataAbstractionLayer/EntityRepository.php:62 {
Shopware\Core\Framework\DataAbstractionLayer\EntityRepository->search(Criteria $criteria, Context $context): EntitySearchResult …
› if (!$criteria->getTitle()) {
› return $this->_search($criteria, $context);
› }
arguments: {
$criteria: Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria {#6062 …}
$context: Shopware\Core\Framework\Context {#2039 …}
}
}
/var/www/share/develop/releases/66/custom/plugins/WebdaBlog/src/Storefront/Controller/BlogController.php:691 {
WebdaBlog\Storefront\Controller\BlogController->postAction(Context $context, SalesChannelContext $salesChannelContext, Request $request) …
› ->addFilter(new EqualsFilter('postType', 'post'));
› $post = $this->postRepository->search($crit, $context)->first();
› if (!empty($post)) {
arguments: {
$criteria: Shopware\Core\Framework\DataAbstractionLayer\Search\Criteria {#6054 …}
$context: Shopware\Core\Framework\Context {#2039 …}
}
}
/var/www/share/develop/releases/66/vendor/symfony/http-kernel/HttpKernel.php:181 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments: {
$context: Shopware\Core\Framework\Context {#2039 …}
$salesChannelContext: Shopware\Core\System\SalesChannel\SalesChannelContext {#2038 …}
$request: Symfony\Component\HttpFoundation\Request {#465 …}
}
}
/var/www/share/develop/releases/66/vendor/symfony/http-kernel/HttpKernel.php:76 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $response = $this->handleRaw($request, $type);
› } catch (\Throwable $e) {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#465 …}
$type: 1
}
}
/var/www/share/develop/releases/66/vendor/symfony/http-kernel/Kernel.php:197 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#465 …}
$type: 1
$catch: true
}
}
/var/www/share/develop/releases/66/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86 {
Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(HttpKernelInterface $kernel, Request $request, int $type, bool $catch): Response …
› try {
› return $kernel->handle($request, $type, $catch);
› } finally {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#465 …}
$type: 1
$catch: true
}
}
/var/www/share/develop/releases/66/vendor/symfony/http-kernel/HttpCache/HttpCache.php:473 {
Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Request $request, bool $catch = false, ?Response $entry = null) …
› // always a "master" request (as the real master request can be in cache)
› $response = SubRequestHandler::handle($this->kernel, $request, HttpKernelInterface::MAIN_REQUEST, $catch);
›
arguments: {
$kernel: Shopware\Core\Kernel {#35 …}
$request: Symfony\Component\HttpFoundation\Request {#465 …}
$type: 1
$catch: true
}
}
/var/www/share/develop/releases/66/vendor/symfony/http-kernel/HttpCache/HttpCache.php:448 {
Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Request $request, bool $catch = false): Response …
›
› $response = $this->forward($subRequest, $catch);
›
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#465 …}
$catch: true
}
}
/var/www/share/develop/releases/66/vendor/symfony/http-kernel/HttpCache/HttpCache.php:346 {
Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Request $request, bool $catch = false): Response …
›
› return $this->fetch($request, $catch);
› }
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#1408 …}
$catch: true
}
}
/var/www/share/develop/releases/66/vendor/symfony/http-kernel/HttpCache/HttpCache.php:221 {
Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› } else {
› $response = $this->lookup($request, $catch);
› }
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#1408 …}
$catch: true
}
}
/var/www/share/develop/releases/66/vendor/shopware/core/HttpKernel.php:143 {
Shopware\Core\HttpKernel->doHandle(Request $request, int $type, bool $catch): HttpKernelResult …
›
› $response = $kernel->handle($transformed, $type, $catch);
›
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#1408 …}
$type: 1
$catch: true
}
}
/var/www/share/develop/releases/66/vendor/shopware/core/HttpKernel.php:65 {
Shopware\Core\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): HttpKernelResult …
› try {
› return $this->doHandle($request, $type, $catch);
› } catch (Exception $e) {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#2 …}
$type: 1
$catch: true
}
}
/var/www/share/develop/releases/66/public/index.php:76 {
|