Fatal error: Uncaught UnexpectedValueException: FilesystemIterator::__construct(/var/www/vhosts/pentoleprofessionali.it/httpdocs/generated/code/Magento/CatalogInventory/Block/Adminhtml): Failed to open directory: No such file or directory in /var/www/vhosts/pentoleprofessionali.it/httpdocs/vendor/magento/framework/Filesystem/Driver/File.php:469
Stack trace:
#0 /var/www/vhosts/pentoleprofessionali.it/httpdocs/vendor/magento/framework/Filesystem/Driver/File.php(469): FilesystemIterator->__construct('/var/www/vhosts...', 12288)
#1 /var/www/vhosts/pentoleprofessionali.it/httpdocs/vendor/magento/framework/Filesystem/Driver/File.php(474): Magento\Framework\Filesystem\Driver\File->deleteDirectory('/var/www/vhosts...')
#2 /var/www/vhosts/pentoleprofessionali.it/httpdocs/vendor/magento/framework/Filesystem/Driver/File.php(474): Magento\Framework\Filesystem\Driver\File->deleteDirectory('/var/www/vhosts...')
#3 /var/www/vhosts/pentoleprofessionali.it/httpdocs/vendor/magento/framework/Filesystem/Driver/File.php(474): Magento\Framework\Filesystem\Driver\File->deleteDirectory('/var/www/vhosts...')
#4 /var/www/vhosts/pentoleprofessionali.it/httpdocs/vendor/magento/framework/Filesystem/Driver/File.php(474): Magento\Framework\Filesystem\Driver\File->deleteDirectory('/var/www/vhosts...')
#5 /var/www/vhosts/pentoleprofessionali.it/httpdocs/vendor/magento/framework/Filesystem/Directory/Write.php(210): Magento\Framework\Filesystem\Driver\File->deleteDirectory('/var/www/vhosts...')
#6 /var/www/vhosts/pentoleprofessionali.it/httpdocs/vendor/magento/framework/Code/GeneratedFiles.php(160): Magento\Framework\Filesystem\Directory\Write->delete('generated/code')
#7 /var/www/vhosts/pentoleprofessionali.it/httpdocs/vendor/magento/framework/Code/GeneratedFiles.php(101): Magento\Framework\Code\GeneratedFiles->deleteFolder('code')
#8 /var/www/vhosts/pentoleprofessionali.it/httpdocs/vendor/magento/framework/App/ObjectManagerFactory.php(114): Magento\Framework\Code\GeneratedFiles->cleanGeneratedFiles()
#9 /var/www/vhosts/pentoleprofessionali.it/httpdocs/vendor/magento/framework/App/Bootstrap.php(212): Magento\Framework\App\ObjectManagerFactory->create(Array)
#10 /var/www/vhosts/pentoleprofessionali.it/httpdocs/vendor/magento/framework/App/Bootstrap.php(127): Magento\Framework\App\Bootstrap->__construct(Object(Magento\Framework\App\ObjectManagerFactory), '/var/www/vhosts...', Array)
#11 /var/www/vhosts/pentoleprofessionali.it/httpdocs/pub/index.php(35): Magento\Framework\App\Bootstrap::create('/var/www/vhosts...', Array)
#12 {main}
thrown in /var/www/vhosts/pentoleprofessionali.it/httpdocs/vendor/magento/framework/Filesystem/Driver/File.php on line 469