cancel
Showing results for 
Search instead for 
Did you mean: 

Setup:di:compile - cannot redeclare $upsAuth Carrier.php

Setup:di:compile - cannot redeclare $upsAuth Carrier.php

Hi,

I am running Magento Open Source 2.4.6p5 - since I have applied patch AC-11916 running setup:di:compile fails with:

 

MiBPHP Fatal error: Cannot redeclare Magento\Ups\Model\Carrier::$upsAuth in /var/www/html/magento/vendor/magento/module-ups/Model/Carrier.php on line 163

 

As a result also other shipping methods does not work anymore.

I tried to remove the patch, but the issue persists.

Any help is welcome!

thanks