We are receiving this error our Magento Product pages, and can't figure out why:
a:5:{i:0;s:178:"Invalid method Mxperts_Jquery_Block_Page_Html_Head::addExternalItem(Array
(
[0] => external_js
[1] => https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js
)
)";i:1;s:2635:"#0 /home/partytim/public_html/app/code/community/CorlleteLab/Imagezoom/Block/Catalog/Product/View.php(38): Varien_Object->__call('addExternalItem', Array)
#1 /home/partytim/public_html/app/code/community/CorlleteLab/Imagezoom/Block/Catalog/Product/View.php(38): Mxperts_Jquery_Block_Page_Html_Head->addExternalItem('external_js', 'https://ajax.go...')
#2 /home/partytim/public_html/app/code/core/Mage/Core/Block/Abstract.php(238): CorlleteLab_Imagezoom_Block_Catalog_Product_View->_prepareLayout()
#3 /home/partytim/public_html/app/code/core/Mage/Core/Model/Layout.php(430): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#4 /home/partytim/public_html/app/code/core/Mage/Core/Model/Layout.php(446): Mage_Core_Model_Layout->createBlock('catalog/product...', 'product.info')
#5 /home/partytim/public_html/app/code/core/Mage/Core/Model/Layout.php(238): Mage_Core_Model_Layout->addBlock('catalog/product...', 'product.info')
#6 /home/partytim/public_html/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))
#7 /home/partytim/public_html/app/code/core/Mage/Core/Model/Layout.php(209): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#8 /home/partytim/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(345): Mage_Core_Model_Layout->generateBlocks()
#9 /home/partytim/public_html/app/code/core/Mage/Cms/Helper/Page.php(112): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#10 /home/partytim/public_html/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'no-route')
#11 /home/partytim/public_html/app/code/core/Mage/Cms/controllers/IndexController.php(75): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'no-route')
#12 /home/partytim/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(420): Mage_Cms_IndexController->noRouteAction()
#13 /home/partytim/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('noRoute')
#14 /home/partytim/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#15 /home/partytim/public_html/app/code/core/Mage/Core/Model/App.php(349): Mage_Core_Controller_Varien_Front->dispatch()
#16 /home/partytim/public_html/app/Mage.php(640): Mage_Core_Model_App->run(Array)
#17 /home/partytim/public_html/index.php(80): Mage::run('', 'store')
#18 {main}";s:3:"url";s:24:"/chili-pepper-beads.html";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}
All of the other pages seem to appear properly (product grid, checkout, cms pages, etc.)
Any idea what might be happening?
Thanks!
You are trying to include jquery.min.js through an external link using the function addExternalItem which is failing for some reason. You may try to host the jquery file locally and include this in page.xml
Related
the magento checkout page give an error saying
There was an error processing your order
I am getting this error. It was working fine from six months. I haven't changed anything.
Troubleshoot:
I have changed to Magento default theme.
I have changed the domain
Change checkout method
Still not working.
my exception.log
2017-04-17T17:28:18+00:00 ERR (3):
exception 'Mage_Core_Exception' with message 'Invalid block type: Cmsmart_Onestepcheckout_Block_Links' in /home/zprz/public_html/app/Mage.php:595
Stack trace:
#0 /home/zprz/public_html/app/code/core/Mage/Core/Model/Layout.php(495): Mage::throwException('Invalid block t...')
#1 /home/zprz/public_html/app/code/core/Mage/Core/Model/Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('onestepcheckout...', Array)
#2 /home/zprz/public_html/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('onestepcheckout...', 'checkout_cart_l...')
#3 /home/zprz/public_html/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('onestepcheckout...', 'checkout_cart_l...')
#4 /home/zprz/public_html/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#5 /home/zprz/public_html/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /home/zprz/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#7 /home/zprz/public_html/app/code/core/Mage/Cms/Helper/Page.php(113): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#8 /home/zprz/public_html/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'no-route')
#9 /home/zprz/public_html/app/code/core/Mage/Cms/controllers/IndexController.php(75): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'no-route')
#10 /home/zprz/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->noRouteAction()
#11 /home/zprz/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('noRoute')
#12 /home/zprz/public_html/app/code/local/Elegento/Royal/Controller/Standard.php(82): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#13 /home/zprz/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Elegento_Royal_Controller_Standard->match(Object(Mage_Core_Controller_Request_Http))
#14 /home/zprz/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#15 /home/zprz/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#16 /home/zprz/public_html/index.php(83): Mage::run('', 'store')
#17 {main}
2017-04-17T17:28:18+00:00 ERR (3):
exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`zprz_mag`.`erp_inventory_warehouse_product`, CONSTRAINT `erp_inventory_warehouse_product_ibfk_1` FOREIGN KEY (`warehouse_id`) REFERENCES `erp_inventory_warehouse` (`warehouse_id`) ON DELETE C)' in /home/zprz/public_html/lib/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /home/zprz/public_html/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /home/zprz/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#2 /home/zprz/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#3 /home/zprz/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#4 /home/zprz/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('INSERT INTO `er...', Array)
#5 /home/zprz/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `er...', Array)
#6 /home/zprz/public_html/lib/Zend/Db/Adapter/Abstract.php(576): Varien_Db_Adapter_Pdo_Mysql->query('INSERT INTO `er...', Array)
#7 /home/zprz/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(453): Zend_Db_Adapter_Abstract->insert('erp_inventory_w...', Array)
#8 /home/zprz/public_html/app/code/core/Mage/Core/Model/Abstract.php(318): Mage_Core_Model_Resource_Db_Abstract->save(Object(Magestore_Inventory_Model_Warehouseproduct))
#9 /home/zprz/public_html/app/code/local/Magestore/Inventory/Model/Observer.php(1405): Mage_Core_Model_Abstract->save()
#10 /home/zprz/public_html/app/code/core/Mage/Core/Model/App.php(1357): Magestore_Inventory_Model_Observer->salesOrderPlaceAfter(Object(Varien_Event_Observer))
#11 /home/zprz/public_html/app/code/core/Mage/Core/Model/App.php(1336): Mage_Core_Model_App->_callObserverMethod(Object(Magestore_Inventory_Model_Observer), 'salesOrderPlace...', Object(Varien_Event_Observer))
#12 /home/zprz/public_html/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('sales_order_pla...', Array)
#13 /home/zprz/public_html/app/code/core/Mage/Sales/Model/Order.php(1117): Mage::dispatchEvent('sales_order_pla...', Array)
#14 [internal function]: Mage_Sales_Model_Order->place()
#15 /home/zprz/public_html/app/code/core/Mage/Core/Model/Resource/Transaction.php(105): call_user_func(Array)
#16 /home/zprz/public_html/app/code/core/Mage/Core/Model/Resource/Transaction.php(159): Mage_Core_Model_Resource_Transaction->_runCallbacks()
#17 /home/zprz/public_html/app/code/core/Mage/Sales/Model/Service/Quote.php(189): Mage_Core_Model_Resource_Transaction->save()
#18 /home/zprz/public_html/app/code/core/Mage/Sales/Model/Service/Quote.php(249): Mage_Sales_Model_Service_Quote->submitOrder()
#19 /home/zprz/public_html/app/code/core/Mage/Checkout/Model/Type/Onepage.php(812): Mage_Sales_Model_Service_Quote->submitAll()
#20 /home/zprz/public_html/app/code/core/Mage/Checkout/controllers/OnepageController.php(579): Mage_Checkout_Model_Type_Onepage->saveOrder()
#21 /home/zprz/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Checkout_OnepageController->saveOrderAction()
#22 /home/zprz/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('saveOrder')
#23 /home/zprz/public_html/app/code/local/Elegento/Royal/Controller/Standard.php(82): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#24 /home/zprz/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Elegento_Royal_Controller_Standard->match(Object(Mage_Core_Controller_Request_Http))
#25 /home/zprz/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#26 /home/zprz/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#27 /home/zprz/public_html/index.php(83): Mage::run('', 'store')
#28 {main}
You have problem with the warehouse plugin (most probably magestore inventory). During the insert in the database there is something wrong that happens. Not knowing so much about the module or the environment, I just can tell you that the request tries to create or update a dependent table but does not succeed. The reasons are multiple but most probably the row alread exists.
I am getting following error when I click on Catalog -> Manage Categories in Magento Admin Panel
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 564175648292
I saw in log report for message...
Source model "eav/entity_attribute_source_boolean" not found for attribute "is_active".
following is the content of the file:
> a:5:{i:0;s:86:"Source model "eav/entity_attribute_source_boolean" not found for attribute "is_active"";i:1;s:4185:"#0 /home/eletrofu/public_html/v3/app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php(387): Mage::exception('Mage_Eav', 'Source model "e...')
#1 /home/eletrofu/public_html/v3/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(201): Mage_Eav_Model_Entity_Attribute_Abstract->getSource()
#2 /home/eletrofu/public_html/v3/app/code/core/Mage/Adminhtml/Block/Catalog/Category/Tab/Attributes.php(113): Mage_Adminhtml_Block_Widget_Form->_setFieldset(Array, Object(Varien_Data_Form_Element_Fieldset))
#3 /home/eletrofu/public_html/v3/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(144): Mage_Adminhtml_Block_Catalog_Category_Tab_Attributes->_prepareForm()
#4 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Block/Abstract.php(918): Mage_Adminhtml_Block_Widget_Form->_beforeToHtml()
#5 /home/eletrofu/public_html/v3/app/code/core/Mage/Adminhtml/Block/Catalog/Category/Tabs.php(140): Mage_Core_Block_Abstract->toHtml()
#6 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Block/Abstract.php(293): Mage_Adminhtml_Block_Catalog_Category_Tabs->_prepareLayout()
#7 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#8 /home/eletrofu/public_html/v3/app/code/core/Mage/Adminhtml/Block/Catalog/Category/Edit/Form.php(55): Mage_Core_Model_Layout->createBlock('adminhtml/catal...', 'tabs')
#9 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Block/Abstract.php(293): Mage_Adminhtml_Block_Catalog_Category_Edit_Form->_prepareLayout()
#10 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#11 /home/eletrofu/public_html/v3/app/code/core/Mage/Adminhtml/Block/Widget/Form/Container.php(93): Mage_Core_Model_Layout->createBlock('adminhtml/catal...')
#12 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Block/Abstract.php(293): Mage_Adminhtml_Block_Widget_Form_Container->_prepareLayout()
#13 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#14 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('adminhtml/catal...', 'category.edit')
#15 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('adminhtml/catal...', 'category.edit')
#16 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#17 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#18 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#19 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#20 /home/eletrofu/public_html/v3/app/code/core/Mage/Adminhtml/Controller/Action.php(275): Mage_Core_Controller_Varien_Action->loadLayout(NULL, true, true)
#21 /home/eletrofu/public_html/v3/app/code/core/Mage/Adminhtml/controllers/Catalog/CategoryController.php(201): Mage_Adminhtml_Controller_Action->loadLayout()
#22 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Catalog_CategoryController->editAction()
#23 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('edit')
#24 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#25 /home/eletrofu/public_html/v3/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#26 /home/eletrofu/public_html/v3/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#27 /home/eletrofu/public_html/v3/index.php(83): Mage::run('', 'store')
#28 {main}";s:3:"url";s:83:"/v3/index.php/adminapp/catalog_category/index/key/4b27c04f529065b915b8fd03418e1fda/";s:11:"script_name";s:13:"/v3/index.php";s:4:"skin";s:5:"admin"
flush the magento cache and reindex everything . It's probably some code loading problem.
Go to Catalog > Manage attributes section in backend and than search for is_active attribute or attribute code present or not. if it is present than go for catalog > Manage attributes sets , select the attribute set you are using and drag is_Active attribute to unassigned attributes section.
So I was editing a page for magento, simply adding a product brands slider, but it unfortunately somehow crashed the page. I reindexed everything and flushed cache to no avail. So I just reverted back to the old code, reflushed, but still the page is broken. The error report it has given me is;
a:5:{i:0;s:127:"Invalid method Mage_Page_Block_Html_Topmenu::renderCategoriesMenuHtml(Array
(
[0] =>
[1] => 0
[2] => level-top
)
)";i:1;s:4574:"#0 /home4/johnsoja/public_html/magento1/app/design/frontend/ultimo/default/template/page/html/topmenu.phtml(43): Varien_Object->__call('renderCategorie...', Array)
#1 /home4/johnsoja/public_html/magento1/app/design/frontend/ultimo/default/template/page/html/topmenu.phtml(43): Mage_Page_Block_Html_Topmenu->renderCategoriesMenuHtml(false, 0, 'level-top')
#2 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Template.php(241): include('/home4/johnsoja...')
#3 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/ultimo...')
#4 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#5 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#6 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#7 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Text_List->_toHtml()
#8 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#9 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('topMenu', true)
#10 /home4/johnsoja/public_html/magento1/app/design/frontend/ultimo/default/template/page/html/header.phtml(108): Mage_Core_Block_Abstract->getChildHtml('topMenu')
#11 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Template.php(241): include('/home4/johnsoja...')
#12 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/ultimo...')
#13 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#14 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#15 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#16 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('header', true)
#17 /home4/johnsoja/public_html/magento1/app/design/frontend/ultimo/default/template/page/1column.phtml(42): Mage_Core_Block_Abstract->getChildHtml('header')
#18 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Template.php(241): include('/home4/johnsoja...')
#19 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/ultimo...')
#20 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#21 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#22 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#23 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#24 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Cms/Helper/Page.php(137): Mage_Core_Controller_Varien_Action->renderLayout()
#25 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'home')
#26 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'home')
#27 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->indexAction()
#28 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#29 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#30 /home4/johnsoja/public_html/magento1/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#31 /home4/johnsoja/public_html/magento1/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#32 /home4/johnsoja/public_html/magento1/index.php(87): Mage::run('', 'store')
#33 {main}";s:3:"url";s:10:"/magento1/";s:11:"script_name";s:19:"/magento1/index.php";s:4:"skin";s:7:"default";}
I am still very new to Magento, so all this really doesn't tell me much. I also would figure stripping the code post crash and reindexing should work, because I really didn't add much, but I may be completely mistaken on how it all works. Can anyone point me in a direction?! Thanks!
So it looks like the file app/design/frontend/ultimo/default/template/page/html/topmenu.phtml at line 43 is calling
$this->renderCategoriesMenuHtml();
But actually that function renderCategoriesMenuHtml() is in the class Mage_Catalog_Block_Navigation (whereas topMenu.phtml is running in class Mage_Page_Block_Html_Topmenu)
I suspect the root cause is an issue with an XML file, for example app/design/frontend/ultimo/default/layout/local.xml search for the block with the name 'topMenu' and look at its type="page/html_topmenu"
Now it gets a bit tricky for me. The block type should either be a theme specific block like type="ultimo_page/html_topmenu" assuming the file app/code/local/ultimo/page/block/tml/topMenu.php exists or else this 'topMenu' block needs to contain a nested block of type="catalog/navigation".
To begin with it might be best to comment out that line 43 $this->renderCategoriesMenuHtml(); to recover your Magento Store and then investigate how to render the category menu.
While upgrading magento EE1.10 to 1.12 everything seems to work fine but during testing , when a customer log in from front-end the add to cart button and the price Div disappear.
Then I change the design package and template to the "enterprise" I found the similar issues, I guess that This issue is not related to the design but somewhere else,
I am not able to find out what is the exact problem,
Does any body have any idea what maybe the issue?
After enabling log i found this
2013-03-02T10:53:27+00:00 ERR (3):
SoapFault exception: [Client] SOAP-ERROR: Encoding: string '\xad...' is not a valid utf-8 string in /www/sites/xxxx/files/html/app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php:410
Stack trace:
#0 [internal function]: SoapClient->__call('getRates', Array)
#1 /www/sites/xxxxx/files/html/app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php(410): SoapClient->getRates(Array)
#2 /www/sites/xxxxx/files/html/app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php(443): Mage_Usa_Model_Shipping_Carrier_Fedex->_doRatesRequest('general')
#3 /www/sites/xxxxx/files/html/app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php(186): Mage_Usa_Model_Shipping_Carrier_Fedex->_getQuotes()
#4 /www/sites/xxxxx/files/html/app/code/core/Mage/Shipping/Model/Shipping.php(207): Mage_Usa_Model_Shipping_Carrier_Fedex->collectRates(Object(Mage_Shipping_Model_Rate_Request))
#5 /www/sites/xxxxx/files/html/app/code/core/Mage/Shipping/Model/Shipping.php(129): Mage_Shipping_Model_Shipping->collectCarrierRates('fedex', Object(Mage_Shipping_Model_Rate_Request))
#6 /www/sites/xxxxx/files/html/app/code/core/Mage/Sales/Model/Quote/Address.php(888): Mage_Shipping_Model_Shipping->collectRates(Object(Mage_Shipping_Model_Rate_Request))
#7 /www/sites/xxxxx/files/html/app/code/core/Mage/Sales/Model/Quote/Address.php(819): Mage_Sales_Model_Quote_Address->requestShippingRates()
#8 /www/sites/xxxxx/files/html/app/code/core/Mage/Sales/Model/Quote/Address/Total/Shipping.php(155): Mage_Sales_Model_Quote_Address->collectShippingRates()
#9 /www/sites/xxxxx/files/html/app/code/core/Mage/Sales/Model/Quote/Address.php(957): Mage_Sales_Model_Quote_Address_Total_Shipping->collect(Object(Mage_Sales_Model_Quote_Address))
#10 /www/sites/xxxxx/files/html/app/code/core/Mage/Sales/Model/Quote.php(1263): Mage_Sales_Model_Quote_Address->collectTotals()
#11 /www/sites/xxxxx/files/html/app/code/local/Idev/OneStepCheckout/Model/Sales/Quote.php(27): Mage_Sales_Model_Quote->collectTotals()
#12 /www/sites/xxxxx/files/html/app/code/core/Mage/Checkout/Model/Session.php(210): Idev_OneStepCheckout_Model_Sales_Quote->collectTotals()
#13 /www/sites/xxxxx/files/html/app/code/core/Mage/Checkout/Model/Observer.php(44): Mage_Checkout_Model_Session->loadCustomerQuote()
#14 /www/sites/xxxxx/files/html/app/code/core/Mage/Core/Model/App.php(1338): Mage_Checkout_Model_Observer->loadCustomerQuote(Object(Varien_Event_Observer))
#15 /www/sites/xxxxx/files/html/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Checkout_Model_Observer), 'loadCustomerQuo...', Object(Varien_Event_Observer))
#16 /www/sites/xxxxx/files/html/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('customer_login', Array)
#17 /www/sites/xxxxx/files/html/app/code/local/Mage/Customer/Model/Session.php(195): Mage::dispatchEvent('customer_login', Array)
#18 /www/sites/xxxxx/files/html/app/code/local/Mage/Customer/Model/Session.php(183): Mage_Customer_Model_Session->setCustomerAsLoggedIn(Object(Mage_Customer_Model_Customer))
#19 /www/sites/xxxxx/files/html/app/code/core/Mage/Customer/controllers/AccountController.php(149): Mage_Customer_Model_Session->login('IL876510#farrla...', 'abcd.1234')
#20 /www/sites/xxxxx/files/html/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Customer_AccountController->loginPostAction()
#21 /www/sites/xxxxx/files/html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('loginPost')
#22 /www/sites/xxxxx/files/html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#23 /www/sites/xxxxx/files/html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#24 /www/sites/xxxxx/files/html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#25 /www/sites/xxxxx/files/html/index.php(87): Mage::run('', 'store')
#26 {main}
On Magento 1.6.x test site, I was modifying products and categories.
All of a sudden all links to categories (eg: catalog/category/view/s/myCat/id/9/)
gives me ugly -"error processing your request" page.
Re-indexed, cleared cache, even re-started server but message keep coming back.
I tried deleting root category and re-creating a new root category, and sub-categories with products.
Then verified that products are enabled, with inventory, linked to category etc..
Then again verified that new Manage Stores -> Main WebSite -> 'root2 catalog' is linked to Store.
New categories links appear on home page OK, however still getting error linking to them.
Product pages still works OK.
Nothing in log.
What is next step?
log look like this...
a:5:{i:0;s:61:"Invalid method Mage_Catalog_Block_Product_List::s(Array
(
)
)";i:1;s:3956:"#0 C:\xampp\htdocs\magento\app\design\frontend\base\default\template\catalog\product\list.phtml(9): Varien_Object->__call('s', Array)
#1 C:\xampp\htdocs\magento\app\design\frontend\base\default\template\catalog\product\list.phtml(9): Mage_Catalog_Block_Product_List->s()
#2 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(241): include('C:\xampp\htdocs...')
#3 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(272): Mage_Core_Block_Template->fetchView('frontend\base\d...')
#4 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(286): Mage_Core_Block_Template->renderView()
#5 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#6 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#7 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('product_list', true)
#8 C:\xampp\htdocs\magento\app\code\core\Mage\Catalog\Block\Category\View.php(85): Mage_Core_Block_Abstract->getChildHtml('product_list')
#9 C:\xampp\htdocs\magento\app\design\frontend\base\default\template\catalog\category\view.phtml(70): Mage_Catalog_Block_Category_View->getProductListHtml()
#10 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(241): include('C:\xampp\htdocs...')
#11 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(272): Mage_Core_Block_Template->fetchView('frontend\base\d...')
#12 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(286): Mage_Core_Block_Template->renderView()
#13 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#14 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Text\List.php(43): Mage_Core_Block_Abstract->toHtml()
#15 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(863): Mage_Core_Block_Text_List->_toHtml()
#16 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(582): Mage_Core_Block_Abstract->toHtml()
#17 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#18 C:\xampp\htdocs\magento\app\design\frontend\base\default\template\page\3columns.phtml(49): Mage_Core_Block_Abstract->getChildHtml('content')
#19 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(241): include('C:\xampp\htdocs...')
#20 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(272): Mage_Core_Block_Template->fetchView('frontend\base\d...')
#21 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Template.php(286): Mage_Core_Block_Template->renderView()
#22 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Block\Abstract.php(863): Mage_Core_Block_Template->_toHtml()
#23 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Layout.php(529): Mage_Core_Block_Abstract->toHtml()
#24 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Action.php(391): Mage_Core_Model_Layout->getOutput()
#25 C:\xampp\htdocs\magento\app\code\core\Mage\Catalog\controllers\CategoryController.php(159): Mage_Core_Controller_Varien_Action->renderLayout()
#26 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Action.php(420): Mage_Catalog_CategoryController->viewAction()
#27 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('view')
#28 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Controller\Varien\Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#29 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\App.php(349): Mage_Core_Controller_Varien_Front->dispatch()
#30 C:\xampp\htdocs\magento\app\Mage.php(640): Mage_Core_Model_App->run(Array)
#31 C:\xampp\htdocs\magento\index.php(80): Mage::run('', 'store')
#32 {main}";s:3:"url";s:36:"/magento/index.php/category-2-1.html";s:11:"script_name";s:18:"/magento/index.php";s:4:"skin";s:7:"default";}