Magento 1.5.1.0 Call to undefined method Mage_Adminhtml_Block_Widget::getrowurl() 2 comments


Fatal error: Call to undefined method Mage_Adminhtml_Block_Widget::getrowurl() in \app\code\core\Mage\Adminhtml\Block\Widget\Grid.php on line 1622

I think this is bug in Magento Version 1.5.1.0
To solve this
Go To app/code/core/Mage/Adminhtml/Block/Widget/Grid.php


public function getRowUrl($item)
{ 
$res = parent::getRowUrl($item); return ($res ? $res : ‘#’); 
}

replace with this one.  

public function getRowUrl($item) 
{ 
$res = parent::getUrl($item); return ($res ? $res : ‘#’); 
}

Share on Facebook




About Pragnesh Karia

Pragnesh Karia, Open Source Enthusiast, Software Professional, Software Developer, Technical Lead ,Magento, Joomla ,Joomla LMS , Moodel LMS ,PHP ,Mysql, Ajax, Javascript, Jquery, Linux, Fan of Open Sources , Annet Technologies , SEO Analyst , Mootools


2 thoughts on “Magento 1.5.1.0 Call to undefined method Mage_Adminhtml_Block_Widget::getrowurl()