Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

Argument #1 ($client) must be of type AwsS3Client, AwsS3S3Client given

//open composer.json and change inside version to "league/flysystem-aws-s3-v3": "^1.0"
//run composer update
Comment

Argument #1 ($client) must be of type AwsS3Client

//in laravel/config/filesystems.php
//add this line in S3
'scheme' => 'http' // to disable SSL verification on local development

//Your filesystem.php should look like this
's3' => [
    'driver' => 's3',
    'key' => env('AWS_ACCESS_KEY_ID'),
    'secret' => env('AWS_SECRET_ACCESS_KEY'),
    'region' => env('AWS_DEFAULT_REGION'),
    'bucket' => env('AWS_BUCKET'),
    'url' => env('AWS_URL'),
    'scheme' => 'http' // to disable SSL verification on local development
],
//When you run it on your server which has SSL verification, you need to comment 'scheme' line.
Comment

PREVIOUS NEXT
Code Example
Javascript :: browser support fetch api 
Javascript :: how to add data modal target attribute in jquery 
Javascript :: how to remove a character from a string in javascript 
Javascript :: change one element in array javascript 
Javascript :: delete div based on select 
Javascript :: types of method in js 
Javascript :: jquery check if eleme 
Javascript :: react js how to do array range 
Javascript :: enzyme find selector 
Javascript :: set twig variable from javascript 
Javascript :: apoolo uselaxyQuery bypass cache 
Javascript :: define conastant js 
Javascript :: relation between leaves nodes and internal nodes in binary tree 
Javascript :: showdown react 
Javascript :: eaf doom emacs 
Javascript :: javaScript Age in Dog years //write a function that takes your age and returns it to you in dog years - they say that 1 human year is equal to seven dog years function dog Years() javaScript 
Javascript :: last underscore 
Python :: django EMAIL_BACKEND console 
Python :: django template tag to display current year 
Python :: how to install OpenCV? 
Python :: python exception with line number 
Python :: string to date python 
Python :: python delete file 
Python :: python console pause 
Python :: pandas read tab separated file 
Python :: selenium press tab python 
Python :: python convert list to true falsebased on condition 
Python :: python download file from url 
Python :: how to center plotly plot title 
Python :: get mouse click coordinates python turtle 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =