Questions tagged [dependency]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
2answers
3k views

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

Magento2 shows this error: Circular dependency: Magento\Customer\Model\Session depends on Magento\Customer\Model\Url and vice versa. I have cleared var/cache and var/generation directory. But it ...
6
votes
2answers
3k views

Dependecy error Magento 2 ('sectionLoadUrl' error)

I've asked a similar question before, but because of some research, it would not have been relevant anymore. So here a more comprehensive explanation of my problem. My scenario I want the cart page ...
5
votes
1answer
2k views

Ui-component form (Adding drop down field)in magento 2

I need to create backend admin form which contains two dropdown fields.But One is dependent on other. One dropdown contains attributes like brand,color etc.. The second one contains associate options ...
2
votes
0answers
598 views

Magento 2 Admin Ui form fieldset dependency

I have created a UI form in admin. I have one select field which has some options.For some values I want to hide a fieldset in the form. How can I achieve it. Referred this link magento 2.1 How do ...
2
votes
1answer
1k views

Magento2 Dependent select fields filtering

I can use the country and state fields in admin form by just pasting the form xml explained here ui_component form state/region field update after country select (M 2.1) Now My question is that I am ...
2
votes
1answer
1k views

Widget dependency doesn't work for chooser fields

I have one yes/no select field in a widget.xml If "yes" was selected then category select field should be visible. But category select field always visible instead. That's wrong. Here is my widget....
1
vote
2answers
2k views

Circular Dependency Error in magento2

In magento2.x I am using the helper and the model class files where I need certain functions from helper so I just created the object using DI and similary when I am trying to get the model object ...
0
votes
1answer
372 views

Incorrect dependency error when run setup:di:compile command in magento 2.1.x

I have run command bin/magento setup:di:compile in my Magento 2.1.x. I got below error. Solwin\ProductAttachment\Controller\Adminhtml\Attachment Incorrect dependency in class Solwin\...