1

I am new in Magento and in Magento (Magento ver. 1.9.3.2), it show Exception of

Invalid block type: Mage_Adminhtml_Block_Sales_Order_Totals_Subtotal(in exception.log)

And reason of that Exception Order Totals, Refund Totals and other things not show in admin.

enter image description here

2017-11-29T04:56:07+00:00 ERR (3):  Mage_Core_Exception: Invalid block type: Mage_Adminhtml_Block_Sales_Order_Totals_Subtotal in /var/www/vhosts/bsus.es/wehn.bsus.es/app/Mage.php:595 Stack trace: 0 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(28754): Mage::throwException('Invalid block t...') 1 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(28696): Mage_Core_Model_Layout->_getBlockInstance('Mage_Adminhtml_...', Array) 2 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(28731): Mage_Core_Model_Layout->createBlock('adminhtml/sales...', 'subtotal') 3 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(28498): Mage_Core_Model_Layout->addBlock('adminhtml/sales...', 'subtotal') 4 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(28464): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element)) 5 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(28465): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element)) 6 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(28465): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element)) 7 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(28465): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element)) 8 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(28465): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element)) 9 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(28465): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element)) 10 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(28469): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element)) 11 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(14260): Mage_Core_Model_Layout->generateBlocks() 12 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(14185): Mage_Core_Controller_Varien_Action->generateLayoutBlocks() 13 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/Mage_Adminhtml_Controller_Action.php(275): Mage_Core_Controller_Varien_Action->loadLayout(NULL, true, true) 14 /var/www/vhosts/bsus.es/wehn.bsus.es/app/code/core/Mage/Adminhtml/controllers/Sales/Order/CreditmemoController.php(233): Mage_Adminhtml_Controller_Action->loadLayout() 15 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(14334): Mage_Adminhtml_Sales_Order_CreditmemoController->newAction() 16 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(18813): Mage_Core_Controller_Varien_Action->dispatch('new') 17 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(18343): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) 18 /var/www/vhosts/bsus.es/wehn.bsus.es/includes/src/__default.php(21279): Mage_Core_Controller_Varien_Front->dispatch() 19 /var/www/vhosts/bsus.es/wehn.bsus.es/app/Mage.php(683): Mage_Core_Model_App->run(Array) 20 /var/www/vhosts/bsus.es/wehn.bsus.es/index.php(83): Mage::run('', 'store') 21 {main}

any help or suggestion will be appreciated

0

1 Answer 1

0

Seems like error is about compilation. Please disable compilation and enable it again. System->Tools->Compilation

3
  • no nothing change : prntscr.com/hgn5nz
    – JON
    Commented Nov 29, 2017 at 5:35
  • <?php echo $this->getChildHtml('creditmemo_totals') ?> show null in app\design\adminhtml/default/default/template/sales/order/creditmemo/create/items.phtml do you have any idea about it ?
    – JON
    Commented Nov 29, 2017 at 7:45
  • make sure you have define 'creditmemo_totals' reference in xml file.
    – Meetanshi
    Commented Nov 29, 2017 at 8:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.