Post by pm-netti » Sat Sep 17, 2022 7:55 pm

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.
Last edited by pm-netti on Mon Sep 19, 2022 2:06 pm, edited 1 time in total.

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by pm-netti » Sat Sep 17, 2022 10:26 pm

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');
;)

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland

Post by pm-netti » Mon Sep 19, 2022 2:06 pm

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.

User avatar
Active Member

Posts

Joined
Sat Apr 07, 2012 11:22 pm
Location - Kittilä, Finland
Who is online

Users browsing this forum: Google [Bot] and 3 guests