From 699d32158b09939a896e19159b01e788bdc0dab9 Mon Sep 17 00:00:00 2001 From: Taras Date: Mon, 13 Dec 2021 23:48:54 +0200 Subject: [PATCH] Error: Class 'Paynl\Payment\Model\Config\Source\ScopeInterface' not found
Error: Class 'Paynl\Payment\Model\Config\Source\ScopeInterface' not found in /media/taras/Storage/www/cipriani-online.nl.local/vendor/paynl/magento2-plugin/Model/Config/Source/PinTerminals.php:137 Stack trace: #0 /media/taras/Storage/www/cipriani-online.nl.local/vendor/paynl/magento2-plugin/Model/Config/Source/PinTerminals.php(81): Paynl\Payment\Model\Config\Source\PinTerminals->getConfigValue() #1 /media/taras/Storage/www/cipriani-online.nl.local/vendor/paynl/magento2-plugin/Model/Config/Source/PinTerminals.php(59): Paynl\Payment\Model\Config\Source\PinTerminals->toArray() #2 /media/taras/Storage/www/cipriani-online.nl.local/vendor/magento/module-config/Model/Config/Structure/Element/Field.php(461): Paynl\Payment\Model\Config\Source\PinTerminals->toOptionArray() #3 /media/taras/Storage/www/cipriani-online.nl.local/vendor/magento/module-config/Model/Config/Structure/Element/Field.php(379): Magento\Config\Model\Config\Structure\Element\Field->_getOptionsFromSourceModel() #4 /media/taras/Storage/www/cipriani-online.nl.local/generated/code/Magento/Config/Model/Config/Structure/Element/Field/Interceptor.php(230): Magento\Config\Model\Config\Structure\Element\Field->getOptions() #5 /media/taras/Storage/www/cipriani-online.nl.local/vendor/magento/module-config/Block/System/Config/Form.php(394): Magento\Config\Model\Config\Structure\Element\Field\Interceptor->getOptions() #6 /media/taras/Storage/www/cipriani-online.nl.local/vendor/magento/module-config/Block/System/Config/Form.php(316): Magento\Config\Block\System\Config\Form->_initElement() #7 /media/taras/Storage/www/cipriani-online.nl.local/generated/code/Magento/Config/Block/System/Config/Form/Interceptor.php(32): Magento\Config\Block\System\Config\Form->initFields() #8 /media/taras/Storage/www/cipriani-online.nl.local/vendor/magento/module-config/Block/System/Config/Form.php(256): Magento\Config\Block\System\Config\Form\Interceptor->initFields() --- Model/Config/Source/PinTerminals.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Model/Config/Source/PinTerminals.php b/Model/Config/Source/PinTerminals.php index 72c6417e..ed9666fd 100644 --- a/Model/Config/Source/PinTerminals.php +++ b/Model/Config/Source/PinTerminals.php @@ -8,6 +8,7 @@ use \Magento\Framework\Option\ArrayInterface; use Magento\Framework\App\Config\ScopeConfigInterface; +use Magento\Store\Model\ScopeInterface; use Magento\Framework\App\RequestInterface; use \Paynl\Payment\Model\Config; use Paynl\Payment\Model\Paymentmethod\PaymentMethod;