cancel
Showing results for 
Search instead for 
Did you mean: 

Circular dependency issue when enabling an extension - how to deal with this?

Circular dependency issue when enabling an extension - how to deal with this?

When I enable Force Login extension I get the following:

 

Exception #0 (LogicException): Circular dependency: Magento\Backend\App\Action\Context depends on bitExpert\ForceCustomerLogin\Controller\LoginCheck and vice versa.

 

Any idea how to fix this?

 

Magento 2.1.3

PHP 7.0.15

 

Thanks Smiley Happy

Tags (1)
2 REPLIES

Re: Circular dependency issue when enabling an extension - how to deal with this?

Mind reporting the issue in the issue tracker? Please add the stack trace to the bug report as well as the list of modules you have installed. This might help us to find the root cause quicker.

 

Re: Circular dependency issue when enabling an extension - how to deal with this?

We recently fixed this issue for one of our clients. The source of the problem was found in a theme the client bought. Unfortunately the quality of the theme code was not the best. We were able to fix the problem in the theme. In case you need help, ping me.