Mailchimp_Error {#494
#message: "You must provide a MailChimp API key"
#code: 0
#file: "/var/www/staging.worldcrunch.com/vendor/mailchimp/mailchimp/src/Mailchimp.php"
#line: 132
trace: {
/var/www/staging.worldcrunch.com/vendor/mailchimp/mailchimp/src/Mailchimp.php:132 {
› if (!$apikey) {
› throw new Mailchimp_Error('You must provide a MailChimp API key');
› }
}
/var/www/staging.worldcrunch.com/vendor/skovmand/mailchimp-laravel/src/MailchimpServiceProvider.php:35 {
› $config = $app['config']['mailchimp'];
› return new Mailchimp($config['apikey']);
› });
arguments: {
$apikey: false
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Container/Container.php:726 {
› if ($concrete instanceof Closure) {
› return $concrete($this, $this->getLastParameterOverride());
› }
arguments: {
Application {#2 …}
[]
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Container/Container.php:608 {
› if ($this->isBuildable($concrete, $abstract)) {
› $object = $this->build($concrete);
› } else {
arguments: {
$concrete: "App\Http\Controllers\NewsletterController"
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Container/Container.php:575 {
› {
› return $this->resolve($abstract);
› }
arguments: {
$abstract: "App\Http\Controllers\NewsletterController"
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:728 {
›
› return parent::make($abstract);
› }
arguments: {
$abstract: "App\Http\Controllers\NewsletterController"
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Container/Container.php:862 {
› try {
› return $this->make($parameter->getClass()->name);
› }
arguments: {
$abstract: "Mailchimp"
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Container/Container.php:790 {
› ? $this->resolvePrimitive($dependency)
› : $this->resolveClass($dependency);
› }
arguments: {
$parameter: ReflectionParameter {#491 …}
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Container/Container.php:757 {
› $instances = $this->resolveDependencies(
› $dependencies
› );
arguments: {
$dependencies: array:1 [ …1]
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Container/Container.php:608 {
› if ($this->isBuildable($concrete, $abstract)) {
› $object = $this->build($concrete);
› } else {
arguments: {
$concrete: "App\Http\Controllers\NewsletterController"
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Container/Container.php:575 {
› {
› return $this->resolve($abstract);
› }
arguments: {
$abstract: "App\Http\Controllers\NewsletterController"
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:728 {
›
› return parent::make($abstract);
› }
arguments: {
$abstract: "App\Http\Controllers\NewsletterController"
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php:217 {
› if (! $this->controller) {
› $this->controller = $this->container->make($class);
› }
arguments: {
$abstract: "App\Http\Controllers\NewsletterController"
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php:747 {
› return ControllerDispatcher::getMiddleware(
› $this->getController(), $this->getControllerMethod()
› );
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php:708 {
› return $this->computedMiddleware = array_unique(array_merge(
› $this->middleware(), $this->controllerMiddleware()
› ), SORT_REGULAR);
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php:585 {
› {
› $middleware = collect($route->gatherMiddleware())->map(function ($name) {
› return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php:565 {
›
› $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
›
arguments: {
$route: Route {#298 …}
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php:533 {
›
› $response = $this->runRouteWithinStack($route, $request);
›
arguments: {
$route: Route {#298 …}
$request: Request {#39 …}
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php:511 {
›
› return $this->dispatchToRoute($request);
› }
arguments: {
$request: Request {#39 …}
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 {
›
› return $this->router->dispatch($request);
› };
arguments: {
$request: Request {#39 …}
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {
› try {
› return $destination($passable);
› } catch (Exception $e) {
arguments: {
Request {#39 …}
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:46 {
›
› return $next($request);
› }
arguments: {
Request {#39 …}
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:148 {
›
› return $pipe->{$this->method}(...$parameters);
› };
arguments: {
$request: Request {#39 …}
$next: Closure {#306 …}
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Request {#39 …}
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 {
›
› return $pipeline($this->passable);
› }
arguments: {
Request {#39 …}
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
› ->then($this->dispatchToRouter());
› }
arguments: {
$destination: Closure {#308 …}
}
}
/var/www/staging.worldcrunch.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
arguments: {
$request: Request {#39 …}
}
}
/var/www/staging.worldcrunch.com/public/index.php:56 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Request {#39 …}
}
}
}
}