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

WBOY
Release: 2016-07-13 10:55:36
Original
1485 people have browsed it

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...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!