Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /var/www/html/images.cienciaviva.pt/vendor/guzzlehttp/promises/src/RejectedPromise.php:16
Stack trace:
#0 /var/www/html/images.cienciaviva.pt/vendor/guzzlehttp/promises/src/RejectedPromise.php(16): method_exists()
#1 /var/www/html/images.cienciaviva.pt/vendor/aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php(56): GuzzleHttp\Promise\RejectedPromise->__construct()
#2 /var/www/html/images.cienciaviva.pt/vendor/guzzlehttp/promises/src/Promise.php(203): Aws\Handler\GuzzleV6\GuzzleHandler::Aws\Handler\GuzzleV6\{closure}()
#3 /var/www/html/images.cienciaviva.pt/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler()
#4 /var/www/html/images.cienciaviva.pt/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#5 /var/www/html/images.cienciaviva.pt/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(98): GuzzleHttp\Promise\TaskQueue->run()
#6 /var/www/html/images.cienciaviva.pt/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(125): GuzzleHttp\Handler\CurlMultiHandler->tick()
#7 /var/www/html/images.cienciaviva.pt/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Handler\CurlMultiHandler->execute()
#8 /var/www/html/images.cienciaviva.pt/vendor/guzzlehttp/promises/src/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn()
#9 /var/www/html/images.cienciaviva.pt/vendor/guzzlehttp/promises/src/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending()
#10 /var/www/html/images.cienciaviva.pt/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()
#11 /var/www/html/images.cienciaviva.pt/vendor/guzzlehttp/promises/src/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending()
#12 /var/www/html/images.cienciaviva.pt/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()
#13 /var/www/html/images.cienciaviva.pt/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#14 /var/www/html/images.cienciaviva.pt/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(58): GuzzleHttp\Promise\Promise->wait()
#15 /var/www/html/images.cienciaviva.pt/vendor/aws/aws-sdk-php/src/S3/S3ClientTrait.php(287): Aws\AwsClient->execute()
#16 /var/www/html/images.cienciaviva.pt/vendor/aws/aws-sdk-php/src/S3/S3ClientTrait.php(268): Aws\S3\S3Client->checkExistenceWithCommand()
#17 /var/www/html/images.cienciaviva.pt/vendor/league/flysystem-aws-s3-v3/src/AwsS3Adapter.php(234): Aws\S3\S3Client->doesObjectExist()
#18 /var/www/html/images.cienciaviva.pt/vendor/league/flysystem/src/Filesystem.php(57): League\Flysystem\AwsS3v3\AwsS3Adapter->has()
#19 /var/www/html/images.cienciaviva.pt/vendor/league/glide/src/Server.php(164): League\Flysystem\Filesystem->has()
#20 /var/www/html/images.cienciaviva.pt/vendor/league/glide/src/Server.php(498): League\Glide\Server->sourceFileExists()
#21 /var/www/html/images.cienciaviva.pt/vendor/league/glide/src/Server.php(465): League\Glide\Server->makeImage()
#22 /var/www/html/images.cienciaviva.pt/index.php(47): League\Glide\Server->outputImage()
#23 {main}
thrown in /var/www/html/images.cienciaviva.pt/vendor/guzzlehttp/promises/src/RejectedPromise.php on line 16