Fatal error: Call to a member function start() on boolean in /media/Work/Server/konzeptual.local/app/code/core/Mage/Core/Controller/Varien/Action.php on line 493

Line 493:

$session = Mage::getSingleton('core/session', array('name' => $this->_sessionNamespace))->start();

Screenshot: https://i.stack.imgur.com/3wkwk.png


Mage::getSingleton('core/session', ....) === false !

Try this in a separate file... (Like a PhpUnit Test)

var_export(['Object?' => is_object(Mage::getSingleton('core/session'))]);

Now look if you get a object. Then, if it's a NO just look what name Magento is trying to load, like: "Amasty_CrappyModule/session". Then your problem is a re-write that can't be found. If it's looking for: Mage_Core_Model_Session then check the file for existence.

|improve this answer|||||
  • Also: Flush cache and turn off compilation. – Roger Getnoticed Dec 12 '17 at 16:04
  • array ( 'Object?' => false, ) - in test Cache off, Compilation off – Pavel Dec 13 '17 at 7:17
  • Perfect this is what we expected. Thus we understand the message of the exception clearly. Now the next test will reveal witch classname Magento actually tries to load given the name 'core/session'. Now add the next line to the var_export in the test: 'classname?' => Mage::getConfig()->getModelClassName('core/session'). If it's Mage_Core_Model_Session check if the file exists and can be loaded. – Roger Getnoticed Dec 14 '17 at 11:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.