I want to assign products from admin category module. But I am facing following using on category save.

Notice: Array to string conversion in /var/www/html/m202/vendor/magento/framework/Data/Form/Element/Image.php on line 51
#0 /var/www/html/m202/vendor/magento/framework/Data/Form/Element/Image.php(51): Magento\Framework\App\ErrorHandler->handler(8, 'Array to string...', '/var/www/html/b...', 51, Array)

enter image description here

Here is, what I am doing.

enter image description here

I am using Magento 2.0.2

Any help would be appreciated.

  • Check vendor\magento\framework\Data\Form\Element\Image.php There on line number 51 in to the if there shuld have to be data should be converted using (string) . If you can not find this line then add it
    – Asish Hira
    Apr 4, 2016 at 13:24
  • @AsishHira : What should be add on it Image.php Apr 4, 2016 at 13:54
  • paste here the code of image.php line 51
    – Asish Hira
    Apr 4, 2016 at 13:55
  • Something changed the value of the image attribute to an array. This is most likely an issue with a third party extension. Closing as not reproducible. Apr 20, 2017 at 7:04


Browse other questions tagged or ask your own question.