cancel
Showing results for 
Search instead for 
Did you mean: 

Exception printing is disabled by default for security reasons error

Exception printing is disabled by default for security reasons error

i have tried everything to sort this but it wont work please can someone help me guaide me through what to do please its doing it everytime i go to print invoice in the frontend and can do it      There has been an error processing your request
Invalid method Mage_Page_Block_Html_Head::addEMItem(Array
(
    [0] => skin_css
    [1] => css/em_variation.css
    [2] => Mage_Core_Model_Layout_Element Object
        (
        )

    [3] => general_disable_frontend_variation
    [4] => 1
)
)
Trace: #0 [internal function]: Varien_Object->__call('addEMItem', Array) #1 [internal function]: Mage_Page_Block_Html_Head->addEMItem('skin_css', 'css/em_variatio...', Object(Mage_Core_Model_Layout_Element), 'general_disable...', '1') #2 /home/bargaind/public_html/app/code/core/Mage/Core/Model/Layout.php(348): call_user_func_array(Array, Array) #3 /home/bargaind/public_html/app/code/core/Mage/Core/Model/Layout.php(214): Mage_Core_Model_Layout->_generateAction(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element)) #4 /home/bargaind/public_html/app/code/core/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element)) #5 /home/bargaind/public_html/app/code/core/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element)) #6 /home/bargaind/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks() #7 /home/bargaind/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks() #8 /home/bargaind/public_html/app/code/core/Mage/Sales/Controller/Abstract.php(204): Mage_Core_Controller_Varien_Action->loadLayout('print') #9 /home/bargaind/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Sales_Controller_Abstract->printInvoiceAction() #10 /home/bargaind/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('printInvoice') #11 /home/bargaind/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #12 /home/bargaind/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch() #13 /home/bargaind/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array) #14 /home/bargaind/public_html/index.php(83): Mage::run('', 'store') #15 {main}
3 REPLIES 3

Re: Exception printing is disabled by default for security reasons error

@ptwdirect1987 Do you have a module which is overriding following class.

 Mage_Page_Block_Html_Head

 

or check core file app\code\core\Mage\Page\Block\Html\Head.php for any modification.

 

I think addEMItem should be addItem.

 

---
Problem Solved Click Accept as Solution!:Magento Community India Forum

Re: Exception printing is disabled by default for security reasons error

hi there when seraching for addEMitem its not showing up all it hass is additem what would you suggest maybe adding addEMitem

Re: Exception printing is disabled by default for security reasons error

Hello, 

Using same theme and having the same problem when we go to customer login and click on print order then same error generating..

 

Yesterday we installed a complete theme on our Magento website. We create a demo order by registering itself to test this procedure so we tried to print out the order invoice from my account option 'My Orders' but after click on it a long error is generated and I don't know how to fix it, please help me to fix this error, below we discussed this entire error.

 

Invalid method Mage_Page_Block_Html_Head::addEMItem(Array
(
    [0] => skin_css
    [1] => css/em_variation.css
    [2] => Mage_Core_Model_Layout_Element Object
        (
        )

    [3] => general_disable_frontend_variation
    [4] => 1
)
)

Trace:
#0 [internal function]: Varien_Object->__call('addEMItem', Array)
#1 [internal function]: Mage_Page_Block_Html_Head->addEMItem('skin_css', 'css/em_variatio...', Object(Mage_Core_Model_Layout_Element), 'general_disable...', '1')
#2 /home4/siraj786/public_html/dattaexpress/app/code/core/Mage/Core/Model/Layout.php(348): call_user_func_array(Array, Array)
#3 /home4/siraj786/public_html/dattaexpress/app/code/core/Mage/Core/Model/Layout.php(214): Mage_Core_Model_Layout->_generateAction(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#4 /home4/siraj786/public_html/dattaexpress/app/code/core/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#5 /home4/siraj786/public_html/dattaexpress/app/code/core/Mage/Core/Model/Layout.php(206): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /home4/siraj786/public_html/dattaexpress/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#7 /home4/siraj786/public_html/dattaexpress/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#8 /home4/siraj786/public_html/dattaexpress/app/code/core/Mage/Sales/Controller/Abstract.php(181): Mage_Core_Controller_Varien_Action->loadLayout('print')
#9 /home4/siraj786/public_html/dattaexpress/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Sales_Controller_Abstract->printAction()
#10 /home4/siraj786/public_html/dattaexpress/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('print')
#11 /home4/siraj786/public_html/dattaexpress/app/code/community/BalkeTechnologies/StoreMaintenance/Controller/Router/Standard.php(91): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#12 /home4/siraj786/public_html/dattaexpress/app/code/core/Mage/Core/Controller/Varien/Front.php(172): BalkeTechnologies_StoreMaintenance_Controller_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /home4/siraj786/public_html/dattaexpress/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#14 /home4/siraj786/public_html/dattaexpress/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#15 /home4/siraj786/public_html/dattaexpress/index.php(87): Mage::run('', 'store')
#16 {main}