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

Cannot edit/add products on admin panel
 
grazzt
Sr. Member
 
Total Posts:  106
Joined:  2010-02-28
 

Hello I just upgraded from 1.4.2.0 to 1.5.1.0 almost successfully. Everything seems to be ok: frontend is loading, extensions are working, admin panel loads… except that when I try to edit or add any type of product I get the error page. Does anyone know the solution to this?

 
Magento Community Magento Community
Magento Community
Magento Community
 
grazzt
Sr. Member
 
Total Posts:  106
Joined:  2010-02-28
 

Ok I figured the solution when I saw the log… Apparently, yoast metarobots extension was causing the problem.

a:5:{i:0;s:94:"Source model "metarobots/product_attribute_source_unit" not found for attribute "meta_robots".";i:1;s:3076:"#0 /home/homecomf/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(201): Mage_Eav_Model_Entity_Attribute_Abstract->getSource()
#1 /home/homecomf/public_html/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Attributes.php(65): Mage_Adminhtml_Block_Widget_Form->_setFieldset(Array, Object(Varien_Data_Form_Element_Fieldset), Array)
#2 /home/homecomf/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(144): Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Attributes->_prepareForm()
#3 /home/homecomf/public_html/app/code/core/Mage/Core/Block/Abstract.php(757): Mage_Adminhtml_Block_Widget_Form->_beforeToHtml()
#4 /home/homecomf/public_html/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tabs.php(78): Mage_Core_Block_Abstract->toHtml()
#5 /home/homecomf/public_html/app/code/core/Mage/Core/Block/Abstract.php(223): Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs->_prepareLayout()
#6 /home/homecomf/public_html/app/code/core/Mage/Core/Model/Layout.php(430): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#7 /home/homecomf/public_html/app/code/core/Mage/Core/Model/Layout.php(446): Mage_Core_Model_Layout->createBlock('adminhtml/catal...', 'product_tabs')
#8 /home/homecomf/public_html/app/code/core/Mage/Core/Model/Layout.php(238): Mage_Core_Model_Layout->addBlock('adminhtml/catal...', 'product_tabs')
#9 /home/homecomf/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))
#10 /home/homecomf/public_html/app/code/core/Mage/Core/Model/Layout.php(209): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#11 /home/homecomf/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(345): Mage_Core_Model_Layout->generateBlocks()
#12 /home/homecomf/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(270): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#13 /home/homecomf/public_html/app/code/core/Mage/Adminhtml/Controller/Action.php(263): Mage_Core_Controller_Varien_Action->loadLayout(Array, true, true)
#14 /home/homecomf/public_html/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php(246): Mage_Adminhtml_Controller_Action->loadLayout(Array)
#15 /home/homecomf/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(420): Mage_Adminhtml_Catalog_ProductController->editAction()
#16 /home/homecomf/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch('edit')
#17 /home/homecomf/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))
#18 /home/homecomf/public_html/app/code/core/Mage/Core/Model/App.php(340): Mage_Core_Controller_Varien_Front->dispatch()
#19 /home/homecomf/public_html/app/Mage.php(627): Mage_Core_Model_App->run(Array)
#20 /home/homecomf/public_html/index.php(80): Mage::run('', 'store')
#21 {main}"
;s:3:"url";s:46:"/index.php/admin/catalog_product/edit/id/4958/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}

I reinstalled it and now it works. Hope this will help someone else! wink

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top