$this->unauthorizedEmailsNotice->init( Menu::isOnMailPoetAdminPage($excludeSetupWizard) ); $this->unauthorizedEmailsInNewslettersNotice->init( Menu::isOnMailPoetAdminPage($excludeSetupWizard) ); $this->inactiveSubscribersNotice->init( Menu::isOnMailPoetAdminPage($excludeSetupWizard) ); $this->blackFridayNotice->init( Menu::isOnMailPoetAdminPage($excludeSetupWizard) ); $this->headersAlreadySentNotice->init( Menu::isOnMailPoetAdminPage($excludeSetupWizard) ); $this->emailWithInvalidListNotice->init( Menu::isOnMailPoetAdminPage($excludeSetupWizard) ); $this->changedTrackingNotice->init( Menu::isOnMailPoetAdminPage($excludeSetupWizard) ); $this->deprecatedFilterNotice->init( Menu::isOnMailPoetAdminPage($excludeSetupWizard) ); $this->disabledMailFunctionNotice->init( Menu::isOnMailPoetAdminPage($excludeSetupWizard) ); $this->disabledWPCronNotice->init( Menu::isOnMailPoetAdminPage($excludeSetupWizard) ); $this->pendingApprovalNotice->init( Menu::isOnMailPoetAdminPage($excludeSetupWizard) ); $this->woocommerceVersionWarning->init( Menu::isOnMailPoetAdminPage($excludeSetupWizard) ); $this->premiumFeaturesAvailableNotice->init( Menu::isOnMailPoetAdminPage($excludeSetupWizard) ); $excludeDomainAuthenticationNotices = [ 'mailpoet-settings', 'mailpoet-newsletter-editor', ...$excludeSetupWizard, ]; $this->senderDomainAuthenticationNotices->init( Menu::isOnMailPoetAdminPage($excludeDomainAuthenticationNotices) ); } public function ajaxDismissNoticeHandler() { if (!isset($_POST['type'])) return; switch ($_POST['type']) { case (PHPVersionWarnings::OPTION_NAME): $this->phpVersionWarnings->disable(); break; case (AfterMigrationNotice::OPTION_NAME): $this->afterMigrationNotice->disable(); break; case (BlackFridayNotice::OPTION_NAME): $this->blackFridayNotice->disable(); break; case (HeadersAlreadySentNotice::OPTION_NAME): $this->headersAlreadySentNotice->disable(); break; case (InactiveSubscribersNotice::OPTION_NAME): $this->inactiveSubscribersNotice->disable(); break; case (EmailWithInvalidSegmentNotice::OPTION_NAME): $this->emailWithInvalidListNotice->disable(); break; case (ChangedTrackingNotice::OPTION_NAME): $this->changedTrackingNotice->disable(); break; case (DisabledWPCronNotice::OPTION_NAME): $this->disabledWPCronNotice->disable(); break; case (DeprecatedFilterNotice::OPTION_NAME): $this->deprecatedFilterNotice->disable(); break; case (WooCommerceVersionWarning::OPTION_NAME): $this->woocommerceVersionWarning->disable(); break; case (PremiumFeaturesAvailableNotice::OPTION_NAME): $this->premiumFeaturesAvailableNotice->disable(); break; } } }
Fatal error: Uncaught Error: Class "MailPoet\Util\Notices\PermanentNotices" not found in /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php:2640 Stack trace: #0 /htdocs/wp-content/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Container.php(122): MailPoetGenerated\FreeCachedContainer->getInitializerService() #1 /htdocs/wp-content/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Container.php(110): MailPoetVendor\Symfony\Component\DependencyInjection\Container->make('MailPoet\\Config...', 1) #2 /htdocs/wp-content/plugins/mailpoet/lib/DI/ContainerWrapper.php(39): MailPoetVendor\Symfony\Component\DependencyInjection\Container->get('MailPoet\\Config...') #3 /htdocs/wp-content/plugins/mailpoet/mailpoet_initializer.php(89): MailPoet\DI\ContainerWrapper->get('MailPoet\\Config...') #4 /htdocs/wp-content/plugins/mailpoet/mailpoet.php(194): require_once('/htdocs/wp-cont...') #5 /htdocs/wp-settings.php(526): include_once('/htdocs/wp-cont...') #6 /htdocs/wp-config.php(85): require_once('/htdocs/wp-sett...') #7 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #8 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #9 /htdocs/index.php(17): require('/htdocs/wp-blog...') #10 {main} thrown in /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php on line 2640