Deposit Funds

Payment We Accept:




array_merge(): Argument #1 must be of type array, int given (500 Internal Server Error)

Symfony Exception

TypeError

HTTP 500 Internal Server Error

array_merge(): Argument #1 must be of type array, int given

Exception

TypeError

  1.     protected function mergeConfigFrom($path$key)
  2.     {
  3.         if (! ($this->app instanceof CachesConfiguration && $this->app->configurationIsCached())) {
  4.             $config $this->app->make('config');
  5.             $config->set($keyarray_merge(
  6.                 require $path$config->get($key, [])
  7.             ));
  8.         }
  9.     }
  1.     protected function mergeConfigFrom($path$key)
  2.     {
  3.         if (! ($this->app instanceof CachesConfiguration && $this->app->configurationIsCached())) {
  4.             $config $this->app->make('config');
  5.             $config->set($keyarray_merge(
  6.                 require $path$config->get($key, [])
  7.             ));
  8.         }
  9.     }
  1.         if (! is_array($fileNames)) {
  2.             $fileNames = [$fileNames];
  3.         }
  4.         foreach ($fileNames as $fileName) {
  5.             $this->mergeConfigFrom($this->getConfigFilePath($fileName), $this->getDotedNamespace() . '.' $fileName);
  6.             if ($this->app->runningInConsole()) {
  7.                 $this->publishes([
  8.                     $this->getConfigFilePath($fileName) => config_path($this->getDashedNamespace() . '/' $fileName '.php'),
  9.                 ], 'cms-config');
  1.     }
  2.     public function boot(): void
  3.     {
  4.         $this
  5.             ->loadAndPublishConfigurations(['payment''permissions'])
  6.             ->loadAndPublishViews()
  7.             ->loadAndPublishTranslations()
  8.             ->loadRoutes()
  9.             ->loadAnonymousComponents()
  10.             ->loadMigrations()
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  9.      * Call a string reference to a class using Class@method syntax.
  1.      * @param  mixed  ...$args
  2.      * @return mixed
  3.      */
  4.     public static function unwrapIfClosure($value, ...$args)
  5.     {
  6.         return $value instanceof Closure $value(...$args) : $value;
  7.     }
  8.     /**
  9.      * Get the class name of the given parameter's type, if possible.
  10.      *
  1.         if ($container->hasMethodBinding($method)) {
  2.             return $container->callMethodBinding($method$callback[0]);
  3.         }
  4.         return Util::unwrapIfClosure($default);
  5.     }
  6.     /**
  7.      * Normalize the given callback into a Class@method string.
  8.      *
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  1.             $this->buildStack[] = $className;
  2.             $pushedToBuildStack true;
  3.         }
  4.         $result BoundMethod::call($this$callback$parameters$defaultMethod);
  5.         if ($pushedToBuildStack) {
  6.             array_pop($this->buildStack);
  7.         }
  1.     protected function bootProvider(ServiceProvider $provider)
  2.     {
  3.         $provider->callBootingCallbacks();
  4.         if (method_exists($provider'boot')) {
  5.             $this->call([$provider'boot']);
  6.         }
  7.         $provider->callBootedCallbacks();
  8.     }
  1.         // for any listeners that need to do work after this initial booting gets
  2.         // finished. This is useful when ordering the boot-up processes we run.
  3.         $this->fireAppCallbacks($this->bootingCallbacks);
  4.         array_walk($this->serviceProviders, function ($p) {
  5.             $this->bootProvider($p);
  6.         });
  7.         $this->booted true;
  8.         $this->fireAppCallbacks($this->bootedCallbacks);
Application->Illuminate\Foundation\{closure}()
  1.         // Once the application has booted we will also fire some "booted" callbacks
  2.         // for any listeners that need to do work after this initial booting gets
  3.         // finished. This is useful when ordering the boot-up processes we run.
  4.         $this->fireAppCallbacks($this->bootingCallbacks);
  5.         array_walk($this->serviceProviders, function ($p) {
  6.             $this->bootProvider($p);
  7.         });
  8.         $this->booted true;
  1.      * @param  \Illuminate\Contracts\Foundation\Application  $app
  2.      * @return void
  3.      */
  4.     public function bootstrap(Application $app)
  5.     {
  6.         $app->boot();
  7.     }
  8. }
  1.         $this->hasBeenBootstrapped true;
  2.         foreach ($bootstrappers as $bootstrapper) {
  3.             $this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
  4.             $this->make($bootstrapper)->bootstrap($this);
  5.             $this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
  6.         }
  7.     }
  1.      * @return void
  2.      */
  3.     public function bootstrap()
  4.     {
  5.         if (! $this->app->hasBeenBootstrapped()) {
  6.             $this->app->bootstrapWith($this->bootstrappers());
  7.         }
  8.     }
  9.     /**
  10.      * Get the route dispatcher callback.
  1.     {
  2.         $this->app->instance('request'$request);
  3.         Facade::clearResolvedInstance('request');
  4.         $this->bootstrap();
  5.         return (new Pipeline($this->app))
  6.                     ->send($request)
  7.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  8.                     ->then($this->dispatchToRouter());
  1.         $this->requestStartedAt Carbon::now();
  2.         try {
  3.             $request->enableHttpMethodParameterOverride();
  4.             $response $this->sendRequestThroughRouter($request);
  5.         } catch (Throwable $e) {
  6.             $this->reportException($e);
  7.             $response $this->renderException($request$e);
  8.         }
  1. $app->usePublicPath(__DIR__);
  2. $kernel $app->make(Kernel::class);
  3. $response $kernel->handle(
  4.     $request Request::capture()
  5. )->send();
  6. $kernel->terminate($request$response);

Stack Trace

TypeError
TypeError:
array_merge(): Argument #1 must be of type array, int given

  at /home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:137
  at array_merge()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:137)
  at Illuminate\Support\ServiceProvider->mergeConfigFrom()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/botble/platform/base/src/Traits/LoadAndPublishDataTrait.php:47)
  at Botble\Payment\Providers\PaymentServiceProvider->loadAndPublishConfigurations()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/platform/plugins/payment/src/Providers/PaymentServiceProvider.php:36)
  at Botble\Payment\Providers\PaymentServiceProvider->boot()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36)
  at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/laravel/framework/src/Illuminate/Container/Util.php:41)
  at Illuminate\Container\Util::unwrapIfClosure()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93)
  at Illuminate\Container\BoundMethod::callBoundMethod()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:35)
  at Illuminate\Container\BoundMethod::call()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/laravel/framework/src/Illuminate/Container/Container.php:662)
  at Illuminate\Container\Container->call()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1034)
  at Illuminate\Foundation\Application->bootProvider()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1015)
  at Illuminate\Foundation\Application->Illuminate\Foundation\{closure}()
  at array_walk()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1014)
  at Illuminate\Foundation\Application->boot()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17)
  at Illuminate\Foundation\Bootstrap\BootProviders->bootstrap()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:263)
  at Illuminate\Foundation\Application->bootstrapWith()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:186)
  at Illuminate\Foundation\Http\Kernel->bootstrap()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/u905974717/domains/npire.com.ng/public_html/parfume/public/index.php:23)