Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sivajik34 opened this issue Nov 22, 2014 · 5 comments

Comments

@sivajik34
Copy link
Contributor

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}

@mazhalai
Copy link
Contributor

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

@sivajik34
Copy link
Contributor Author

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

@Sanuch
Copy link
Contributor

Sanuch commented Nov 22, 2014

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

@sivajik34
Copy link
Contributor Author

Thank you @Sanuch .

@mayankspatel
Copy link

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

mmansoor-magento pushed a commit that referenced this issue Jan 26, 2017
…ration

Fixed issues:
 - MAGETWO-61120: Tax and Order total not correct when discount is applied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants