-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined index: http in AwsS3Provider.php:140 #96
Comments
Please update to v1.4.3, attempts to solve this issue. |
Getting the same, and on dev branch using * or 1.4.3. Issue appears to be caused by the config file - there's no "http" array key under the S3 config section. ErrorException in AwsS3Provider.php line 140:
|
weird, the attempt to solve this was to add an which will be merged with the config later on so regardless of whether there's an can you please check your |
@Mulkave that's not quite how array_merge works with recursive arrays, e.g. $default = [
'foo' => [
'bar' => 1,
'baz' => 2
]
];
$configurations = [
'foo' => [
'qux' => 3
]
];
array_merge($default, $configurations); // ['foo' => ['qux' => 3]] First-level elements of the first array will be replaced entirely by elements of the second array. |
I'm getting the error below. Is it something that I'm doing wrong? Using the latest codebase.
production.ERROR: ErrorException: Undefined index: http in /srv/wisk/wisksol/vendor/vinelab/cdn/src/Vinelab/Cdn/Providers/AwsS3Provider.php:140
Stack trace:
#0 /srv/wisk/wisksol/vendor/vinelab/cdn/src/Vinelab/Cdn/Providers/AwsS3Provider.php(140): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined index...', '/srv/wisk/wisks...', 140, Array)
#1 /srv/wisk/wisksol/vendor/vinelab/cdn/src/Vinelab/Cdn/ProviderFactory.php(50): Vinelab\Cdn\Providers\AwsS3Provider->init(Array)
#2 /srv/wisk/wisksol/vendor/vinelab/cdn/src/Vinelab/Cdn/CdnFacade.php(170): Vinelab\Cdn\ProviderFactory->create(Array)
#3 /srv/wisk/wisksol/vendor/vinelab/cdn/src/Vinelab/Cdn/CdnFacade.php(64): Vinelab\Cdn\CdnFacade->init()
#4 [internal function]: Vinelab\Cdn\CdnFacade->__construct(Object(Vinelab\Cdn\ProviderFactory), Object(Vinelab\Cdn\CdnHelper), Object(Vinelab\Cdn\Validators\CdnFacadeValidator))
#5 /srv/wisk/wisksol/bootstrap/cache/compiled.php(1306): ReflectionClass->newInstanceArgs(Array)
Thanks,
Chip.
The text was updated successfully, but these errors were encountered: