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 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
    Dec 8, 2020 at 12:59

Your Answer

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

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