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

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