Warning: Undefined variable $argv in /home/eshancollegemgmt/public_html/s3_scripts/delete_file_from_s3.php on line 10

Warning: Trying to access array offset on value of type null in /home/eshancollegemgmt/public_html/s3_scripts/delete_file_from_s3.php on line 10

Warning: Undefined variable $argv in /home/eshancollegemgmt/public_html/s3_scripts/delete_file_from_s3.php on line 11

Warning: Trying to access array offset on value of type null in /home/eshancollegemgmt/public_html/s3_scripts/delete_file_from_s3.php on line 11

Fatal error: Uncaught InvalidArgumentException: Found 3 errors while validating the input provided for the DeleteObject operation: [Bucket] is missing and is a required parameter [Key] is missing and is a required parameter [Key] expected string length to be >= 1, but found string length of 0 in /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/Api/Validator.php:65 Stack trace: #0 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/Middleware.php(88): Aws\Api\Validator->validate('DeleteObject', Object(Aws\Api\StructureShape), Array) #1 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/S3/S3Client.php(639): Aws\Middleware::Aws\{closure}(Object(Aws\Command), NULL) #2 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/S3/S3Client.php(662): Aws\S3\S3Client::Aws\S3\{closure}(Object(Aws\Command), NULL) #3 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/S3/S3Client.php(596): Aws\S3\S3Client::Aws\S3\{closure}(Object(Aws\Command), NULL) #4 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/S3/S3Client.php(615): Aws\S3\S3Client::Aws\S3\{closure}(Object(Aws\Command), NULL) #5 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/Middleware.php(58): Aws\S3\S3Client::Aws\S3\{closure}(Object(Aws\Command), NULL) #6 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/S3/SSECMiddleware.php(59): Aws\Middleware::Aws\{closure}(Object(Aws\Command), NULL) #7 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/IdempotencyTokenMiddleware.php(77): Aws\S3\SSECMiddleware->__invoke(Object(Aws\Command), NULL) #8 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(64): Aws\IdempotencyTokenMiddleware->__invoke(Object(Aws\Command)) #9 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(58): Aws\AwsClient->executeAsync(Object(Aws\Command)) #10 /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/AwsClientTrait.php(86): Aws\AwsClient->execute(Object(Aws\Command)) #11 /home/eshancollegemgmt/public_html/s3_scripts/delete_file_from_s3.php(44): Aws\AwsClient->__call('deleteObject', Array) #12 {main} thrown in /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/Api/Validator.php on line 65