Fatal error: Uncaught RuntimeException: Can't create directory /var/www/vhosts/kevinscatalog/magento/var/generation/Magento/Framework/App/ResourceConnection/. in /var/www/vhosts/kevinscatalog/magento/vendor/magento/framework/Code/Generator.php:115 Stack trace: #0 /var/www/vhosts/kevinscatalog/magento/vendor/magento/framework/Code/Generator/Autoloader.php(35): Magento\Framework\Code\Generator->generateClass('Magento\\Framewo...') #1 [internal function]: Magento\Framework\Code\Generator\Autoloader->load('Magento\\Framewo...') #2 [internal function]: spl_autoload_call('Magento\\Framewo...') #3 /var/www/vhosts/kevinscatalog/magento/vendor/magento/framework/Code/Reader/ClassReader.php(19): ReflectionClass->__construct('Magento\\Framewo...') #4 /var/www/vhosts/kevinscatalog/magento/vendor/magento/framework/ObjectManager/Definition/Runtime.php(44): Magento\Framework\Code\Reader\ClassReader->getConstructor('Magento\\Framewo...') #5 /var/www/vhosts/kevinscatalog/magento/vendor/magento/framework/ObjectManager/Factory/Dynamic/Develo in /var/www/vhosts/kevinscatalog/magento/vendor/magento/framework/Code/Generator.php on line 115