Yoast / Yoast-SEO-for-Magento2

Yoast SEO for Magento 2
Other
70 stars 29 forks source link

Fix for #42 'Class fileUploader does not exist' #53

Closed Tjitse-E closed 7 years ago

Tjitse-E commented 7 years ago

The class fileUploader, used in the frontend_input field doesn't seem to exist. It triggers the following error when mass updating products:

Exception #0 (ReflectionException): Class fileUploader does not exist

Exception #0 (ReflectionException): Class fileUploader does not exist
#0 /data/ssd/vhosts/local.dev/magento2/vendor/magento/framework/Code/Reader/ClassReader.php(19): ReflectionClass->__construct('fileUploader')
#1 /data/ssd/vhosts/local.dev/magento2/vendor/magento/framework/ObjectManager/Definition/Runtime.php(44): Magento\Framework\Code\Reader\ClassReader->getConstructor('fileUploader')
#2 /data/ssd/vhosts/local.dev/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(71): Magento\Framework\ObjectManager\Definition\Runtime->getParameters('fileUploader')
#3 /data/ssd/vhosts/local.dev/magento2/vendor/magento/framework/ObjectManager/ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('fileUploader', Array)
#4 /data/ssd/vhosts/local.dev/magento2/vendor/magento/framework/Data/Form/Element/Factory.php(81): Magento\Framework\ObjectManager\ObjectManager->create('fileUploader', Array)
#5 /data/ssd/vhosts/local.dev/magento2/vendor/magento/framework/Data/Form/AbstractForm.php(155): Magento\Framework\Data\Form\Element\Factory->create('fileUploader', Array)

I've changed the frontend_input to image, this seems to solve the issue in my case.