Incorrect dependency ScopeConfigInterface already exists in context object [on hold]
Incorrect dependency in class 'MagentoFrameworkAppConfigScopeConfigInterface'
already exists in context object.
Please reply me
magento2
put on hold as off-topic by sv3n, Marius♦ 7 hours ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: http://sscce.org/" – Marius
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
Incorrect dependency in class 'MagentoFrameworkAppConfigScopeConfigInterface'
already exists in context object.
Please reply me
magento2
put on hold as off-topic by sv3n, Marius♦ 7 hours ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: http://sscce.org/" – Marius
If this question can be reworded to fit the rules in the help center, please edit the question.
Please share more details of error?
– Amit Bera♦
yesterday
add a comment |
Incorrect dependency in class 'MagentoFrameworkAppConfigScopeConfigInterface'
already exists in context object.
Please reply me
magento2
Incorrect dependency in class 'MagentoFrameworkAppConfigScopeConfigInterface'
already exists in context object.
Please reply me
magento2
magento2
edited yesterday
Rv Singh
653417
653417
asked yesterday
Shweta KhattarShweta Khattar
64
64
put on hold as off-topic by sv3n, Marius♦ 7 hours ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: http://sscce.org/" – Marius
If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as off-topic by sv3n, Marius♦ 7 hours ago
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions on problems in code you've written must describe the specific problem and include valid code to reproduce it. For help writing short, self-contained syntactically-valid examples, see: http://sscce.org/" – Marius
If this question can be reworded to fit the rules in the help center, please edit the question.
Please share more details of error?
– Amit Bera♦
yesterday
add a comment |
Please share more details of error?
– Amit Bera♦
yesterday
Please share more details of error?
– Amit Bera♦
yesterday
Please share more details of error?
– Amit Bera♦
yesterday
add a comment |
1 Answer
1
active
oldest
votes
Yes, You have to try to inject
MagentoFrameworkAppConfigScopeConfigInterface
to your block.
If your block is inheritance from MagentoFrameworkViewElementTemplate
Or inheritance class , and that class already have the object of MagentoFrameworkAppConfigScopeConfigInterface
.So you have to move it from your class and try to access using $context variable
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes, You have to try to inject
MagentoFrameworkAppConfigScopeConfigInterface
to your block.
If your block is inheritance from MagentoFrameworkViewElementTemplate
Or inheritance class , and that class already have the object of MagentoFrameworkAppConfigScopeConfigInterface
.So you have to move it from your class and try to access using $context variable
add a comment |
Yes, You have to try to inject
MagentoFrameworkAppConfigScopeConfigInterface
to your block.
If your block is inheritance from MagentoFrameworkViewElementTemplate
Or inheritance class , and that class already have the object of MagentoFrameworkAppConfigScopeConfigInterface
.So you have to move it from your class and try to access using $context variable
add a comment |
Yes, You have to try to inject
MagentoFrameworkAppConfigScopeConfigInterface
to your block.
If your block is inheritance from MagentoFrameworkViewElementTemplate
Or inheritance class , and that class already have the object of MagentoFrameworkAppConfigScopeConfigInterface
.So you have to move it from your class and try to access using $context variable
Yes, You have to try to inject
MagentoFrameworkAppConfigScopeConfigInterface
to your block.
If your block is inheritance from MagentoFrameworkViewElementTemplate
Or inheritance class , and that class already have the object of MagentoFrameworkAppConfigScopeConfigInterface
.So you have to move it from your class and try to access using $context variable
edited 7 hours ago
answered yesterday
Amit Bera♦Amit Bera
57.3k1474170
57.3k1474170
add a comment |
add a comment |
Please share more details of error?
– Amit Bera♦
yesterday