2016-08-04 56 views
0

我最近安装了PHP版本7.x的XAMPP。安装后,我已经配置了我的版本1.9.x的magento存储,并显示以下错误。Magento 1.9.x.x版本在PHP 7.x上运行

Fatal error: Uncaught Error: Function name must be a string in app/code/core/Mage/Core/Model/Layout.php:555

任何人都建议我解决它的解决方案。

+0

请联系Inchoo Magento 1.9.xx/PHP7项目。你有很多理由来掩饰,当你发现问题时,你可以帮助他们以换取他们广泛涉及他们已经找到的东西。 http://inchoo.net/magento/its-alive/和https://github.com/Inchoo/Inchoo_PHP7 –

+0

此外,magento.stackexchange.com => https://magento.stackexchange.com中更多相关的主题/ questions/74008/is-magento-ready-for-php-7/95687#95687 –

回答

0

Magento的1.x中不与PHP 7.

该特定错误可被固定完全兼容,通过从覆盖Mage_Core_Model_Layout和变更线555:

$out .= $this->getBlock($callback[0])->$callback1;

$out .= $this->getBlock($callback[0])->{$callback 1 }();

Please Refer this link for more Information:

+0

谢谢,它为我工作。 –