Hello,
I am getting the following error after installing Magento 2 on my webserver.
Uncaught UnexpectedValueException: Invalid parameter configuration provided for $enforcedOptions argument of Magento\Framework\App\Cache\Frontend\Factory.
Any clues as to what this may refer to? Thanks!
The PHP code in question is this:
public function __construct( \Magento\Framework\ObjectManagerInterface $objectManager, Filesystem $filesystem, \Magento\Framework\App\ResourceConnection $resource, array $enforcedOptions = [], array $decorators = [] ) { $this->_objectManager = $objectManager; $this->_filesystem = $filesystem; $this->_resource = $resource; $this->_enforcedOptions = $enforcedOptions; $this->_decorators = $decorators; }
Install specs:
Composer version: 2.0.14
PHP version: 7.4.20
Magento version: 2.4
All Document required PHP packages were installed.
Thanks for the reply! I tried this, but unfortunately it did not help, the error still persists!
Hi,
After Magento 2.3 into 2.4.2 upgrade successfully i got below error, i removed existing cache configuration but its not working, please suggest answer.
https://prnt.sc/EVKyafIs6V2_