i have a big Problem. I have installed a theme and as soon as I log into the backend the following error comes up.
Error: Cannot instantiate interface Magento\Framework\Filesystem\DriverInterface in /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121 Stack trace: #0 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject() #1 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create() #2 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get() #3 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create() #4 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get() #5 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create() #6 /var/www/html/vendor/magento/framework/Interception/PluginList/PluginList.php(174): Magento\Framework\ObjectManager\ObjectManager->get() #7 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(133): Magento\Framework\Interception\PluginList\PluginList->getPlugin() #8 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\Data\Form\FormKey\Validator\Interceptor->Magento\Framework\Interception{closure}() #9 /var/www/html/generated/code/Magento/Framework/Data/Form/FormKey/Validator/Interceptor.php(23): Magento\Framework\Data\Form\FormKey\Validator\Interceptor->___callPlugins() #10 /var/www/html/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(158): Magento\Framework\Data\Form\FormKey\Validator\Interceptor->validate() #11 /var/www/html/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(127): Magento\Backend\App\Action\Plugin\Authentication->_processNotLoggedInUser() #12 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch() #13 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->Magento\Framework\Interception{closure}() #14 /var/www/html/generated/code/Magento/Backend/Controller/Adminhtml/Index/Index/Interceptor.php(32): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->___callPlugins() #15 /var/www/html/vendor/magento/framework/App/FrontController.php(245): Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor->dispatch() #16 /var/www/html/vendor/magento/framework/App/FrontController.php(212): Magento\Framework\App\FrontController->getActionResponse() #17 /var/www/html/vendor/magento/framework/App/FrontController.php(147): Magento\Framework\App\FrontController->processRequest() #18 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch() #19 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent() #20 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}() #21 /var/www/html/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins() #22 /var/www/html/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch() #23 /var/www/html/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http->launch() #24 /var/www/html/pub/index.php(30): Magento\Framework\App\Bootstrap->run() #25 {main}
Can anyone help me? I have magento-2.4.4 installed.
Well, Magento 2.4.2 doesn't get along very well with the installations inside subfolders. It will attempt to load your application from the <magento_root>/pub/ folder, unless instructed otherwise. facetime for pc
Try to run the below commands-
rm -rf generated/* var/cache/* php bin/magento s:d:c php bin/magento s:s:d -f