cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade to 2.4.2

Upgrade to 2.4.2

Hello, 

I am having an error when upgrade Magento to 2.4.2 (from 2.3.3)  I have uploaded the files via FTP and also updated via composer. I am running php 7.4 (since 8.0 is not supported)

 

I have cleared Cache but still getting the following error:

 

PHP Fatal error: Uncaught Error: Cannot instantiate interface Magento\Theme\Model\Theme\StoreThemesResolverInterface in /chroot/home/XXXXX/XXXXXX.net/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:50
Stack trace:
#0 /chroot/home/XXXXXX/XXXXXX.net/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Theme\\M...')
#1 /chroot/home/XXXXX/XXXXXX.net/vendor/magento/module-theme/Model/Config/Customization.php(75): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Theme\\M...')
#2 /chroot/home/XXXXX/XXXXX.net/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Theme\Model\Config\Customization->__construct(Object(Magento\Store\Model\StoreManager), Object(Magento\Theme\Model\View\Design\Proxy), Object(Magento\Theme\Model\Theme\ThemeProvider), NULL)
#3 /chroot/home/XXXXX/XXXXX.net/vendor/magento/framework/ObjectManager/Factory/ in /chroot/home/XXXX/XXXXXX.net/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php on line 50

 

 

Any ideas on how to solve this?

2 REPLIES 2

Re: Upgrade to 2.4.2

Hello @Nexobus 

 

redis-clis FLUSHALL

can you try this command and then run upgrade, deploy, cache, index commands?

Was my answer helpful? You can accept it as a solution.
175+ professional extensions
Need a developer?Hire Magento Developer

Re: Upgrade to 2.4.2

I have the same error but I don't have redis.