We identified an issue in their code and are doing our best to pass it onto them now. In case they see this or if another AAWP user wants to point it out. This is the issue. I’m copy-pasting from our developer:
They are not appropriately using an autoloader for their vendor packages. They’re explicitly requiring function files for some reason.
They should change this block:
if ( ! function_exists( 'GuzzleHttp\choose_handler' ) )
require_once _DIR_ . '/vendor/amazon-paapi5/vendor/guzzlehttp/guzzle/src/functions.php';
if ( ! function_exists( '\GuzzleHttp\Psr7\build_query' ) )
require_once _DIR_ . '/vendor/amazon-paapi5/vendor/guzzlehttp/psr7/src/functions.php';
if ( ! function_exists( '\Promise\promise_for' ) )
require_once _DIR_ . '/vendor/amazon-paapi5/vendor/guzzlehttp/promises/src/functions.php';
To be this instead:
if ( ! function_exists( 'GuzzleHttp\choose_handler' ) )
require_once _DIR_ . '/vendor/amazon-paapi5/vendor/guzzlehttp/guzzle/src/functions_include.php';
if ( ! function_exists( '\GuzzleHttp\Psr7\build_query' ) )
require_once _DIR_ . '/vendor/amazon-paapi5/vendor/guzzlehttp/psr7/src/functions_include.php';
if ( ! function_exists( '\Promise\promise_for' ) )
require_once _DIR_ . '/vendor/amazon-paapi5/vendor/guzzlehttp/promises/src/functions_include.php';
-
This reply was modified 5 years, 4 months ago by
boostwpcom.
-
This reply was modified 5 years, 4 months ago by
boostwpcom.