cancel
Showing results for 
Search instead for 
Did you mean: 

Fatal error: Uncaught Error: Function name must be a string

Fatal error: Uncaught Error: Function name must be a string

Hi Sherrie,

I found the Maintainace.Flag file on our 1and1 hosting domain site and used FTP. I had deleted the file as advised but now I'm getting a fatal error:

Fatal error: Uncaught Error: Function name must be a string in /homepages/41/d606839977/htdocs/kuul/app/code/core/Mage/Core/Model/Layout.php:555 Stack trace: #0 /homepages/41/d606839977/htdocs/kuul/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput() #1 /homepages/41/d606839977/htdocs/kuul/app/code/core/Mage/Cms/Helper/Page.php(137): Mage_Core_Controller_Varien_Action->renderLayout() #2 /homepages/41/d606839977/htdocs/kuul/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'home') #3 /homepages/41/d606839977/htdocs/kuul/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'home') #4 /homepages/41/d606839977/htdocs/kuul/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->indexAction() #5 /homepages/41/d606839977/htdocs/kuul/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varie in /homepages/41/d606839977/htdocs/kuul/app/code/core/Mage/Core/Model/Layout.php on line 555
1 REPLY

Re: Fatal error: Uncaught Error: Function name must be a string

Hi , whatever activity was happening right before you saw the 503 error is what caused this one. Likely a newly installed extension or upgrade.

As the stack trace shows, there is a fatal error because the function name must be a string in /homepages/41/d606839977/htdocs/kuul/app/code/core/Mage/Core/Model/Layout.php.

That file along with the activity performed just before the 503 error should help you track down the issue and solution.
--

Community Manager, Magento
Problem solved? Click Accept as Solution!
Still stuck? Check out our documentation: https://magento.com/resources/technical