Fatal error: Uncaught RuntimeException: Can't create directory /opt/bitnami/apps/magento/htdocs/var/generation/Magento/Directory/Helper/Data/. in /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Code/Generator.php:115 Stack trace: #0 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Code/Generator/Autoloader.php(35): Magento\Framework\Code\Generator->generateClass('Magento\\Directo...') #1 [internal function]: Magento\Framework\Code\Generator\Autoloader->load('Magento\\Directo...') #2 [internal function]: spl_autoload_call('Magento\\Directo...') #3 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Relations/Runtime.php(38): class_exists('Magento\\Directo...') #4 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Interception/Config/Config.php(153): Magento\Framework\ObjectManager\Relations\Runtime->has('Magento\\Directo...') #5 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Interception/Config/Config.php(147): Magento\Framework\Interception\Config\Config->_inheritIn in /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Code/Generator.php on line 115