Encounter this issue (Layout are wrong ).What is the possible issue for this?
Tried dicompile, clear cache and reindex.Still not working
exception.log
main.CRITICAL: Path "/var/www/html/var/view_preprocessed/pub/static/" cannot be used with directory "/var/www/html/var/view_preprocessed/pub/static/" {"exception":"[object] (Magento\Framework\Exception\ValidatorException(code: 0): Path \"/var/www/html/var/view_preprocessed/pub/static/\" cannot be used with directory \"/var/www/html/var/view_preprocessed/pub/static/\" at /var/www/html/vendor/magento/framework/Filesystem/Directory/PathValidator.php:61)"} [] main.CRITICAL: The specified "/var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php.13900" file could not be written Warning!file_put_contents(/var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php.13900): failed to open stream: Permission denied Class Magento\Framework\App\Http\Interceptor generation error: The requested class did not generate properly, because the 'generated' directory permission is read-only. If --- after running the 'bin/magento setup:di:compile' CLI command when the 'generated' directory permission is set to write --- the requested class did not generate properly, then you must add the generated class object to the signature of the related construct method, only. {"exception":"[object] (RuntimeException(code: 0): The specified \"/var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php.13900\" file could not be written Warning!file_put_contents(/var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php.13900): failed to open stream: Permission denied Class Magento\Framework\App\Http\Interceptor generation error: The requested class did not generate properly, because the 'generated' directory permission is read-only. If --- after running the 'bin/magento setup:di:compile' CLI command when the 'generated' directory permission is set to write --- the requested class did not generate properly, then you must add the generated class object to the signature of the related construct method, only. at /var/www/html/vendor/magento/framework/Code/Generator.php:135)"} []
sudo chmod -R 0777 pub var generated