0

I see this error

3 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid block type: Crediya\Minicalculadora\Block\Data Exception #1 (ReflectionException): Class CrediYa\CrediYa\Model\CrediYa does not exist Exception #2 (ReflectionException): Class CrediYa\CrediYa\Model\CrediYa does not exist

But the class does exist, if I use the command

php bin/magento setup:di:compile

I get the following error

Fatal error: Class 'CrediYa\CrediYa\Model\CrediYa' not found in /var/www/html/magento2/generated/code/CrediYa/CrediYa/Model/CrediYa/Interceptor.php on line 7

How can I solve these errors?

1
  • did you get a solution? if not then show you CrediYa model file
    – Mohit Rane
    Commented Aug 10, 2019 at 6:49

1 Answer 1

2

This is showing that Class 'CrediYa\CrediYa\Model\CrediYa' is not exist in your module. Also you can check the class namespace whichever it used by CrediYa. so you can find & correct it.

1
  • How did you consult it? Commented Jan 3, 2019 at 15:39

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.