0

I am facing below Fatal Error on Magento Running installation,

Fatal error: Uncaught Error: Class 'MagentoEavModelEntityAttributeSourceTable' not found in /var/www/magento/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93 Stack trace: #0 /var/www/magento/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('MagentoEavModel...', Array) #1 /var/www/magento/vendor/magento/framework/ObjectManager/ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Compiled->create('MagentoEavModel...', Array) #2 /var/www/magento/vendor/magento/framework/Validator/UniversalFactory.php(36): Magento\Framework\ObjectManager\ObjectManager->create('MagentoEavModel...', Array) #3 /var/www/magento/vendor/magento/module-eav/Model/Entity/Attribute/AbstractAttribute.php(551): Magento\Framework\Validator\UniversalFactory->create('MagentoEavModel...') #4 /var/www/magento/vendor/magento/module-catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php(572): Magento\Eav\Model\Entity\Attribute\AbstractAttribute->g in /var/www/magento/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93

Everything was working fine and suddenly this error occur.

When I googled for this error it shows PHP Version incompatibly. But I am using PHP 7.0.33 version and Magento ver. 2.1.8.

Any help would be appreciated.

Thank you.

asked May 20, 2019 at 11:50
2
  • So are you getting this error while installing Magento in cmd or web interface? Commented May 20, 2019 at 12:26
  • Not while installing. Website was running earlier and suddenly this error occur while visiting product page from web browser. Commented May 21, 2019 at 3:34

1 Answer 1

0

I got the solutions. open database and see table : eav_attribute

Now, check the source_model column and you will get MagentoEavModelEntityAttributeSourceTable.

Solution: Replace MagentoEavModelEntityAttributeSourceTable to Magento\Eav\Model\Entity\Attribute\Source\Table

answered May 10, 2020 at 8:53

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.