ourOffset) { return static::createFromMinuteOffset($hourOffset * Carbon::MINUTES_PER_HOUR); } public static function createFromMinuteOffset(float $minuteOffset) { return static::instance(static::getOffsetNameFromMinuteOffset($minuteOffset)); } public static function getOffsetNameFromMinuteOffset(float $minutes) : string { $minutes = \round($minutes); $unsignedMinutes = \abs($minutes); return ($minutes < 0 ? '-' : '+') . \str_pad((string) \floor($unsignedMinutes / 60), 2, '0', \STR_PAD_LEFT) . ':' . \str_pad((string) ($unsignedMinutes % 60), 2, '0', \STR_PAD_LEFT); } }
Fatal error: Uncaught Error: Class "MailPoetVendor\Carbon\CarbonTimeZone" not found in /htdocs/wp-content/plugins/mailpoet/vendor-prefixed/nesbot/carbon/src/Carbon/Traits/Date.php:619 Stack trace: #0 /htdocs/wp-content/plugins/mailpoet/vendor-prefixed/nesbot/carbon/src/Carbon/Traits/Date.php(1483): MailPoetVendor\Carbon\Carbon::safeCreateDateTimeZone(NULL) #1 /htdocs/wp-content/plugins/mailpoet/vendor-prefixed/nesbot/carbon/src/Carbon/Traits/Timestamp.php(8): MailPoetVendor\Carbon\Carbon->setTimezone(NULL) #2 /htdocs/wp-content/plugins/mailpoet/lib/Doctrine/EventListeners/TimestampListener.php(22): MailPoetVendor\Carbon\Carbon::createFromTimestamp(1735398220) #3 /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(3266): MailPoet\Doctrine\EventListeners\TimestampListener->__construct(Object(MailPoet\WP\Functions)) #4 /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(3226): MailPoetGenerated\FreeCachedContainer->getTimestampListenerService() #5 /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(646): MailPoetGenerated\FreeCachedContainer->getEntityManagerFactoryService() #6 /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(4908): MailPoetGenerated\FreeCachedContainer->getEntityManagerService() #7 /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(4898): MailPoetGenerated\FreeCachedContainer->getSettingsRepositoryService() #8 /htdocs/wp-content/plugins/mailpoet/generated/FreeCachedContainer.php(2633): MailPoetGenerated\FreeCachedContainer->getSettingsController2Service() #9 /htdocs/wp-content/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Container.php(122): MailPoetGenerated\FreeCachedContainer->getInitializerService() #10 /htdocs/wp-content/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Container.php(110): MailPoetVendor\Symfony\Component\DependencyInjection\Container->make('MailPoet\\Config...', 1) #11 /htdocs/wp-content/plugins/mailpoet/lib/DI/ContainerWrapper.php(39): MailPoetVendor\Symfony\Component\DependencyInjection\Container->get('MailPoet\\Config...') #12 /htdocs/wp-content/plugins/mailpoet/mailpoet_initializer.php(89): MailPoet\DI\ContainerWrapper->get('MailPoet\\Config...') #13 /htdocs/wp-content/plugins/mailpoet/mailpoet.php(194): require_once('/htdocs/wp-cont...') #14 /htdocs/wp-settings.php(526): include_once('/htdocs/wp-cont...') #15 /htdocs/wp-config.php(85): require_once('/htdocs/wp-sett...') #16 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #17 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #18 /htdocs/index.php(17): require('/htdocs/wp-blog...') #19 {main} thrown in /htdocs/wp-content/plugins/mailpoet/vendor-prefixed/nesbot/carbon/src/Carbon/Traits/Date.php on line 619