Our Magento 2.2.4 site suddenly started throwing error messages when a customer attempts to login during checkout. Visitors can login on the customer account page without a problem. And they can checkout as a guest. But on the checkout page, when they enter their email and password and hit the login button, the following error now appears:
1 exception(s): Exception #0 (ReflectionException): Class does not exist Exception #0 (ReflectionException): Class does not exist #0 /home/public_html/vendor/magento/framework/Code/Reader/ClassReader.php(19): ReflectionClass->__construct('') #1 /home/public_html/vendor/magento/framework/ObjectManager/Definition/Runtime.php(44): Magento\Framework\Code\Reader\ClassReader->getConstructor('') #2 /home/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(100): Magento\Framework\ObjectManager\Definition\Runtime->getParameters('') #3 /home/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(5
If anyone has a solution or knows what may have triggered this issue, it would be greatly appreciated! Thank you!
This issue has been resolved with the accepted solution here:
https://magento.stackexchange.com/questions/302752/magento-2-the-directory-xy-cannot-be-deleted-erro...