Warning: Undefined variable $argv in /home/eshancollegemgmt/public_html/s3_scripts/delete_folder_from_s3.php on line 16
Warning: Trying to access array offset on value of type null in /home/eshancollegemgmt/public_html/s3_scripts/delete_folder_from_s3.php on line 16
Warning: Undefined variable $argv in /home/eshancollegemgmt/public_html/s3_scripts/delete_folder_from_s3.php on line 17
Warning: Trying to access array offset on value of type null in /home/eshancollegemgmt/public_html/s3_scripts/delete_folder_from_s3.php on line 17
Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/eshancollegemgmt/public_html/s3_scripts/delete_folder_from_s3.php on line 17
Fatal error: Uncaught InvalidArgumentException: Found 1 error while validating the input provided for the ListObjectsV2 operation:
[Bucket] is missing and is a required parameter 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('ListObjectsV2', 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_folder_from_s3.php(37): Aws\AwsClient->__call('listObjectsV2', Array)
#12 {main}
thrown in /home/eshancollegemgmt/vendor/aws/aws-sdk-php/src/Api/Validator.php on line 65