We have installed an extension but now are unable to put our clients website back into 'production mode'. We need someone to help urgently.
We enabled Magento_Review module has been enabled as it is a dependency of the extension we installed. Unfortunately, we could not reenable production mode due to an error:
The directory "public_html/generated/code/Magento" cannot be deleted Warning!rmdir(/public_html/generated/code/Magento): Directory not empty
This sounds like a PHP issue in one of our files as explained here [login to view URL]
We await questions and ready to start now