Magento Forum

   
Fatal error: Call to a member function getData()
 
nkdineshdct
Member
 
Avatar
Total Posts:  66
Joined:  2008-08-29
India
 

I want to display the Order total block in my custom module which is like sales/order. when i use the code in my .phtml file

<?php echo $this->displayPriceAttribute('grand_total'true?>
to display the grand total it gives the fatal error. i have extended the abstract class in my .php file, but still it show the fatal error.

Fatal error: Call to a member function getData() on a non-object in E:\Program Files\Apache Group\Apache2\htdocs\Projects\nikhil\app\code\core\Mage\Adminhtml\Block\Sales\Order\Abstract.php on line 67

very urgent, can some one help.

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top