magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

Circular dependency: Magento\Customer\Model\Session depends on Magento\Customer\Model\Url and vice versa.

Open sivajik34 opened this issue 12 years ago • 5 comments

after latest pull from repository.i got the error. #0 /var/www/html/magento2/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(87): Magento\Framework\ObjectManager\Factory\Factory->create('Magento\Custome...') #1 /var/www/html/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Factory.php(130): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Custome...') #2 /var/www/html/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Factory.php(197): Magento\Framework\ObjectManager\Factory\Factory->_resolveArguments('Magento\Custome...', Array, Array) #3 /var/www/html/magento2/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(87): Magento\Framework\ObjectManager\Factory\Factory->create('Magento\Custome...') #4 /var/www/html/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Factory.php(130): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Custome...') #5 /var/www/html/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Factory.php(197): Magento\Framework\ObjectManager\Factory\Factory->_resolveArguments('Magento\Custome...', Array, Array) #6 /var/www/html/magento2/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(87): Magento\Framework\ObjectManager\Factory\Factory->create('Magento\Custome...') #7 /var/www/html/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Factory.php(130): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Custome...') #8 /var/www/html/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Factory.php(197): Magento\Framework\ObjectManager\Factory\Factory->_resolveArguments('Magento\Custome...', Array, Array) #9 /var/www/html/magento2/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(87): Magento\Framework\ObjectManager\Factory\Factory->create('Magento\Custome...') #10 /var/www/html/magento2/lib/internal/Magento/Framework/Interception/PluginList/PluginList.php(232): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Custome...') #11 /var/www/html/magento2/lib/internal/Magento/Framework/Interception/Chain/Chain.php(79): Magento\Framework\Interception\PluginList\PluginList->getPlugin('Magento\Cms\Con...', 'customer-app-ac...') #12 /var/www/html/magento2/var/generation/Magento/Cms/Controller/Index/Index/Interceptor.php(88): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Cms\Con...', 'dispatch', Object(Magento\Cms\Controller\Index\Index\Interceptor), Array, 'catalog-app-act...') #13 /var/www/html/magento2/app/code/Magento/Catalog/Model/App/Action/ContextPlugin.php(95): Magento\Cms\Controller\Index\Index\Interceptor->Magento\Cms\Controller\Index\Index{closure}(Object(Magento\Framework\App\Request\Http)) #14 [internal function]: Magento\Catalog\Model\App\Action\ContextPlugin->aroundDispatch(Object(Magento\Cms\Controller\Index\Index\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #15 /var/www/html/magento2/var/generation/Magento/Cms/Controller/Index/Index/Interceptor.php(93): call_user_func_array(Array, Array) #16 /var/www/html/magento2/var/generation/Magento/Cms/Controller/Index/Index/Interceptor.php(128): Magento\Cms\Controller\Index\Index\Interceptor->___call('dispatch', Array, Array) #17 /var/www/html/magento2/lib/internal/Magento/Framework/App/FrontController.php(63): Magento\Cms\Controller\Index\Index\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #18 [internal function]: Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http)) #19 /var/www/html/magento2/var/generation/Magento/Framework/App/FrontController/Interceptor.php(48): call_user_func_array(Array, Array) #20 /var/www/html/magento2/lib/internal/Magento/Framework/Interception/Chain/Chain.php(83): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array) #21 /var/www/html/magento2/lib/internal/Magento/Framework/Interception/Chain/Chain.php(76): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'requestPreproce...') #22 /var/www/html/magento2/app/code/Magento/Store/App/FrontController/Plugin/RequestPreprocessor.php(106): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http)) #23 [internal function]: Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #24 /var/www/html/magento2/lib/internal/Magento/Framework/Interception/Chain/Chain.php(81): call_user_func_array(Array, Array) #25 /var/www/html/magento2/lib/internal/Magento/Framework/Interception/Chain/Chain.php(76): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'install') #26 /var/www/html/magento2/lib/internal/Magento/Framework/Module/Plugin/DbStatusValidator.php(93): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http)) #27 [internal function]: Magento\Framework\Module\Plugin\DbStatusValidator->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #28 /var/www/html/magento2/lib/internal/Magento/Framework/Interception/Chain/Chain.php(81): call_user_func_array(Array, Array) #29 /var/www/html/magento2/lib/internal/Magento/Framework/Interception/Chain/Chain.php(76): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...') #30 /var/www/html/magento2/app/code/Magento/PageCache/Model/App/FrontController/VarnishPlugin.php(79): Magento\Framework\Interception\Chain\Chain->Magento\Framework\Interception\Chain{closure}(Object(Magento\Framework\App\Request\Http)) #31 [internal function]: Magento\PageCache\Model\App\FrontController\VarnishPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #32 /var/www/html/magento2/lib/internal/Magento/Framework/Interception/Chain/Chain.php(81): call_user_func_array(Array, Array) #33 /var/www/html/magento2/var/generation/Magento/Framework/App/FrontController/Interceptor.php(88): Magento\Framework\Interception\Chain\Chain->invokeNext('Magento\Framewo...', 'dispatch', Object(Magento\Framework\App\FrontController\Interceptor), Array, 'front-controlle...') #34 /var/www/html/magento2/app/code/Magento/PageCache/Model/App/FrontController/BuiltinPlugin.php(90): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\App\FrontController{closure}(Object(Magento\Framework\App\Request\Http)) #35 [internal function]: Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http)) #36 /var/www/html/magento2/var/generation/Magento/Framework/App/FrontController/Interceptor.php(93): call_user_func_array(Array, Array) #37 /var/www/html/magento2/var/generation/Magento/Framework/App/FrontController/Interceptor.php(115): Magento\Framework\App\FrontController\Interceptor->___call('dispatch', Array, Array) #38 /var/www/html/magento2/lib/internal/Magento/Framework/App/Http.php(133): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) #39 /var/www/html/magento2/lib/internal/Magento/Framework/App/Bootstrap.php(270): Magento\Framework\App\Http->launch() #40 /var/www/html/magento2/index.php(42): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #41 {main}

sivajik34 avatar Nov 22 '14 05:11 sivajik34

@sivajik34 did you clear your cache and var/generation directory after updating to latest code base?

mazhalai avatar Nov 22 '14 14:11 mazhalai

Thank u @mazhalai .solved.but now i'm getting following error. Looks like database is outdated. Please, use setup tool to perform update

sivajik34 avatar Nov 22 '14 14:11 sivajik34

Use install script from {{setup}} folder cd setup php -f index.php update

Sanuch avatar Nov 22 '14 15:11 Sanuch

Thank you @Sanuch .

sivajik34 avatar Nov 22 '14 15:11 sivajik34

I have this same issue. i have cleared cache and var/generation directory. but it not works

mayankspatel avatar Jul 05 '16 06:07 mayankspatel