Call to undefined method Mage_Adminhtml_Block_Widget::getrowurl

April 14, 2011 | In: Magento

If you install new magento or upgrade your magento with latest version or you got the error like below:

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

Read this for the solution that workes for me:

Go To app/code/core/Mage/Adminhtml/Block/Widget/Grid.php

Look at on line no 1620 on magento 1.5.01

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

And replace this line $res = parent::getRowUrl($item); to $res = parent::getUrl($item);

So your new function look like this:

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

Comments

comments

Powered by Facebook Comments

Related Posts



1 Response to Magento Development Services

Avatar

how to lose belly fat

May 31st, 2013 at 8:40 am

Hello There. I found your weblog using msn. That is a really well
written article. I will be sure to bookmark it and return
to learn extra of your helpful information.
Thank you for the post. I’ll certainly comeback.

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

 

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>