Warning: Class "Automattic\WooCommerce\StoreApi\Routes\V1\CartAddItem" not found in /htdocs/wp-content/plugins/woocommerce/src/StoreApi/deprecated.php on line 73
'id' => SubscriberEntity::STATUS_INACTIVE, 'name' => __('Inactive', 'mailpoet'), ], [ 'id' => SubscriberEntity::STATUS_BOUNCED, 'name' => __('Bounced', 'mailpoet'), ], ], ] ), new Field( 'mailpoet:subscriber:subscription-source', Field::TYPE_ENUM, __('Subscription source', 'mailpoet'), function (SubscriberPayload $payload) { return $payload->getSubscriber()->getSource(); }, [ 'options' => [ [ 'id' => 'api', 'name' => __('API', 'mailpoet'), ], [ 'id' => 'form', 'name' => __('Form', 'mailpoet'), ], [ 'id' => 'unknown', 'name' => __('Unknown', 'mailpoet'), ], [ 'id' => 'imported', 'name' => __('Imported', 'mailpoet'), ], [ 'id' => 'administrator', 'name' => __('Administrator', 'mailpoet'), ], [ 'id' => 'wordpress_user', 'name' => __('WordPress user', 'mailpoet'), ], [ 'id' => 'woocommerce_user', 'name' => __('WooCommerce user', 'mailpoet'), ], [ 'id' => 'woocommerce_checkout', 'name' => __('WooCommerce checkout', 'mailpoet'), ], ], ] ), new Field( 'mailpoet:subscriber:last-subscribed-at', Field::TYPE_DATETIME, __('Subscribed date', 'mailpoet'), function (SubscriberPayload $payload) { return $payload->getSubscriber()->getLastSubscribedAt(); } ), new Field( 'mailpoet:subscriber:lists', Field::TYPE_ENUM_ARRAY, __('Subscribed lists', 'mailpoet'), function (SubscriberPayload $payload) { $value = []; foreach ($payload->getSubscriber()->getSegments() as $list) { if ($list->getType() !== SegmentEntity::TYPE_DYNAMIC) { $value[] = $list->getId(); } } return $value; }, [ 'options' => array_map(function ($segment) { return [ 'id' => $segment->getId(), 'name' => $segment->getName(), ]; }, $this->segmentsRepository->findByTypeNotIn([SegmentEntity::TYPE_DYNAMIC])), ] ), new Field( 'mailpoet:subscriber:tags', Field::TYPE_ENUM_ARRAY, __('Tags', 'mailpoet'), function (SubscriberPayload $payload) { $value = []; foreach ($payload->getSubscriber()->getSubscriberTags() as $subscriberTag) { $tag = $subscriberTag->getTag(); if ($tag) { $value[] = $tag->getId(); } } return $value; }, [ 'options' => array_map(function ($tag) { return [ 'id' => $tag->getId(), 'name' => $tag->getName(), ]; }, $this->tagRepository->findAll()), ] ), new Field( 'mailpoet:subscriber:segments', Field::TYPE_ENUM_ARRAY, __('Segments', 'mailpoet'), function (SubscriberPayload $payload) { $segments = $this->segmentsFinder->findDynamicSegments($payload->getSubscriber()); $value = []; foreach ($segments as $segment) { $value[] = $segment->getId(); } return $value; }, [ 'options' => array_map(function ($segment) { return [ 'id' => $segment->getId(), 'name' => $segment->getName(), ]; }, $this->segmentsRepository->findBy(['type' => SegmentEntity::TYPE_DYNAMIC])), ] ), ], $this->statisticFieldsFactory->getFields(), $this->automationFieldsFactory->getFields() ); } }
Fatal error: Uncaught Error: Class "MailPoet\Automation\Integrations\MailPoet\Fields\SubscriberFieldsFactory" not found in /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php:2058 Stack trace: #0 /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(2640): MailPoetGenerated\FreeCachedContainer->getMailPoetIntegrationService() #1 /htdocs/wp-content/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Container.php(122): MailPoetGenerated\FreeCachedContainer->getInitializerService() #2 /htdocs/wp-content/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Container.php(110): MailPoetVendor\Symfony\Component\DependencyInjection\Container->make('MailPoet\\Config...', 1) #3 /htdocs/wp-content/plugins/mailpoet/lib/DI/ContainerWrapper.php(39): MailPoetVendor\Symfony\Component\DependencyInjection\Container->get('MailPoet\\Config...') #4 /htdocs/wp-content/plugins/mailpoet/mailpoet_initializer.php(89): MailPoet\DI\ContainerWrapper->get('MailPoet\\Config...') #5 /htdocs/wp-content/plugins/mailpoet/mailpoet.php(194): require_once('/htdocs/wp-cont...') #6 /htdocs/wp-settings.php(526): include_once('/htdocs/wp-cont...') #7 /htdocs/wp-config.php(85): require_once('/htdocs/wp-sett...') #8 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #9 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #10 /htdocs/index.php(17): require('/htdocs/wp-blog...') #11 {main} thrown in /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php on line 2058