I have upgraded Magento from 2.2.4 to 2.4.0, i have custom modules that are not compatible with the new Magento version. So i disabled the module but when i run
php bin/magento setup:di:compile
I got this error
In ClassReader.php line 43:
Class Magento\Framework\Search\Adapter\Mysql\Mapper does not exist
In ClassReader.php line 36:
Class Magento\Framework\Search\Adapter\Mysql\Mapper does not exist