首页 文章

无法在Magento中编辑/保存和现有产品

提问于
浏览
0

我正在尝试更改现有产品,例如添加图片 . 我能够无错误地上传图像,当我按“保存”时,它看起来像是正确保存,但没有绿色的“成功”指示 . 当我重新打开产品时,图像不存在 . 我尝试更改说明,但也没有保存 . 似乎有些事情阻止我以任何方式编辑现有产品 .

以下是system.log显示的内容:

2015-09-19T17:41:34+00:00 ERR (3): Warning: array_key_exists() expects parameter 2 to be array, null given  in /home/username/public_html/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 507
2015-09-19T17:41:34+00:00 ERR (3): Warning: array_key_exists() expects parameter 2 to be array, null given  in /home/username/public_html/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 507
2015-09-19T17:41:34+00:00 ERR (3): Warning: array_key_exists() expects parameter 2 to be array, null given  in /home/username/public_html/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 507
2015-09-19T17:41:34+00:00 ERR (3): Warning: array_key_exists() expects parameter 2 to be array, null given  in /home/username/public_html/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 507
2015-09-19T17:41:34+00:00 ERR (3): Warning: array_key_exists() expects parameter 2 to be array, null given  in /home/username/public_html/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 507
2015-09-19T17:41:34+00:00 ERR (3): Warning: array_key_exists() expects parameter 2 to be array, null given  in /home/username/public_html/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 507
2015-09-19T17:41:34+00:00 ERR (3): Recoverable Error: Argument 1 passed to Varien_Object::addData() must be of the type array, null given, called in /home/username/public_html/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php on line 513 and defined  in /home/username/public_html/includes/src/__default.php on line 1019
2015-09-19T17:41:34+00:00 ERR (3): Warning: Invalid argument supplied for foreach()  in /home/username/public_html/includes/src/__default.php on line 1021

1 回答

  • 1

    清除Magento缓存 .

    它看起来像你运行它编译,你可能需要重新编译Magento .

    我建议禁用Magento编译,因为该功能已被证明是混合结果的一个问题 . 根据我的经验,它造成的弊大于利 .

相关问题