Home >Backend Development >PHP Tutorial >Solve Magento error: Fatal error: Call to undefined method_PHP tutorial
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.