Page 1 of 1

AWS sucks badly [SOLVED]

Posted: Sat Sep 17, 2022 7:55 pm
by pm-netti
For me, running the payment method extension bumped into Vendor AWS errors.
In the file vendor/aws/aws-sdk-php/src/functions.php, apparently all functions stop the program with an error:
PHP Fatal error: Cannot redeclare .....

I got my own payment method extension working at this point when I disabled AWS in the vendor/compare directory.

Re: AWS sucks badly

Posted: Sat Sep 17, 2022 10:26 pm
by pm-netti
To make it easier, if necessary, you can block the display of AWS functions in the file system/vendor.php:

Code: Select all

// require_once(DIR_STORAGE . 'vendor/aws/aws-sdk-php/src/functions.php');
;)

Re: AWS sucks badly

Posted: Mon Sep 19, 2022 2:06 pm
by pm-netti
This problem is solved.

File extension/plugin/system/library/plugin.php:

Code: Select all

  require_once(DIR_STORAGE . 'vendor/autoload.php');
This feature of previous OC versions is not needed in OC version 4.