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

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.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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