«Cannot call private Dfe\IPay88\Method::__construct() in generated/code/Dfe/IPay88/Method/Interceptor.php»

code-generation
compilation
ipay88

(Maxim Reshetnyak) #1

Hi. New error. [E_ERROR] Uncaught Error: Cannot call private Dfe\IPay88\Method::__construct() in /var/www/html/sinjune2/generated/code/Dfe/IPay88/Method/Interceptor.php:14
Stack trace:

#0 /magento22/vendor/mage2pro/core/Payment/Method.php(1927): Dfe\IPa
y88\Method\Interceptor->__construct()
#1 /magento22/vendor/mage2pro/core/Core/lib/cache.php(299): Df\Payme
nt\Method::Df\Payment\{closure}('Dfe\\IPay88\\Meth...')
#2 /magento22/sinjune2/vendor/mage2pro/core/Payment/Method.php(1927): dfcf(Ob
ject(Closure), Array)
#3 /magento22/vendor/mage2pro/core/Payment/Plugin/Model/Method/Facto
ryT.php(57): Df\Payment\Method::sg('Dfe\\IPay88\\Meth...')
#4 /magento22/vendor/magento/framework/Interception/Interceptor.php(
135): Df\Payment\Plugin\Model\Method\FactoryT->aroundCreate(Object(Magento\Payme
nt\Model\Method\Factory\Interceptor), Object(Closure), 'Dfe\\IPay88\\Meth...')
#5 /magento22/vendor/magento/framework/Interception/Interceptor.php(
153): Magento\Payment\Model\Method\Factory\Interce
File: /magento22/generated/code/Dfe/IPay88/Method/Interceptor.php
String: 14

«Class Dfe\IPay88\Method\Interceptor may not inherit from final class (Dfe\IPay88\Method)»
(Dmitry Fedyuk) #2

@Maxim_Reshetnyak, @Man_Yang_Ch_ng
I have fixed it in the 1.4.6 version of my iPay88 module.


«Cannot call private Dfe\TwoCheckout\Method::__construct() in generated/code/Dfe/TwoCheckout/Method/Interceptor.php:14»