Please can someone help, after installing Ship2Anywhere I can no longer edit products. I have since removed the module with no change. I have ran the compiler, disabled it etc, cleared cache etc.
When trying to edit a product I get:
There has been an error processing your request
Source model "s2a/entity_attribute_source_measure" not found for attribute "s2a_measure"
Trace:
#0 /home/stuart/public_html/includes/src/__default.php(43353): Mage::exception('Mage_Eav', 'Source model "s...')
#1 /home/stuart/public_html/includes/src/Mage_Adminhtml_Block_Widget_Form.php(201): Mage_Eav_Model_Entity_Attribute_Abstract->getSource()
#2 /home/stuart/public_html/includes/src/Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Attributes.php(70): Mage_Adminhtml_Block_Widget_Form->_setFieldset(Array, Object(Varien_Data_Form_Element_Fieldset), Array)
#3 /home/stuart/public_html/includes/src/Mage_Bundle_Block_Adminhtml_Catalog_Product_Edit_Tab_Attributes.php(44): Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Attributes->_prepareForm()
#4 /home/stuart/public_html/includes/src/Mage_Adminhtml_Block_Widget_Form.php(144): Mage_Bundle_Block_Adminhtml_Catalog_Product_Edit_Tab_Attributes->_prepareForm()
#5 /home/stuart/public_html/includes/src/__default.php(2591): Mage_Adminhtml_Block_Widget_Form->_beforeToHtml()
#6 /home/stuart/public_html/includes/src/Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs.php(79): Mage_Core_Block_Abstract->toHtml()
#7 /home/stuart/public_html/includes/src/__default.php(1966): Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs->_prepareLayout()
#8 /home/stuart/public_html/includes/src/__default.php(27705): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#9 /home/stuart/public_html/includes/src/__default.php(27721): Mage_Core_Model_Layout->createBlock('adminhtml/catal...', 'product_tabs')
#10 /home/stuart/public_html/includes/src/__default.php(27488): Mage_Core_Model_Layout->addBlock('adminhtml/catal...', 'product_tabs')
#11 /home/stuart/public_html/includes/src/__default.php(27454): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#12 /home/stuart/public_html/includes/src/__default.php(27459): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#13 /home/stuart/public_html/includes/src/__default.php(13895): Mage_Core_Model_Layout->generateBlocks()
#14 /home/stuart/public_html/includes/src/__default.php(13820): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#15 /home/stuart/public_html/includes/src/Mage_Adminhtml_Controller_Action.php(275): Mage_Core_Controller_Varien_Action->loadLayout(Array, true, true)
#16 /home/stuart/public_html/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php(250): Mage_Adminhtml_Controller_Action->loadLayout(Array)
#17 /home/stuart/public_html/includes/src/__default.php(13969): Mage_Adminhtml_Catalog_ProductController->editAction()
#18 /home/stuart/public_html/includes/src/__default.php(18331): Mage_Core_Controller_Varien_Action->dispatch('edit')
#19 /home/stuart/public_html/includes/src/__default.php(17865): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#20 /home/stuart/public_html/includes/src/__default.php(20465): Mage_Core_Controller_Varien_Front->dispatch()
#21 /home/stuart/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#22 /home/stuart/public_html/index.php(87): Mage::run('', 'store')
#23 {main}
Please can someone assist in a resolution.
Thankyou in advance
Stuart
Solved! Go to Solution.
The fastest way is to go directly to table eav_attributes, find the row with attribute_code = "s2a_measure" and either delete it, or set source_model field value to NULL.
The reason that you're getting this error is probably due to the fact that Magento caches the database sqls and you can't clear them with the regular cache management system. You actually have to delete the cache folder using an FTP program.
Ok so rolled back the database and I can edit products. Had to put it back to the latest one due to sales though so back at square one.
Also if i reinstall Ship2Anywhere it works again. I want to remove it!
The fastest way is to go directly to table eav_attributes, find the row with attribute_code = "s2a_measure" and either delete it, or set source_model field value to NULL.
The reason that you're getting this error is probably due to the fact that Magento caches the database sqls and you can't clear them with the regular cache management system. You actually have to delete the cache folder using an FTP program.
Now all working, carried out both steps. Thank you to the pair of you.