Know Magento

yet another magento blog

Category Archives: Fatal Errors

Fatal error: Call to undefined method Mage_Adminhtml_Block_Widget::getrowurl() in Magento

After installing fresh copy of  Magento CE 1.5.1.0-stable I encountered a “Fatel error” when I tried to manage categories in Admin end.

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

After some brain storming and search I was able to fix the error. Following are the steps you have to follow.

  1. Open file app/code/core/Mage/Adminhtml/Block/Widget/Grid.php
  2. Locate function getRowUrl in the file
  3. Change the line from $res = parent::getRowUrl($item);  to $res = parent::getUrl($item);
  4. Save the file

I hope this will save lots of time for many people who are new to Magento