Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in phar:///web/sites/calfcare/app/functions/aws.phar/GuzzleHttp/Promise/RejectedPromise.php:16
Stack trace:
#0 phar:///web/sites/calfcare/app/functions/aws.phar/GuzzleHttp/Promise/RejectedPromise.php(16): method_exists()
#1 phar:///web/sites/calfcare/app/functions/aws.phar/Aws/Handler/GuzzleV6/GuzzleHandler.php(57): GuzzleHttp\Promise\RejectedPromise->__construct()
#2 phar:///web/sites/calfcare/app/functions/aws.phar/GuzzleHttp/Promise/Promise.php(203): Aws\Handler\GuzzleV6\GuzzleHandler::Aws\Handler\GuzzleV6\{closure}()
#3 phar:///web/sites/calfcare/app/functions/aws.phar/GuzzleHttp/Promise/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler()
#4 phar:///web/sites/calfcare/app/functions/aws.phar/GuzzleHttp/Promise/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#5 phar:///web/sites/calfcare/app/functions/aws.phar/GuzzleHttp/Handler/CurlMultiHandler.php(96): GuzzleHttp\Promise\TaskQueue->run()
#6 phar:///web/sites/calfcare/app/functions/aws.phar/GuzzleHttp/Handler/CurlMultiHandler.php(123): GuzzleHttp\Handler\CurlMultiHandler->tick()
#7 phar:///web/sites/calfcare/app/functions/aws.phar/GuzzleHttp/Promise/Promise.php(246): GuzzleHttp\Handler\CurlMultiHandler->execute()
#8 phar:///web/sites/calfcare/app/functions/aws.phar/GuzzleHttp/Promise/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn()
#9 phar:///web/sites/calfcare/app/functions/aws.phar/GuzzleHttp/Promise/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending()
#10 phar:///web/sites/calfcare/app/functions/aws.phar/GuzzleHttp/Promise/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()
#11 phar:///web/sites/calfcare/app/functions/aws.phar/GuzzleHttp/Promise/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending()
#12 phar:///web/sites/calfcare/app/functions/aws.phar/GuzzleHttp/Promise/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()
#13 phar:///web/sites/calfcare/app/functions/aws.phar/GuzzleHttp/Promise/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#14 phar:///web/sites/calfcare/app/functions/aws.phar/Aws/AwsClientTrait.php(59): GuzzleHttp\Promise\Promise->wait()
#15 phar:///web/sites/calfcare/app/functions/aws.phar/Aws/S3/S3ClientTrait.php(286): Aws\AwsClient->execute()
#16 phar:///web/sites/calfcare/app/functions/aws.phar/Aws/S3/S3ClientTrait.php(267): Aws\S3\S3Client->checkExistenceWithCommand()
#17 /web/sites/topside/animal.php(923): Aws\S3\S3Client->doesObjectExist()
#18 {main}
thrown in
phar:///web/sites/calfcare/app/functions/aws.phar/GuzzleHttp/Promise/RejectedPromise.php on line
16