首页 文章

不推荐使用:不推荐使用__autoload(),在magento cd 1.9上使用spl_autoload_register()

提问于
浏览
-2

不推荐使用:不推荐使用__autoload(),而是在第60行的C:\ xampp \ htdocs \ magento \ app \ code \ core \ Mage \ Core \ functions.php中使用spl_autoload_register()

致命错误:未捕获错误:函数名称必须是C:\ xampp \ htdocs \ magento \ app \ code \ core \ Mage \ Core \ Model \ Layout.php中的字符串:555堆栈跟踪:#0 C:\ xampp \ htdocs \ magento \ app \ code \ core \ Mage \ Core \ Controller \ Varien \ Action.php(390):Mage_Core_Model_Layout-> getOutput()#1 C:\ xampp \ htdocs \ magento \ app \ code \ core \ Mage \ Install \ controllers \ WizardController.php(120):Mage_Core_Controller_Varien_Action-> renderLayout()#2 C:\ xampp \ htdocs \ magento \ app \ code \ core \ Mage \ Core \ Controller \ Varien \ Action.php(418):Mage_Install_WizardController- > beginAction()#3 C:\ xampp \ htdocs \ magento \ app \ code \ core \ Mage \ Core \ Controller \ Varien \ Router \ Standard.php(250):Mage_Core_Controller_Varien_Action-> dispatch('begin')#4 C :\ xampp \ htdocs \ magento \ app \ code \ core \ Mage \ Core \ Controller \ Varien \ Front.php(172):Mage_Core_Controller_Varien_Router_Standard-> match(Object(Mage_Core_Controller_Request_Http))#5 C:\ xampp \ htdocs \ magento \ app \ code \ core \ Mage \ Core \ Model \ App.php(354):Mage_Core_Controller_Varien_Front-> dispatch()#6 C:\ xampp \ h tdocs \ magento \ app \ Mage.php(683):第555行的C:\ xampp \ htdocs \ magento \ app \ code \ core \ Mage \ Core \ Model \ Layout.php中的法师

1 回答

  • 0

    你需要切换你的PHP版本 . Magento不使用PHP 7.2 .

    它正式支持PHP 5.6 .

相关问题