Okay
  Public Ticket #1354888
Compile Error
Closed

Comments

  •  1
    flipnixgroup started the conversation

    Good day,

    When I run "php bin/magento setup:di:compile" command, I get following error:

    Interception cache generation... 6/7 [========================>---]  85% 3 mins 504.2 MiBErrors during compilation:
            MGS\Mpanel\Block\Widget\ProductTabAttr
                    Incorrect dependency in class MGS\Mpanel\Block\Widget\ProductTabAttr in /var/www/html/haddowdemo/app/code/MGS/Mpanel/Block/Widget/ProductTabAttr.php
    \Magento\Store\Model\StoreManagerInterface already exists in context object
            MGS\Mpanel\Block\Widget\ProductTabCate
                    Incorrect dependency in class MGS\Mpanel\Block\Widget\ProductTabCate in /var/www/html/haddowdemo/app/code/MGS/Mpanel/Block/Widget/ProductTabCate.php
    \Magento\Store\Model\StoreManagerInterface already exists in context object
            MGS\Mpanel\Block\Widget\ProductList
                    Incorrect dependency in class MGS\Mpanel\Block\Widget\ProductList in /var/www/html/haddowdemo/app/code/MGS/Mpanel/Block/Widget/ProductList.php
    \Magento\Store\Model\StoreManagerInterface already exists in context object
    Total Errors Count: 3


    Will it affect the template?

    Thanks

    Regards,

    Jack

  • [deleted] replied

    Hello,

    In fact, it doesn't affect to your site but if you want to fix, please provide your site info ( admin account and sssh account ) I will check and help you

  •   flipnixgroup replied privately
  • [deleted] replied

    Hello,

    I have fixed for you, you can check

  •  1
    flipnixgroup replied

    Hi,

    The compilation working good. May I know what have you changed?

    Thanks

  • [deleted] replied

    Hello,

    I have changed the following files:

    app/code/MGS/Mpanel/Block/Widget/ProductTabAttr.php

    app/code/MGS/Mpanel/Block/Widget/ProductTabCate.php

    app/code/MGS/Mpanel/Block/Widget/ProductList.php

    :) Just wonder if you feel happy with our theme and my service, can you please rate 5stars for us on the themeforest, it will helps us, you can go to this link to rate:

    https://themeforest.net/item/unero-minimalist-magento-2-theme/reviews/20610432

    Thanks very much

  •   flipnixgroup replied privately
  •  1
    flipnixgroup replied

    Hi,

    May I know is the theme compatible with Magento 2.1.9?

    The website we used Magento 2 REST API to call cart function and getting below error:

    {"message":"No such entity with %fieldName = %fieldValue","parameters":{"fieldName":"cartId","fieldValue":"0"}}


    Is working all the while in Magento 2.1.9 default template.

    Thanks

  • [deleted] replied

    Hello,

    THanks for your feedback, our theme compatible with magento 2.1.9 but what is the magento 2 rest api? It is a plugin, extension?

  •  1
    flipnixgroup replied

    Hi,

    Ok.

    We build custom module and use "REST API" to call Magento 2 function.

    Thanks

  • [deleted] replied

    Hello,

    Thanks for your feedback but if it is your custom module, I will can't support it

  •  1
    flipnixgroup replied

    Hi,

    Noted, is alright. 

    By the way, how can I give you rating? I click the link given and go to review, but no rating.

    Thanks

    Regards,

    Jack

  • [deleted] replied

    Hi,

    Thanks, please login to themeforest with account you purchased our theme, and go to this link to rate:

    https://themeforest.net/item/unero-minimalist-magento-2-theme/reviews/20610432

    Thanks very much