tags:

views:

64

answers:

3

Hello,

i have a mutisotre setup magento and each store has its own domain . since i upgrade to magento 1.4 i am getting error in my cart page ,suppose if you add a item to cart and try to check out ,you will see unit price and subtotal is not pulling up and i am gettign following error . i dont have any idea why is this hapning .Any help would be appreciated.

web link : dev.comitstore.com

error you will see when you reach : http://dev.comitstores.com/checkout/cart/

Note : At backend everything is set appropriately like price, inventory, Tax .

Error :

Fatal error: Call to a member function getGrandTotal() on a non-object in /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Tax/Block/Checkout/Grandtotal.php

A: 

I think you should install xdebug so that you could have a stack trace instead of only one helpless line. This would certainly give you the name of a template you need to rewrite accordingly to 1.4 .

greg0ire
A: 

greg0ire,

i do have xdebug now but i dont know hoe to use . still struggling with above error .

manu
Hello, I did not see you answered until the downvote. You should have added a comment to my answer.
greg0ire
A: 

here is my stack trace :

exception 'Mage_Core_Exception' with message 'Invalid block type: Mage_CatalogInventory_Block_Qtyincrements' in /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/Mage.php:550 Stack trace:

0 /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Core/Model/Layout.php(469): Mage::throwException('Invalid block t...')

1 /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Core/Model/Layout.php(411): Mage_Core_Model_Layout->_getBlockInstance('cataloginventor...', Array)

2 /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Core/Model/Layout.php(446): Mage_Core_Model_Layout->createBlock('cataloginventor...', 'product.info.ex...')

3 /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Core/Model/Layout.php(238): Mage_Core_Model_Layout->addBlock('cataloginventor...', 'product.info.ex...')

4 /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Core/Model/Layout.php(204): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))

5 /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Core/Model/Layout.php(209): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))

6 /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(343): Mage_Core_Model_Layout->generateBlocks()

7 /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Catalog/controllers/ProductController.php(115): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()

8 /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Catalog/controllers/ProductController.php(149): Mage_Catalog_ProductController->_initProductLayout(Object(Mage_Catalog_Model_Product))

9 /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_ProductController->viewAction()

10 /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')

11 /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(177): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))

12 /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch()

13 /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/app/Mage.php(596): Mage_Core_Model_App->run(Array)

14 /var/www/vhosts/comitstores.com/subdomains/dev/httpdocs/index.php(87): Mage::run()

15 {main}

manu
This is not an answer, it should be in your first post. Edit your question paste the stack trace as a quote (what you selected is too big, it is unreadable), then delete this answer
greg0ire