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
Asked
Active
Viewed 160 times
0
Jugal Kishor
- 1,225
- 13
- 36
-
4Please 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: https://magento.stackexchange.com/questions/428/fundamentals-for-debugging-a-magento-store – 7ochem Apr 17 '18 at 07:29
1 Answers
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
{
}
Verdu
- 1,730
- 1
- 17
- 31
-
Yes, I have done same. now the module is in technical round. when the error will resolve then I return my feedback – Jugal Kishor Apr 17 '18 at 08:56
-
Error still showing from magento tester after extend like this = class ImageUploader extends \Magento\Catalog\Model\ImageUploader – Jugal Kishor May 02 '18 at 07:03
-