Zend certified PHP/Magento developer

Permission Denied – Magento 2

Thanks for the support…

I uploaded a theme update to Magento 2, and run all the commands needed (Please find them below), but I’m still getting “500 Internal Server Error error”. And when I checked logs in “public_html/var/log/exception.log” I see the error

[2021-12-14 08:46:23] main.CRITICAL: Class MagentoFrameworkAppHttpInterceptor does not exist {"exception":"[object] (ReflectionException(code: -1): Class Magento\Framework\App\Http\Interceptor does not exist at /home/.../public_html/vendor/magento/framework/Code/Reader/ClassReader.php:26)"} []

Commands I already run several times…

php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento setup:static-content:deploy -f

chmod -R 0777 generated

find . -type f -exec chmod 644 {} ;

find . -type d -exec chmod 755 {} ;

find ./var -type d -exec chmod 777 {} ;

find ./pub/media -type d -exec chmod 777 {} ;

find ./pub/static -type d -exec chmod 777 {} ;

chmod 777 ./app/etc

chmod 644 ./app/etc/*.xml

rm -rf pub/static/*

rm -rf var/cache var/generation var/page_cache

find ./pub/media/catalog -type f -exec chmod 777 {} ;