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 Answer 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.
-
How did you consult it?Edwin Aquino– Edwin Aquino2019年01月03日 15:39:35 +00:00Commented Jan 3, 2019 at 15:39
CrediYamodel file