Warning: The magic method OCDI\OneClickDemoImport::__wakeup() must have public visibility in /htdocs/wp-content/plugins/kadence-importer/inc/OneClickDemoImport.php on line 128
cribesTrigger = $someoneSubscribesTrigger;
$this->userRegistrationTrigger = $userRegistrationTrigger;
$this->sendEmailAction = $sendEmailAction;
$this->automationEditorLoadingHooks = $automationEditorLoadingHooks;
$this->createAutomationRunHook = $createAutomationRunHook;
$this->templatesFactory = $templatesFactory;
$this->registerAnalytics = $registerAnalytics;
$this->wordPress = $wordPress;
}
public function register(Registry $registry): void {
$registry->addContextFactory('mailpoet', function () {
return $this->contextFactory->getContextData();
});
$registry->addSubject($this->segmentSubject);
$registry->addSubject($this->subscriberSubject);
$registry->addSubject($this->emailLinkSubject);
$registry->addTrigger($this->someoneSubscribesTrigger);
$registry->addTrigger($this->userRegistrationTrigger);
$registry->addAction($this->sendEmailAction);
$registry->addSubjectTransformer($this->orderToSubscriberTransformer);
$registry->addSubjectTransformer($this->orderToSegmentTransformer);
$registry->addSubjectTransformer($this->subscriberToWordPressUserTransformer);
$registry->addSubjectTransformer($this->commentToSubscriberTransformer);
foreach ($this->templatesFactory->createTemplates() as $template) {
$registry->addTemplate($template);
}
// sync step args (subject, preheader, etc.) to email settings
$registry->onBeforeAutomationStepSave(
[$this->sendEmailAction, 'saveEmailSettings'],
$this->sendEmailAction->getKey()
);
// execute send email step progress when email is sent
$this->wordPress->addAction('mailpoet_automation_email_sent', [$this->sendEmailAction, 'handleEmailSent']);
$this->automationEditorLoadingHooks->init();
$this->createAutomationRunHook->init();
$this->registerAnalytics->register();
}
}
Fatal error: Uncaught Error: Class "MailPoet\Automation\Integrations\MailPoet\MailPoetIntegration" not found in /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php:2091
Stack trace:
#0 /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(2809): 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(88): MailPoet\DI\ContainerWrapper->get('MailPoet\\Config...')
#5 /htdocs/wp-content/plugins/mailpoet/mailpoet.php(179): require_once('/htdocs/wp-cont...')
#6 /htdocs/wp-settings.php(526): include_once('/htdocs/wp-cont...')
#7 /htdocs/wp-config.php(99): 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 2091