I am getting following error while compilation.
can you check and fix it please.
Interceptors generation… 4/7 [================>-----------] 57% 18 secs 234.0 MiBPHP Fatal error: Class Dfe\TwoCheckout\Method\Interceptor may not inherit from final class (Dfe\TwoCheckout\Method) in /app/generated/code/Dfe/TwoCheckout/Method/Interceptor.php on line 7
«Class Dfe\TwoCheckout\Method\Interceptor may not inherit from final class (Dfe\TwoCheckout\Method)»
http://staging.sanasafinaz.com
is our development/staging url
Here is complete log.
remote: [2017-11-08 07:44:15] default.NOTICE: Output:array (
remote: 0 => ‘Compilation was started.’,
remote: 1 => ‘’,
remote: 2 => ‘Fatal error: Class Dfe\TwoCheckout\Method\Interceptor may not inherit from final class (Dfe\TwoCheckout\Method) in /app/generated/code/Dfe/TwoCheckout/Method/Interceptor.php on line 7’,
remote: ) [] []
remote: %message% 0/7 [>---------------------------] 0% < 1 sec 58.0 MiB%message% 0/7 [>---------------------------] 0% < 1 sec 58.0 MiBProxies code generation… 0/7 [>---------------------------] 0% < 1 sec 58.0 MiB
remote: Proxies code generation… 1/7 [====>-----------------------] 14% 1 sec 62.0 MiB
remote: Repositories code generation… 1/7 [====>-----------------------] 14% 1 sec 62.0 MiB
remote: Repositories code generation… 2/7 [========>-------------------] 28% 8 secs 212.0 MiB
remote: Service data attributes generation… 2/7 [========>-------------------] 28% 8 secs 212.0 MiB
remote: Service data attributes generation… 3/7 [============>---------------] 42% 8 secs 212.0 MiB
remote: Application code generator… 3/7 [============>---------------] 42% 8 secs 212.0 MiB
remote: Application code generator… 4/7 [================>-----------] 57% 18 secs 234.0 MiB
remote: Interceptors generation… 4/7 [================>-----------] 57% 18 secs 234.0 MiBPHP Fatal error: Class Dfe\TwoCheckout\Method\Interceptor may not inherit from final class (Dfe\TwoCheckout\Method) in /app/generated/code/Dfe/TwoCheckout/Method/Interceptor.php on line 7
remote:
remote:
remote: [RuntimeException]
remote: Command php ./bin/magento setup:di:compile returned code 255
remote:
remote:
remote: build
remote:
Fixed in the 1.5.8 version of the 2Checkout extension.
A post was split to a new topic: «I already use composer update but it’s not updating this version»
A post was split to a new topic: «Cannot call private Dfe\TwoCheckout\Method::__construct() in generated/code/Dfe/TwoCheckout/Method/Interceptor.php:14»