The locale '' is no known locale ************************************ File: vendor/magento/zendframework1/library/Zend/Locale/Format.php Line: 145 Caller: Zend_Locale_Format::_checkOptions Callee: Zend_Locale::findLocale Context: #require_once 'Zend/Locale/Exception.php'; throw new Zend_Locale_Exception("Enabling correction of dates must be either true or false" . "(fix_date='$value')."); } break; case 'locale' : $options['locale'] = Zend_Locale::findLocale($value); break; case 'cache' : if ($value instanceof Zend_Cache_Core) { Zend_Locale_Data::setCache($value); } break; *****************1****************** File: vendor/magento/zendframework1/library/Zend/Locale/Format.php Line: 1156 Caller: Zend_Locale_Format::getDate Callee: Zend_Locale_Format::_checkOptions Context: public static function getDate($date, array $options = array()) { $options = self::_checkOptions($options) + self::$_options; if (empty($options['date_format'])) { $options['format_type'] = 'iso'; $options['date_format'] = self::getDateFormat($options['locale']); } return self::_parseDate($date, $options); } *****************2****************** File: vendor/magento/zendframework1/library/Zend/Date.php Line: 2651 Caller: Zend_Date::_calculate Callee: Zend_Locale_Format::getDate Context: if (!is_numeric($date) || !empty($part)) { try { if (empty($part)) { $part = Zend_Locale_Format::getDateFormat($locale) . " "; $part .= Zend_Locale_Format::getTimeFormat($locale); } $parsed = Zend_Locale_Format::getDate($date, array('date_format' => $part, 'locale' => $locale, 'fix_date' => true, 'format_type' => 'iso')); if ((strpos(strtoupper($part), 'YY') !== false) and (strpos(strtoupper($part), 'YYYY') === false)) { $parsed['year'] = self::getFullYear($parsed['year']); } if (($calc == 'set') || ($calc == 'cmp')) { if (isset($parsed['month'])) { --$parsed['month']; } else { *****************3****************** File: vendor/magento/zendframework1/library/Zend/Date.php Line: 1088 Caller: Zend_Date::set Callee: Zend_Date::_calculate Context: if (self::$_options['format_type'] == 'php') { $part = Zend_Locale_Format::convertPhpToIsoFormat($part); } $zone = $this->getTimezoneFromString($date); $this->setTimezone($zone); $this->_calculate('set', $date, $part, $locale); return $this; } *****************4****************** File: vendor/magento/zendframework1/library/Zend/Date.php Line: 207 Caller: Zend_Date::__construct Callee: Zend_Date::set Context: $this->setTimezone($zone); } // set datepart if (($part !== null && $part !== self::TIMESTAMP) or (!is_numeric($date))) { // switch off dst handling for value setting $this->setUnixTimestamp($this->getGmtOffset()); $this->set($date, $part, $this->_locale); // DST fix if (is_array($date) === true) { if (!isset($date['hour'])) { $date['hour'] = 0; } $hour = $this->toString('H', 'iso', true); *****************5****************** File: vendor/mage2pro/core/Core/lib/date.php Line: 188 Caller: df_date_reset_time Callee: Zend_Date::__construct Context: function df_date_reset_time(ZD $date = null) { /** @var ZD $result */ $result = $date ? new ZD($date) : ZD::now(); return $result->setHour(0)->setMinute(0)->setSecond(0); } *****************6****************** File: vendor/mage2pro/core/Core/lib/date.php Line: 398 Caller: df_num_days Callee: df_date_reset_time Context: $date2 = df_date($date2); /** @var ZD $dateMin */ $dateMin = df_date_min($date1, $date2); /** @var ZD $dateMax */ $dateMax = df_date_max($date1, $date2); /** http://stackoverflow.com/a/3118478 */ /** @var Zend_Date $dateMinA */ $dateMinA = df_date_reset_time($dateMin); /** @var Zend_Date $dateMaxA */ $dateMaxA = df_date_reset_time($dateMax); /** * Zend_Date::sub() возвращает число в виде строки для Magento CE 1.4.0.1 * и объект класса Zend_Date для более современных версий Magento */ $dateMaxA->sub($dateMinA); return df_round($dateMaxA->toValue() / 86400); *****************7****************** File: vendor/mage2pro/core/Sales/Observer/OrderPlaceAfter.php Line: 28 Caller: Df\Sales\Observer\OrderPlaceAfter::execute Callee: df_num_days Context: function execute(O $o) { try { /** @var string $k */ /** @var string|false $v */ if (!($v = df_cache_load($k = md5(__METHOD__))) || df_num_days(df_date_parse($v, false))) { dfe_modules_log(); } df_cache_save(df_dts(), $k); } catch (\Zend_Locale_Exception $e) {} } *****************8****************** File: vendor/magento/framework/Event/Invoker/InvokerDefault.php Line: 73 Caller: Magento\Framework\Event\Invoker\InvokerDefault::_callObserverMethod Callee: Df\Sales\Observer\OrderPlaceAfter::execute Context: protected function _callObserverMethod($object, $observer) { if ($object instanceof \Magento\Framework\Event\ObserverInterface) { $object->execute($observer); } elseif ($this->_appState->getMode() == \Magento\Framework\App\State::MODE_DEVELOPER) { throw new \LogicException( sprintf( 'Observer "%s" must implement interface "%s"', get_class($object), 'Magento\Framework\Event\ObserverInterface' ) ); *****************9****************** File: vendor/magento/framework/Event/Invoker/InvokerDefault.php Line: 61 Caller: Magento\Framework\Event\Invoker\InvokerDefault::dispatch Callee: Magento\Framework\Event\Invoker\InvokerDefault::_callObserverMethod Context: } if (isset($configuration['shared']) && false === $configuration['shared']) { $object = $this->_observerFactory->create($configuration['instance']); } else { $object = $this->_observerFactory->get($configuration['instance']); } $this->_callObserverMethod($object, $observer); } *****************10***************** File: vendor/magento/framework/Event/Manager.php Line: 66 Caller: Magento\Framework\Event\Manager::dispatch Callee: Magento\Framework\Event\Invoker\InvokerDefault::dispatch Context: $event = new \Magento\Framework\Event($data); $event->setName($eventName); $wrapper = new Observer(); $wrapper->setData(array_merge(['event' => $event], $data)); \Magento\Framework\Profiler::start('OBSERVER:' . $observerConfig['name']); $this->_invoker->dispatch($observerConfig, $wrapper); \Magento\Framework\Profiler::stop('OBSERVER:' . $observerConfig['name']); } \Magento\Framework\Profiler::stop('EVENT:' . $eventName); } *****************11***************** File: var/generation/Magento/Framework/Event/Manager/Proxy.php Line: 95 Caller: Magento\Framework\Event\Manager\Proxy::dispatch Callee: Magento\Framework\Event\Manager::dispatch Context: public function dispatch($eventName, array $data = array()) { return $this->_getSubject()->dispatch($eventName, $data); } *****************12***************** File: vendor/magento/module-sales/Model/Order.php Line: 1061 Caller: Magento\Sales\Model\Order::place Callee: Magento\Framework\Event\Manager\Proxy::dispatch Context: public function place() { $this->_eventManager->dispatch('sales_order_place_before', ['order' => $this]); $this->_placePayment(); $this->_eventManager->dispatch('sales_order_place_after', ['order' => $this]); return $this; } *****************13***************** File: var/generation/Magento/Sales/Model/Order/Interceptor.php Line: 479 Caller: Magento\Sales\Model\Order::place Callee: Magento\Sales\Model\Order::place Context: public function place() { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'place'); if (!$pluginInfo) { return parent::place(); } else { return $this->___callPlugins('place', func_get_args(), $pluginInfo); } } *****************14***************** File: vendor/magento/module-sales/Model/Service/OrderService.php Line: 190 Caller: Magento\Sales\Model\Service\OrderService::place Callee: Magento\Sales\Model\Order::place Context: public function place(\Magento\Sales\Api\Data\OrderInterface $order) { // transaction will be here //begin transaction try { $order->place(); return $this->orderRepository->save($order); //commit } catch (\Exception $e) { throw $e; //rollback; } } *****************15***************** File: vendor/magento/module-quote/Model/QuoteManagement.php Line: 488 Caller: Magento\Quote\Model\QuoteManagement::submitQuote Callee: Magento\Sales\Model\Service\OrderService::place Context: 'sales_model_service_quote_submit_before', [ 'order' => $order, 'quote' => $quote ] ); try { $order = $this->orderManagement->place($order); $quote->setIsActive(false); $this->eventManager->dispatch( 'sales_model_service_quote_submit_success', [ 'order' => $order, 'quote' => $quote ] ); *****************16***************** File: vendor/magento/module-quote/Model/QuoteManagement.php Line: 391 Caller: Magento\Quote\Model\QuoteManagement::submit Callee: Magento\Quote\Model\QuoteManagement::submitQuote Context: public function submit(QuoteEntity $quote, $orderData = []) { if (!$quote->getAllVisibleItems()) { $quote->setIsActive(false); return null; } return $this->submitQuote($quote, $orderData); } *****************17***************** File: vendor/magento/module-quote/Model/QuoteManagement.php Line: 349 Caller: Magento\Quote\Model\QuoteManagement::placeOrder Callee: Magento\Quote\Model\QuoteManagement::submit Context: $quote->setCustomerEmail($quote->getBillingAddress()->getEmail()); $quote->setCustomerIsGuest(true); $quote->setCustomerGroupId(\Magento\Customer\Api\Data\GroupInterface::NOT_LOGGED_IN_ID); } $this->eventManager->dispatch('checkout_submit_before', ['quote' => $quote]); $order = $this->submit($quote); if (null == $order) { throw new LocalizedException( __('An error occurred on the server. Please try to place the order again.') ); } $this->checkoutSession->setLastQuoteId($quote->getId()); *****************18***************** File: vendor/mage2pro/core/Payment/PlaceOrderInternal.php Line: 34 Caller: Df\Payment\PlaceOrderInternal::_place Callee: Magento\Quote\Model\QuoteManagement::placeOrder Context: private function _place() { /** @var int $oid */ try { BA::disable(!$this->s()->requireBillingAddress()); try {$oid = df_quote_m()->placeOrder($this->qid());} finally {BA::restore();} } catch (\Exception $e) {throw new CouldNotSave(__($this->message($e)), $e);} return dfp_iia(df_order($oid), self::$REDIRECT_DATA); } *****************19***************** File: vendor/mage2pro/core/Payment/PlaceOrderInternal.php Line: 124 Caller: Df\Payment\PlaceOrderInternal::p Callee: Df\Payment\PlaceOrderInternal::_place Context: static function p($cartId, $isGuest) {return dfw_encode((new self($cartId, $isGuest))->_place());} *****************20***************** File: vendor/mage2pro/core/Payment/PlaceOrder.php Line: 65 Caller: Df\Payment\PlaceOrder::p Callee: Df\Payment\PlaceOrderInternal::p Context: private function p($isGuest, $cartId, ...$args) { /** @var IGuest|Guest|IRegistered|Registered $saver */ $saver = df_o($isGuest ? IGuest::class : IRegistered::class); $saver->savePaymentInformation($cartId, ...$args); return PlaceOrderInternal::p($cartId, $isGuest); } *****************21***************** File: vendor/mage2pro/core/Payment/PlaceOrder.php Line: 32 Caller: Df\Payment\PlaceOrder::guest Callee: Df\Payment\PlaceOrder::p Context: function guest($cartId, $email, IQP $qp, IQA $ba = null) {return $this->p( true, $cartId, $email, $qp, $ba );} *****************22***************** Caller: call_user_func_array Callee: Df\Payment\PlaceOrder::guest *****************23***************** File: vendor/magento/module-webapi/Controller/Rest.php Line: 307 Caller: Magento\Webapi\Controller\Rest::processApiRequest Callee: call_user_func_array Context: $route = $this->getInputParamsResolver()->getRoute(); $serviceMethodName = $route->getServiceMethod(); $serviceClassName = $route->getServiceClass(); $service = $this->_objectManager->get($serviceClassName); /** @var \Magento\Framework\Api\AbstractExtensibleObject $outputData */ $outputData = call_user_func_array([$service, $serviceMethodName], $inputParams); $outputData = $this->serviceOutputProcessor->process( $outputData, $serviceClassName, $serviceMethodName ); if ($this->_request->getParam(FieldsFilter::FILTER_PARAMETER) && is_array($outputData)) { $outputData = $this->fieldsFilter->filter($outputData); } *****************24***************** File: vendor/magento/module-webapi/Controller/Rest.php Line: 216 Caller: Magento\Webapi\Controller\Rest::dispatch Callee: Magento\Webapi\Controller\Rest::processApiRequest Context: $this->_request->setPathInfo($path); $this->areaList->getArea($this->_appState->getAreaCode()) ->load(\Magento\Framework\App\Area::PART_TRANSLATE); try { if ($this->isSchemaRequest()) { $this->processSchemaRequest(); } else { $this->processApiRequest(); } } catch (\Exception $e) { $maskedException = $this->_errorProcessor->maskException($e); $this->_response->setException($maskedException); } return $this->_response; } *****************25***************** File: var/generation/Magento/Webapi/Controller/Rest/Interceptor.php Line: 37 Caller: Magento\Webapi\Controller\Rest::dispatch Callee: Magento\Webapi\Controller\Rest::dispatch Context: public function dispatch(\Magento\Framework\App\RequestInterface $request) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'dispatch'); if (!$pluginInfo) { return parent::dispatch($request); } else { return $this->___callPlugins('dispatch', func_get_args(), $pluginInfo); } } *****************26***************** File: vendor/magento/framework/App/Http.php Line: 135 Caller: Magento\Framework\App\Http::launch Callee: Magento\Webapi\Controller\Rest::dispatch Context: public function launch() { $areaCode = $this->_areaList->getCodeByFrontName($this->_request->getFrontName()); $this->_state->setAreaCode($areaCode); $this->_objectManager->configure($this->_configLoader->load($areaCode)); /** @var \Magento\Framework\App\FrontControllerInterface $frontController */ $frontController = $this->_objectManager->get('Magento\Framework\App\FrontControllerInterface'); $result = $frontController->dispatch($this->_request); // TODO: Temporary solution until all controllers return ResultInterface (MAGETWO-28359) if ($result instanceof ResultInterface) { $this->registry->register('use_page_cache_plugin', true, true); $result->renderResult($this->_response); } elseif ($result instanceof HttpInterface) { $this->_response = $result; } else { throw new \InvalidArgumentException('Invalid return type'); *****************27***************** File: vendor/magento/framework/App/Bootstrap.php Line: 258 Caller: Magento\Framework\App\Bootstrap::run Callee: Magento\Framework\App\Http::launch Context: try { try { \Magento\Framework\Profiler::start('magento'); $this->initErrorHandler(); $this->initObjectManager(); $this->assertMaintenance(); $this->assertInstalled(); $response = $application->launch(); $response->sendResponse(); \Magento\Framework\Profiler::stop('magento'); } catch (\Exception $e) { \Magento\Framework\Profiler::stop('magento'); if (!$application->catchException($this, $e)) { throw $e; } } *****************28***************** File: pub/index.php Line: 39 Callee: Magento\Framework\App\Bootstrap::run Context: DirectoryList::MEDIA => [DirectoryList::URL_PATH => 'media'], DirectoryList::STATIC_VIEW => [DirectoryList::URL_PATH => 'static'], DirectoryList::UPLOAD => [DirectoryList::URL_PATH => 'media/upload'], ]; $bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $params); /** @var \Magento\Framework\App\Http $app */ $app = $bootstrap->createApplication('Magento\Framework\App\Http'); $bootstrap->run($app);