Warning: Illegal string offset 'new_file' - Magento Site

Posted by Roy on Stack Overflow See other posts from Stack Overflow or by Roy
Published on 2012-06-22T02:13:26Z Indexed on 2012/06/22 3:16 UTC
Read the original article Hit count: 1060

Filed under:
|
|

We just migrated our magento installation from one of the hosting company and this keeps popping up whenever I try to duplicate product. Something wrong with codebase...Can someone please help.

The code at 130 is…

$object->setData($mediaAttrCode, $newImages[$attrData]['new_file']);

THanks

Warning: Illegal string offset 'new_file' in /home/spotzee/webapps/yourchemistonline/app/code/core/Mage/Catalog/Model/Product/Attribute/Backend/Media.php on line 130 

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql