Home >Backend Development >PHP Tutorial >Solve Magento error: Fatal error: Call to undefined method_PHP tutorial

Solve Magento error: Fatal error: Call to undefined method_PHP tutorial

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

This article introduces the solution to Fatal error: Call to undefined method Mage_Adminhtml_Block_Abstract::getexceptions(). Friends who have encountered such problems can refer to it.

Magento encountered an error when importing products:

“Fatal error : Call to undefined method Mage_Adminhtml_Block_Abstract::getexceptions() in appcodecoreMageAdminhtmlBlockSystemConvertProfileRun.php on line 167 ”
The current Magento version used is Magento1.5.1.

Solution:

Find the file "appcodecoreMageAdminhtmlBlockSystemConvertProfileRun.php"

Comment out lines #167 - #168, like

// if (!is_null(parent::getExceptions()))
// return parent::getExceptions();
Comment out line #197,

// parent::setExceptions($exceptions);
After saving, re-import the Magento product and the error will disappear.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632219.htmlTechArticleThis article introduces the solution to Fatal error: Call to undefined method Mage_Adminhtml_Block_Abstract::getexceptions(), which has been encountered Friends who have this kind of problem can refer to it. 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