«Cannot use Df\Payment\Webhook\Response as Response because the name is already in use in mage2pro/core/Payment/R/Method.php»

compilation
bug
mage2.pro
(Sam D) #1

Hi
I am getting this error when doing setup/upgrade in Magento. Any ideas how to fix it?
thank you

PHP Fatal error: Cannot use Df\Payment\Webhook\Response as Response because the name is already in use in /app/vendor/mage2pro/core/Payment/R/Method.php on line 5

0 Likes

(Dmitry Fedyuk) #2

I was unable to reproduce this issue none with PHP 5.6 nor with PHP 7, but I have changed the class declaration in the 1.11.0 version of the mage2pro/core, so the issue should be fixed after upgrade.

0 Likes