eroare la compilare
razvanmitre opened this issue · comments
Razvan Mitre commented
Cand rulez comanda php bin/magento setup:di:compile
Imi arunca urmatoarele erori:
Compilation was started.
Interception cache generation... 6/7 [========================>---] 85% 45 secs 270.0 MiBErrors during compilation:
Mobilpay\Credit\Block\Redirect
Incorrect dependency in class Mobilpay\Credit\Block\Redirect in /Users/razvan/Desktop/workspace/AW/yvy/app/code/Mobilpay/Credit/Block/Redirect.php
\Magento\Store\Model\StoreManagerInterface already exists in context object
\Magento\Framework\App\Config\ScopeConfigInterface already exists in context object
Mobilpay\Credit\Controller\Cc\Success
Incorrect dependency in class Mobilpay\Credit\Controller\Cc\Success in /Users/razvan/Desktop/workspace/AW/yvy/app/code/Mobilpay/Credit/Controller/Cc/Success.php
\Magento\Framework\Message\ManagerInterface already exists in context object
Total Errors Count: 2
Errors during compilation:
Mobilpay\Credit\Block\Redirect
Incorrect dependency in class Mobilpay\Credit\Block\Redirect in /Users/razvan/Desktop/workspace/AW/yvy/app/code/Mobilpay/Credit/Block/Redirect.php
\Magento\Store\Model\StoreManagerInterface already exists in context object
\Magento\Framework\App\Config\ScopeConfigInterface already exists in context object
Mobilpay\Credit\Controller\Cc\Success
Incorrect dependency in class Mobilpay\Credit\Controller\Cc\Success in /Users/razvan/Desktop/workspace/AW/yvy/app/code/Mobilpay/Credit/Controller/Cc/Success.php
\Magento\Framework\Message\ManagerInterface already exists in context object
Total Errors Count: 2
Errors during compilation:
Mobilpay\Credit\Block\Redirect
Incorrect dependency in class Mobilpay\Credit\Block\Redirect in /Users/razvan/Desktop/workspace/AW/yvy/app/code/Mobilpay/Credit/Block/Redirect.php
\Magento\Store\Model\StoreManagerInterface already exists in context object
\Magento\Framework\App\Config\ScopeConfigInterface already exists in context object
Mobilpay\Credit\Controller\Cc\Success
Incorrect dependency in class Mobilpay\Credit\Controller\Cc\Success in /Users/razvan/Desktop/workspace/AW/yvy/app/code/Mobilpay/Credit/Controller/Cc/Success.php
\Magento\Framework\Message\ManagerInterface already exists in context object
Total Errors Count: 2
Errors during compilation:
Mobilpay\Credit\Block\Redirect
Incorrect dependency in class Mobilpay\Credit\Block\Redirect in /Users/razvan/Desktop/workspace/AW/yvy/app/code/Mobilpay/Credit/Block/Redirect.php
\Magento\Store\Model\StoreManagerInterface already exists in context object
\Magento\Framework\App\Config\ScopeConfigInterface already exists in context object
Mobilpay\Credit\Controller\Cc\Success
Incorrect dependency in class Mobilpay\Credit\Controller\Cc\Success in /Users/razvan/Desktop/workspace/AW/yvy/app/code/Mobilpay/Credit/Controller/Cc/Success.php
\Magento\Framework\Message\ManagerInterface already exists in context object
Total Errors Count: 2
Errors during compilation:
Mobilpay\Credit\Block\Redirect
Incorrect dependency in class Mobilpay\Credit\Block\Redirect in /Users/razvan/Desktop/workspace/AW/yvy/app/code/Mobilpay/Credit/Block/Redirect.php
\Magento\Store\Model\StoreManagerInterface already exists in context object
\Magento\Framework\App\Config\ScopeConfigInterface already exists in context object
Mobilpay\Credit\Controller\Cc\Success
Incorrect dependency in class Mobilpay\Credit\Controller\Cc\Success in /Users/razvan/Desktop/workspace/AW/yvy/app/code/Mobilpay/Credit/Controller/Cc/Success.php
\Magento\Framework\Message\ManagerInterface already exists in context object
Total Errors Count: 2
Errors during compilation:
Mobilpay\Credit\Block\Redirect
Incorrect dependency in class Mobilpay\Credit\Block\Redirect in /Users/razvan/Desktop/workspace/AW/yvy/app/code/Mobilpay/Credit/Block/Redirect.php
\Magento\Store\Model\StoreManagerInterface already exists in context object
\Magento\Framework\App\Config\ScopeConfigInterface already exists in context object
Mobilpay\Credit\Controller\Cc\Success
Incorrect dependency in class Mobilpay\Credit\Controller\Cc\Success in /Users/razvan/Desktop/workspace/AW/yvy/app/code/Mobilpay/Credit/Controller/Cc/Success.php
\Magento\Framework\Message\ManagerInterface already exists in context object
Total Errors Count: 2
Mentionez ca se termina cu succes compilarea, si ca nu am observat probleme de funcionalitate. Folosesc Magento 2.1.9.
andreipanait commented
Filip Iulian Pacurar commented
great I could help :)
Razvan Mitre commented
it is ok now, thanks!