cancel
Showing results for 
Search instead for 
Did you mean: 

Fatal error: Call to a member function setArea() on boolean

Fatal error: Call to a member function setArea() on boolean

Hello,

I installed the magento version 1.9.2.4, after following the normal procedure you can not access either backend or frontend because it returns the following error:

backend:

Fatal error: Call to a member Function setArea () on boolean in /app/code/core/Mage/Adminhtml/Controller/Action.php on line 157

frontend:

Fatal error: Call to a member function setArea () on boolean in /app/code/core/Mage/Core/Controller/Front/Action.php on line 67


What can you do to fix this problem ??

1 REPLY

Re: Fatal error: Call to a member function setArea() on boolean

Magento 1.x doesn't support PHP 7, at least not officially. There's however an unofficial patch to remedy this problem:

 

https://github.com/Inchoo/Inchoo_PHP7

 

 

Tanel Raja