Hello @yagnik_solanki,
Please remove generated directory data which you can find on magento root directory.
--
If my answer is useful, please give Kudos or Accept as Solution
Hello @yagnik_solanki,
Please remove generated directory data which you can find on magento root directory.
--
If my answer is useful, please give Kudos or Accept as Solution
Thanks Bro,
It's works
Hello,
There is following error occurred during di:compile process
<namespace>\<module>\Block\Catalog\Product\View
Incompatible argument type: Required type: \Magento\Framework\Url\EncoderInterface. Actual type: array; File:
C:/xampp/htdocs/mage224/app/code/<namespace>/<module>/Block/Catalog/Product/View.php
Total Errors Count: 1
[Magento\Framework\Validator\Exception]
Error during compilation
please suggest me how can i fix it ?
Uncaught TypeError: Argument 1 passed to Magento\Eav\Model\Entity\Attribute\Source\Config::__construct() must be of the type array, null , how to fix this issue
/vendor/magento/module-eav/Model/Entity/Attribute/Source/Config.php on line 26
Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Eav\Model\Entity\Attribute\Source\Config::__construct() must be of the type array, null given, called in /home/magentooutstripi/public_html/demome/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 111 and defined in /home/magentooutstripi/public_html/demome/vendor/magento/module-eav/Model/Entity/Attribute/Source/Config.php:26 Stack trace: #0 /home/magentooutstripi/public_html/demome/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Magento\Eav\Model\Entity\Attribute\Source\Config->__construct(NULL) #1 /home/magentooutstripi/public_html/demome/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Eav\\Mod...', Array) #2 /home/magentooutstripi/public_html/demome/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Eav\\Mod...', Array) #3 /home/magento in /home/magentooutstripi/public_html/demome/vendor/magento/module-eav/Model/Entity/Attribute/Source/Config.php on line 26