- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2019
08:55 AM
09-18-2019
08:55 AM
Uncaught Error: Cannot instantiate interface
I've installed Magento using one-click install on my host. I tried to install a theme. I moved over all of the theme files and ran php magento/big setup:upgrade, but I get the following error:
Fatal error: Uncaught Error: Cannot instantiate interface Magento\Framework\Url\RouteParamsPreprocessorInterface in /home/customer/www/xxx/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:73 Stack trace: #0 /home/customer/www/xxx/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...') #1 /home/customer/www/xxx/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...') #2 /home/customer/www/xxx/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Framewo...', NULL, 'routeParamsPrep...', 'Magento\\Framewo...') #3 /home/customer/www/xxx/public_html/vendor/magento/framework/ObjectManager/Factory/D in /home/customer/www/kwesteboutique.com/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php on line 73
I've tried clearing my cache, but it doesn't make a difference.
Labels:
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2019
11:01 AM
09-18-2019
11:01 AM
Re: Uncaught Error: Cannot instantiate interface
Hi @kweste
Try these commands and check
rm -rf generated rm -rf var/*
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento setup:di:compile
If my answer is useful Click Kudos & Accept as Solution
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2019
03:37 PM
09-18-2019
03:37 PM
Re: Uncaught Error: Cannot instantiate interface
I get up to php bin/magento setup:upgrade and just get the same error
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2019
02:46 AM
09-23-2019
02:46 AM
Re: Uncaught Error: Cannot instantiate interface
Hi @kweste ,
can you check that in your custom theme all the required files are present. or once you can remove the theme and check in default it work fine or not if this work for you accept this as solution and give kudos.