Home  >  Article  >  Backend Development  >  解决Magento报错:Fatal error: Call to undefined method_PHP教程

解决Magento报错:Fatal error: Call to undefined method_PHP教程

WBOY
WBOYOriginal
2016-07-13 10:55:361395browse

本文章介绍关于Fatal error: Call to undefined method Mage_Adminhtml_Block_Abstract::getexceptions() 的解决办法,有碰到此类问题的朋友可以参考一下。

Magento在产品导入的时候出现错误:

“Fatal error : Call to undefined method Mage_Adminhtml_Block_Abstract::getexceptions() in appcodecoreMageAdminhtmlBlockSystemConvertProfileRun.php on line 167 ”
当前用的Magento版本Magento1.5.1。

解决办法:

找到文件“appcodecoreMageAdminhtmlBlockSystemConvertProfileRun.php ”

注释掉#167 - #168行 ,像

// if (!is_null(parent::getExceptions()))
//    return parent::getExceptions();
注释掉#197行 ,

//    parent::setExceptions($exceptions);
保存后重新导入Magento产品即可,报错消失。

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/632219.htmlTechArticle本文章介绍关于Fatal error: Call to undefined method Mage_Adminhtml_Block_Abstract::getexceptions() 的解决办法,有碰到此类问题的朋友可以参考一下。 Magen...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn