Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 1 of 2
Fatal error: Call to undefined method Mage_Adminhtml_Block_Widget::getrowurl()
 
hippoglollum
Sr. Member
 
Total Posts:  97
Joined:  2010-04-07
 

Fatal error: Call to undefined method Mage_Adminhtml_Block_Widget::getrowurl() in [magentohome]/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php on line 1607

I get this error in backend when i go to category management and system->notifications

Tried to cancel cache, reindex and overwrite [magentohome]/app/code/core/ files…

I tried the upgrade from 1.4.1.1 to 1.4.2.0 via MagentoConnect.

Can someone help me?

 
Magento Community Magento Community
Magento Community
Magento Community
 
areve
Jr. Member
 
Total Posts:  5
Joined:  2010-05-21
 

A (temporary) fix has been posted in the bug tracker: http://www.magentocommerce.com/bug-tracking/issue?issue=10447

If you have access to the files, you can add

public function getRowUrl($row)
{
return $this->getUrl(’*/*/edit’, array(’instance_id’ => $row->getId()));
}

to app/code/core/Mage/Core/Block/Template.php (line 320).

I used this as a quick fix to at least get my backend working. Not sure if that’s where they want to declare that method.

 
Magento Community Magento Community
Magento Community
Magento Community
 
hippoglollum
Sr. Member
 
Total Posts:  97
Joined:  2010-04-07
 

Many many thanks!!!!

It works!!!! :-D

 
Magento Community Magento Community
Magento Community
Magento Community
 
Multidots
Jr. Member
 
Total Posts:  6
Joined:  2010-11-25
 

Hey… Thanks a lot. This worked for me as well!

 
Magento Community Magento Community
Magento Community
Magento Community
 
B00MER
Sr. Member
 
Total Posts:  130
Joined:  2007-12-27
DFW, TX
 

Running PHP 5.2.6 with Magento CE 1.4.2 caused this issue for me upgrading to 5.2.16 fixed this, according to Magneto requirements you need to be running at least 5.2.13+ hence the oddities.

http://www.magentocommerce.com/bug-tracking/issue?issue=10447

http://www.magentocommerce.com/system-requirements

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ben Hunt
Jr. Member
 
Total Posts:  1
Joined:  2010-03-24
 

Hi, is there a way to install 5.2.16 or 5.2.13+ as a cgi as per the (very old) instructions that can be found at the link below. Where would i find a current 5.2.16 cgi binary to replace the php5-cgi in my cgi-bin folder?

http://www.magentocommerce.com/knowledge-base/entry/installing-magento-on-a-php4-server

Ben

 
Magento Community Magento Community
Magento Community
Magento Community
 
aharperju
Jr. Member
 
Total Posts:  10
Joined:  2010-08-28
 

Is the code ‘*/*/edit’ correct? I got error when applying this code. I tried with:

return $this->getUrl(’’, array(’instance_id’ => $row->getId()));

But the editor is gone when I click on Catalog - Manage Categories.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Martinvdv
Jr. Member
 
Total Posts:  15
Joined:  2009-09-28
 

Read this for the solution that workes for me:
http://naveenos.com/2011/01/fatal-error-call-to-undefined-method-mage_adminhtml_block_widgetgetrowurl-in-magneto-1-4-2/

 
Magento Community Magento Community
Magento Community
Magento Community
 
M3L1
Jr. Member
 
Avatar
Total Posts:  17
Joined:  2011-01-20
 

http://www.naveenos.com/2011/01/fatal-error-call-to-undefined-method-mage_adminhtml_block_widgetgetrowurl-in-magneto-1-4-2/

Worked for me and was super easy!

 
Magento Community Magento Community
Magento Community
Magento Community
 
chopki
Jr. Member
 
Total Posts:  20
Joined:  2010-06-01
 

I had this issue on Magento CE 1.4.2 on the category page (only when there was actually products associated with categories) and was running PHP 5.2.6.

I have since upgraded my PHP to 5.3.2 and this error is no longer appearing.

 
Magento Community Magento Community
Magento Community
Magento Community
 
developerindia
Member
 
Total Posts:  58
Joined:  2009-06-25
 

got the solution from here:

http://www.justwebdevelopment.com/blog/2011/04/14/call-to-undefined-method-mage-adminhtml-block-widgetgetrowurl/

 
Magento Community Magento Community
Magento Community
Magento Community
 
rbrackett
Jr. Member
 
Total Posts:  1
Joined:  2011-02-10
 

AWESOME!!! MANY THANKS!

 
Magento Community Magento Community
Magento Community
Magento Community
 
RamRamM
Jr. Member
 
Total Posts:  7
Joined:  2011-10-10
 

Fatal error: Call to undefined method Mage_Adminhtml_Block_Widget::getrowurl() in [magentohome]/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php

If you getting blank pages or fatal errors on MANAGE CATEGORIES page, then here is the solution :
Go To app/code/core/Mage/Adminhtml/Block/Widget/Grid.php

Search function getRowUrl in the file.
public function getRowUrl($item)
{
$res = parent::getRowUrl($item);
return ($res ? $res : ‘#’);
}

Replace this function with below function:
public function getRowUrl($row)
{
return $this->getUrl(’*/*/edit’, array(’instance_id’ => $row->getId()));
}

 
Magento Community Magento Community
Magento Community
Magento Community
 
adrianosilva
Jr. Member
 
Total Posts:  1
Joined:  2011-10-21
 

worked .. able to access the administration category with this code .. but can not access the information of the categories to edit .. but can be another problem ..

 
Magento Community Magento Community
Magento Community
Magento Community
 
zafarshaikh92
Jr. Member
 
Total Posts:  7
Joined:  2012-01-10
India
 

Hi,
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 : ‘#’);
}

Magento Development India | Web development India

 
Magento Community Magento Community
Magento Community
Magento Community
 
oe_eduardo
Jr. Member
 
Avatar
Total Posts:  29
Joined:  2011-02-03
London
 

Hi,

I am on 1.7 after 6 hrs of geting crazy same problem same solution

Local enviorment: work perfect no problem

Remote Server with similar specifications
If i go to the Category page the page is not finishing to load
If i go to the manage stores the page is not finishing to load

I went to:
\app\code\core\Mage\Adminhtml\Block\Widget\Grid.php

replace getRowUrl for get Url and perfecto!!!

Working again

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 1 of 2