Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unserialization: Unknown or bad timezone () #8337

Open
asim-vax opened this issue Oct 3, 2018 · 1 comment
Open

unserialization: Unknown or bad timezone () #8337

asim-vax opened this issue Oct 3, 2018 · 1 comment

Comments

@asim-vax
Copy link

asim-vax commented Oct 3, 2018

Believed to be fixed in 3.26.0 - #7270 , however still seeing the issue on magento application

HHVM Version

HipHop VM 3.28.3 (rel)

Operating System and Version

ubuntu 18.04.01 LTS

cat 236938917403
a:5:{i:0;s:55:"DateTimeZone::__construct(): Unknown or bad timezone ()";i:1;s:2366:"#0 /[path]/app/code/local/Mage/Core/Model/Session/Abstract/Varien.php(135): DateTime->__wakeup()
#1 /[path]/app/code/local/Mage/Core/Model/Session/Abstract/Varien.php(227): Mage_Core_Model_Session_Abstract_Varien->start()
#2 /[path]/app/code/core/Mage/Core/Model/Session/Abstract.php(84): Mage_Core_Model_Session_Abstract_Varien->init()
#3 /[path]/app/code/community/Nexcessnet/Turpentine/Model/Core/Session.php(26): Mage_Core_Model_Session_Abstract->init()
#4 /[path]/app/code/core/Mage/Core/Model/Config.php(1357): Nexcessnet_Turpentine_Model_Core_Session->__construct()
#5 /[path]/app/Mage.php(474): Mage_Core_Model_Config->getModelInstance()
#6 /[path]/app/Mage.php(488): Mage::getModel()
#7 /[path]/app/code/core/Mage/Core/Controller/Varien/Action.php(493): Mage::getSingleton()
#8 /[path]/app/code/core/Mage/Core/Controller/Front/Action.php(69): Mage_Core_Controller_Varien_Action->preDispatch()
#9 /[path]/app/code/core/Mage/Core/Controller/Varien/Action.php(407): Mage_Core_Controller_Front_Action->preDispatch()
#10 /[path]/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch()
#11 /[path]/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match()
#12 /[path]/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#13 /[path]/app/Mage.php(695): Mage_Core_Model_App->run()
#14 /[path]/index.php(113): Mage::run()

Actual result

page crashes. magento report generated

Expected result

No error thrown, page displayed

@fredemmott
Copy link
Contributor

Do you have an isolated example, ideally PHP core that creates a DateTimeZone that can not be serialized-then-unserialized, or second best, the actual serialized time zone?

In general, we're not going to be able to investigate a report that requires installing and configuring a framework/cms/website.

@fredemmott fredemmott changed the title Unknown or bad timezone () unserialization: Unknown or bad timezone () Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants