Showing results for 
Search instead for 
Did you mean: 

Upgrade to 2.4.2

Upgrade to 2.4.2


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/
Stack trace:
#0 /chroot/home/XXXXXX/ Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Theme\\M...')
#1 /chroot/home/XXXXX/ Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Theme\\M...')
#2 /chroot/home/XXXXX/ 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/ in /chroot/home/XXXX/ on line 50



Any ideas on how to solve this?


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 for M1 & M2 with free lifetime updates!

Re: Upgrade to 2.4.2

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