mobilpay / Magento

MAGENTO implementation - CARD Processing @mobilPay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eroare la compilare

razvanmitre opened this issue · comments

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.

See #3 #4 that should fix it. Thanks to @filipac

great I could help :)

it is ok now, thanks!