I've created my custom extension and tried to install it. Now I get the following error:
PHP Fatal error: Class 'My\Module\Block\Customer\Form\Register' not found in /var/www/html/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php on line 117, referer: http://192.168.56.101/magento2/
I tried to recompile the di, upgrade with setup command, clean cache, but nothing works.
How can I fix it?