Notice: Undefined offset: 1 in /home/vhosting/images/index.php on line 17

Fatal error: Uncaught InvalidArgumentException: Found 2 errors while validating the input provided for the GetObject operation: [Key] is missing and is a required parameter [Key] expected string length to be >= 1, but found string length of 0 in /home/vhosting/images/vendor/aws/aws-sdk-php/src/Api/Validator.php:65 Stack trace: #0 /home/vhosting/images/vendor/aws/aws-sdk-php/src/Middleware.php(78): Aws\Api\Validator->validate('GetObject', Object(Aws\Api\StructureShape), Array) #1 /home/vhosting/images/vendor/aws/aws-sdk-php/src/S3/S3Client.php(537): Aws\Middleware::Aws\{closure}(Object(Aws\Command), NULL) #2 /home/vhosting/images/vendor/aws/aws-sdk-php/src/S3/S3Client.php(560): Aws\S3\S3Client::Aws\S3\{closure}(Object(Aws\Command), NULL) #3 /home/vhosting/images/vendor/aws/aws-sdk-php/src/S3/S3Client.php(494): Aws\S3\S3Client::Aws\S3\{closure}(Object(Aws\Command), NULL) #4 /home/vhosting/images/vendor/aws/aws-sdk-php/src/S3/S3Client.php(513): Aws\S3\S3Client::Aws\S3\{closure}(Object(Aws\Command), NULL) #5 /home/vhosting/im in /home/vhosting/images/vendor/aws/aws-sdk-php/src/Api/Validator.php on line 65