Warning: Undefined array key "frontend" in /app/vendor/magento/framework/App/Cache/Frontend/Pool.php on line 90

Fatal error: Uncaught Magento\Framework\Exception\RuntimeException: Type Error occurred when creating object: Magento\Framework\App\Interception\Cache\CompiledConfig, array_replace_recursive(): Argument #2 must be of type array, null given in /app/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:131 Stack trace: #0 /app/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #1 /app/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...') #2 /app/vendor/magento/framework/App/ObjectManager/Environment/Compiled.php(117): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...') #3 /app/vendor/magento/framework/App/ObjectManagerFactory.php(191): Magento\Framework\App\ObjectManager\Environment\Compiled->configureObjectManager(Object(Magento\Framework\Interception\ObjectManager\Config\Compiled), Array) #4 /app/vendor/magento/framework/App/Bootstrap.php(212): Magento\Framework\App\ObjectManagerFactory->create(Array) #5 /app/vendor/magento/framework/App/Bootstrap.php(127): Magento\Framework\App\Bootstrap->__construct(Object(Magento\Framework\App\ObjectManagerFactory), '/app', Array) #6 /app/pub/index.php(27): Magento\Framework\App\Bootstrap::create('/app', Array) #7 {main} thrown in /app/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 131