0

/var/www/html/magento23# php bin/magento setup:di:compile Compilation was started. Area configuration aggregation... 5/7 [====================>-------] 71% 1 min 282.0 MiB In ClassReader.php line 35:

Class Magento\Framework\Model\Resource\AbstractResource does not exist

In ClassReader.php line 29:

Class Magento\Framework\Model\Resource\AbstractResource does not exist

setup:di:compile

1
  • Check if file exist or not - If not then just remove everything from vendor folder and run composer to re-create vendor file or you can download and upload it manually Commented Dec 8, 2020 at 15:37

1 Answer 1

0

Removed var/generation folder then run magento setup:di:compile which generated all necessary classes.

1
  • yes I did, but again getting same error..!
    – Sampath
    Commented Dec 8, 2020 at 12:59

Your Answer

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

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