exception 'Magento\Framework\Exception\LocalizedException' with message 'Can't create directory /usr/share/nginx/html/var/generation/Magento/Directory/Helper/Data/.' in /usr/share/nginx/html/vendor/magento/framework/Code/Generator.php:103 Stack trace: #0 /usr/share/nginx/html/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 /usr/share/nginx/html/vendor/magento/framework/ObjectManager/Relations/Runtime.php(38): class_exists('Magento\\Directo...') #4 /usr/share/nginx/html/vendor/magento/framework/Interception/Config/Config.php(153): Magento\Framework\ObjectManager\Relations\Runtime->has('Magento\\Directo...') #5 /usr/share/nginx/html/vendor/magento/framework/Interception/Config/Config.php(147): Magento\Framework\Interception\Config\Config->_inheritInterception('Magento\\Directo...') #6 /usr/share/nginx/html/vendor/magento/framework/Interception/Config/Config.php(176): Magento\Framework\Interception\Config\Config->_inheritInterception('DirectoryHelper...') #7 /usr/share/nginx/html/vendor/magento/framework/Interception/Config/Config.php(127): Magento\Framework\Interception\Config\Config->hasPlugins('DirectoryHelper...') #8 /usr/share/nginx/html/vendor/magento/framework/Interception/Config/Config.php(103): Magento\Framework\Interception\Config\Config->initialize(Array) #9 /usr/share/nginx/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(109): Magento\Framework\Interception\Config\Config->__construct(Object(Magento\Framework\ObjectManager\Config\Reader\Dom\Proxy), Object(Magento\Framework\Config\Scope), Object(Magento\Framework\App\Cache\Type\Config), Object(Magento\Framework\ObjectManager\Relations\Runtime), Object(Magento\Framework\Interception\ObjectManager\Config\Developer), Object(Magento\Framework\ObjectManager\Definition\Runtime), 'interception') #10 /usr/share/nginx/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(89): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #11 /usr/share/nginx/html/vendor/magento/framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...') #12 /usr/share/nginx/html/vendor/magento/framework/App/ObjectManager/Environment/Developer.php(82): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...') #13 /usr/share/nginx/html/vendor/magento/framework/App/ObjectManagerFactory.php(181): Magento\Framework\App\ObjectManager\Environment\Developer->configureObjectManager(Object(Magento\Framework\Interception\ObjectManager\Config\Developer), Array) #14 /usr/share/nginx/html/vendor/magento/framework/App/Bootstrap.php(385): Magento\Framework\App\ObjectManagerFactory->create(Array) #15 /usr/share/nginx/html/vendor/magento/framework/App/Bootstrap.php(232): Magento\Framework\App\Bootstrap->initObjectManager() #16 /usr/share/nginx/html/pub/index.php(36): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...') #17 {main}