Incorrect dependency ScopeConfigInterface already exists in context object [on hold]












-1














Incorrect dependency in class 'MagentoFrameworkAppConfigScopeConfigInterface' already exists in context object.
Please reply me










share|improve this 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
















-1














Incorrect dependency in class 'MagentoFrameworkAppConfigScopeConfigInterface' already exists in context object.
Please reply me










share|improve this 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














-1












-1








-1







Incorrect dependency in class 'MagentoFrameworkAppConfigScopeConfigInterface' already exists in context object.
Please reply me










share|improve this question















Incorrect dependency in class 'MagentoFrameworkAppConfigScopeConfigInterface' already exists in context object.
Please reply me







magento2






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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


















  • 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










1 Answer
1






active

oldest

votes


















0














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






share|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    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






    share|improve this answer




























      0














      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






      share|improve this answer


























        0












        0








        0






        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






        share|improve this answer














        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







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 7 hours ago

























        answered yesterday









        Amit BeraAmit Bera

        57.3k1474170




        57.3k1474170















            Popular posts from this blog

            An IMO inspired problem

            Management

            Has there ever been an instance of an active nuclear power plant within or near a war zone?