cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.1 site down, generating report (datefmt_create). Please help!

Magento 2.3.1 site down, generating report (datefmt_create). Please help!

Our website has suddenly stopped, and generating reports.

 

Untitled-1d.jpg

We have tried to clear the static files and flush the cache, and nothing helps :-(

{"0":"datefmt_create: no such time zone: 'UTC': U_ILLEGAL_ARGUMENT_ERROR","1":"<pre>
#1 Magento\\Framework\\Stdlib\\DateTime\\Timezone->getDateFormat() called at [vendor\/magento\/framework\/Stdlib\/DateTime\/Filter\/Date.php:50]
#2 Magento\\Framework\\Stdlib\\DateTime\\Filter\\Date->__construct() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:116]
#3 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->createObject() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Compiled.php:108]
#4 Magento\\Framework\\ObjectManager\\Factory\\Compiled->create() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Compiled.php:150]
#5 Magento\\Framework\\ObjectManager\\Factory\\Compiled->get() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Compiled.php:79]
#6 Magento\\Framework\\ObjectManager\\Factory\\Compiled->create() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Compiled.php:150]
#7 Magento\\Framework\\ObjectManager\\Factory\\Compiled->get() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Compiled.php:79]
#8 Magento\\Framework\\ObjectManager\\Factory\\Compiled->create() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Compiled.php:150]
#9 Magento\\Framework\\ObjectManager\\Factory\\Compiled->get() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Compiled.php:79]
#10 Magento\\Framework\\ObjectManager\\Factory\\Compiled->create() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Compiled.php:150]
#11 Magento\\Framework\\ObjectManager\\Factory\\Compiled->get() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Compiled.php:79]
#12 Magento\\Framework\\ObjectManager\\Factory\\Compiled->create() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Compiled.php:150]
#13 Magento\\Framework\\ObjectManager\\Factory\\Compiled->get() called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Compiled.php:79]
#14 Magento\\Framework\\ObjectManager\\Factory\\Compiled->create() called at [vendor\/magento\/framework\/ObjectManager\/ObjectManager.php:70]
#15 Magento\\Framework\\ObjectManager\\ObjectManager->get() called at [vendor\/magento\/framework\/Interception\/PluginList\/PluginList.php:250]
#16 Magento\\Framework\\Interception\\PluginList\\PluginList->getPlugin() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:119]
#17 Magento\\Cms\\Controller\\Index\\Index\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]
#18 Magento\\Cms\\Controller\\Index\\Index\\Interceptor->___callPlugins() called at [generated\/code\/Magento\/Cms\/Controller\/Index\/Index\/Interceptor.php:26]
#19 Magento\\Cms\\Controller\\Index\\Index\\Interceptor->dispatch() called at [vendor\/magento\/framework\/App\/FrontController.php:159]
#20 Magento\\Framework\\App\\FrontController->processRequest() called at [vendor\/magento\/framework\/App\/FrontController.php:99]
#21 Magento\\Framework\\App\\FrontController->dispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58]
#22 Magento\\Framework\\App\\FrontController\\Interceptor->___callParent() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138]
#23 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/module-store\/App\/FrontController\/Plugin\/RequestPreprocessor.php:94]
#24 Magento\\Store\\App\\FrontController\\Plugin\\RequestPreprocessor->aroundDispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:135]
#25 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/module-page-cache\/Model\/App\/FrontController\/BuiltinPlugin.php:73]
#26 Magento\\PageCache\\Model\\App\\FrontController\\BuiltinPlugin->aroundDispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:135]
#27 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [app\/code\/Infortis\/Cgen\/Plugin\/Magento\/Framework\/App\/FrontController.php:32]
#28 Infortis\\Cgen\\Plugin\\Magento\\Framework\\App\\FrontController->aroundDispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:135]
#29 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]
#30 Magento\\Framework\\App\\FrontController\\Interceptor->___callPlugins() called at [generated\/code\/Magento\/Framework\/App\/FrontController\/Interceptor.php:26]
#31 Magento\\Framework\\App\\FrontController\\Interceptor->dispatch() called at [vendor\/magento\/framework\/App\/Http.php:136]
#32 Magento\\Framework\\App\\Http->launch() called at [vendor\/magento\/framework\/App\/Bootstrap.php:258]
#33 Magento\\Framework\\App\\Bootstrap->run() called at [index.php:39]<\/pre>","url":"\/","script_name":"\/index.php"}
1 REPLY 1

Re: Magento 2.3.1 site down, generating report (datefmt_create). Please help!

Hi @Alldo Group 

 

You can use one of these solutions,

 

1. This is a normal message that is always added to the page with reports.

     If it irritates you, you can remove it from the layout              (app/design/adminhtml/default/default/layout/sales.xml

   and app/design/adminhtml/default/default/layout/report.xml).

It will be no any problems for you if you have set up timezone and doesn’t change it. If your reports don’t work, it is another problem. Exactly can say that before viewing reports, you should update the statistics if it is outdated

 

2.  Even though the notice saying 'This report depends on timezone configuration. Once timezone is changed, the lifetime statistics need to be refreshed. Last updated: 15/10/2013 12:25:34. To refresh last day's statistics, click here.' claims to refresh statistics, it does NOT. The proper way to get it to work is by going to Reports->Refresh Statistics from the Admin Panel. Then all there is to do is selecting all items and refreshing them.

That is a neat solution that, unlike many others, avoid touching Magento's code.

 

 ------------------------------------------------
If you've found one of my answers useful, please give"Kudos" or "Accept as Solution"