magento 2 the requested class did not generate properly, because the 'generated' directory permission is read-only
By Maryann Bernier at Sep 15 2020