dotpay / Magento2

Magento 2
1 stars 2 forks source link

Blank screen in production mode, after compilation #9

Open wontroba666 opened 7 years ago

wontroba666 commented 7 years ago

hello, blank screen in Payment methods in Backend

Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Backend\Block\Template::__construct() must be an instance of Magento\Backend\Block\Template\Context, instance of Magento\Framework\ObjectManager\ObjectManager given, called in /home/xxx/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93 and defined in /home/xxx/public_html/vendor/magento/module-backend/Block/Template.php:44 Stack trace: #0 /home/xxx/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(93): Magento\Backend\Block\Template->__construct(Object(Magento\Framework\ObjectManager\ObjectManager)) #1 /home/xxx/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Dotpay\Dotpay\B...', Array) #2 /home/xxx/public_html/vendor/magento/framework/ObjectMana in /home/xxx/public_html/vendor/magento/module-backend/Block/Template.php on line 44

in Production mode works when i delete DI folder, works too

tbajorek commented 7 years ago

Hello, what version of Magento do you use? The blank screen is caused by described fatal error. Does it also exist in developer mode?

wontroba666 commented 7 years ago

it works same on 2.1.3 and 2.1.6 developer mode is ok error exist only in production mode

wontroba666 commented 7 years ago

extension ignore enable / disable settings - disabled still print dotpay logo on product card, cart ....