xcode - 删除扩展名后出现Magento错误

标签 xcode magento error-handling shipping

我在Magento中安装了一个运输扩展,然后将其删除,因为这不是我所需要的。现在,当我转到目录>管理产品>并单击产品时,出现错误:

“处理您的请求时出错

出于安全原因,默认情况下将禁用异常打印。”

这是错误报告:

a:5:{i:0;s:122:"Source model "chcanpost2module/catalog_product_attribute_source_method" not found for attribute "allowed_shipping_methods"";i:1;s:3400:"#0 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(43407): Mage::exception('Mage_Eav', 'Source model "c...')
#1 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/Mage_Adminhtml_Block_Widget_Form.php(203): Mage_Eav_Model_Entity_Attribute_Abstract->getSource()
#2 /hsphere/local/home/c242672/shopgiftbaskets.ca/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 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/Mage_Adminhtml_Block_Widget_Form.php(144): Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Attributes->_prepareForm()
#4 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(2591): Mage_Adminhtml_Block_Widget_Form->_beforeToHtml()
#5 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs.php(79): Mage_Core_Block_Abstract->toHtml()
#6 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(1966): Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs->_prepareLayout()
#7 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(27759): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#8 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(27775): Mage_Core_Model_Layout->createBlock('adminhtml/catal...', 'product_tabs')
#9 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(27542): Mage_Core_Model_Layout->addBlock('adminhtml/catal...', 'product_tabs')
#10 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(27508): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#11 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(27513): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#12 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(13949): Mage_Core_Model_Layout->generateBlocks()
#13 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(13874): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#14 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/Mage_Adminhtml_Controller_Action.php(275): Mage_Core_Controller_Varien_Action->loadLayout(Array, true, true)
#15 /hsphere/local/home/c242672/shopgiftbaskets.ca/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php(250): Mage_Adminhtml_Controller_Action->loadLayout(Array)
#16 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(14023): Mage_Adminhtml_Catalog_ProductController->editAction()
#17 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(18385): Mage_Core_Controller_Varien_Action->dispatch('edit')
#18 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(17919): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#19 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(20519): Mage_Core_Controller_Varien_Front->dispatch()
#20 /hsphere/local/home/c242672/shopgiftbaskets.ca/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#21 /hsphere/local/home/c242672/shopgiftbaskets.ca/index.php(87): Mage::run('', 'store')
#22 {main}";s:3:"url";s:81:"/index.php/admin/catalog_product/edit/id/20/key/c606cdb5ba1d53036e19caab127a32c3/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}

谁知道我该怎么做才能消除错误?

谢谢!

最佳答案

弄清楚了。卸载后的运输扩展名留在属性“allowed_shipping_methods”后面,我只需要从“管理”->“目录”->“管理属性”页面中将其删除。然后清除缓存并重新登录,错误消失了。

关于xcode - 删除扩展名后出现Magento错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24871633/

相关文章:

javascript - 编辑主题文件时侧边菜单高度的 CSS 不会改变

php - Magento 更改产品网址

haskell - 如何调用可能失败的构造函数,尤其是在实现 'Read' 和 'Arbitrary' 时?

Python Flask 捕获多个完整性错误 = 如果用户或电子邮件引发完整性错误,则会出现不同的错误消息

php - 如何将错误和警告记录到文件中?

ios - 启动屏幕无法正常工作

ios - 您如何在 XCode 3 中构建和使用 plcrashreporter?

iphone - 使用多种语言的 Storyboard

ios - Airplay 处于事件状态时,AVRoutePickerView 不会改变颜色

css - Magento 绝对定位主屏幕 CSS 设置