0

File: brijeshjp2006/sliders/brijeshjp2006-sliders-1.0.5.0/Model/ImageUploader.php
Line: 2
File: magento/module-catalog/magento-module-catalog-102.0.3.0/Model/ImageUploader.php
Line: 6

1
  • 4
    Please don't just dump error messages in the question form. You should at least explain when it happens and if you did any changes before. To debug errors, follow this guide: magento.stackexchange.com/questions/428/…
    – 7ochem
    Apr 17, 2018 at 7:29

1 Answer 1

3

Do not just copy the entire file from the core files- here what you need to do is to extend your class form core file and put the methods in your class in which you have made any changes; otherwise it should work fine.

class ImageUploader extends \Magento\Catalog\Model\ImageUploader
{

}
3
  • Yes, I have done same. now the module is in technical round. when the error will resolve then I return my feedback Apr 17, 2018 at 8:56
  • Error still showing from magento tester after extend like this = class ImageUploader extends \Magento\Catalog\Model\ImageUploader May 2, 2018 at 7:03
  • Also Need change name of variables. Jun 1, 2018 at 13:26

Not the answer you're looking for? Browse other questions tagged or ask your own question.