SQLSTATE[HY000] [2002] Connection refused Call to a member function query() on null (500 Internal Server Error)

Symfony Exception

Error

HTTP 500 Internal Server Error

Call to a member function query() on null

Exception

Error

  1. return true;
  2. }
  3. try {
  4. $this->database->query('Use `'.$this->config->dbDatabase.'`;');
  5. $stmn = $this->database->prepare('SELECT COUNT(*) FROM zp_user');
  6. $stmn->execute();
  7. $values = $stmn->fetchAll();
Install->checkIfInstalled() in /var/www/html/app/Domain/Install/Controllers/Index.php (line 24)
  1. */
  2. public function init(InstallRepository $installRepo)
  3. {
  4. $this->installRepo = $installRepo;
  5. if ($this->installRepo->checkIfInstalled()) {
  6. return FrontcontrollerCore::redirect(BASE_URL.'/');
  7. }
  8. }
  9. /**
  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. }
Container->call(array(object(Index), 'init')) in /var/www/html/app/Core/Controller/Controller.php (line 47)
  1. ) {
  2. self::dispatchEvent('begin');
  3. // initialize
  4. if (method_exists($this, 'init')) {
  5. app()->call([$this, 'init']);
  6. }
  7. self::dispatchEvent('end', $this);
  8. }
Controller->__construct(object(IncomingRequest), object(Template), object(Language))
  1. }
  2. array_pop($this->buildStack);
  3. $this->fireAfterResolvingAttributeCallbacks(
  4. $reflector->getAttributes(), $instance = $reflector->newInstanceArgs($instances)
  5. );
  6. return $instance;
  7. }
  1. // We're ready to instantiate an instance of the concrete type registered for
  2. // the binding. This will instantiate the types, as well as resolve any of
  3. // its "nested" dependencies recursively until all have gotten resolved.
  4. $object = $this->isBuildable($concrete, $abstract)
  5. ? $this->build($concrete)
  6. : $this->make($concrete);
  7. // If we defined any extenders for this type, we'll need to spin through them
  8. // and apply them to the object being built. This allows for the extension
  9. // of services, such as changing configuration or decorating the object.
  1. */
  2. protected function resolve($abstract, $parameters = [], $raiseEvents = true)
  3. {
  4. $this->loadDeferredProviderIfNeeded($abstract = $this->getAlias($abstract));
  5. return parent::resolve($abstract, $parameters, $raiseEvents);
  6. }
  7. /**
  8. * Load the deferred provider if the given type is a deferred service and the instance has not been loaded.
  9. *
  1. *
  2. * @throws \Illuminate\Contracts\Container\BindingResolutionException
  3. */
  4. public function make($abstract, array $parameters = [])
  5. {
  6. return $this->resolve($abstract, $parameters);
  7. }
  8. /**
  9. * {@inheritdoc}
  10. *
  1. */
  2. public function make($abstract, array $parameters = [])
  3. {
  4. $this->loadDeferredProviderIfNeeded($abstract = $this->getAlias($abstract));
  5. return parent::make($abstract, $parameters);
  6. }
  7. /**
  8. * Resolve the given type from the container.
  9. *
Application->make('Leantime\\Domain\\Install\\Controllers\\Index') in /var/www/html/app/Core/Controller/Frontcontroller.php (line 182)
  1. public function executeAction(string $controller, string $method): Response
  2. {
  3. $parameters = $this->incomingRequest->getRequestParams();
  4. $controllerClass = app()->make($controller);
  5. $response = $controllerClass->callAction($method, $parameters);
  6. // Expecting a response object but can accept a string to a fragment.
  7. return $response instanceof Response ? $response : $controllerClass->getResponse($response);
Frontcontroller->executeAction('Leantime\\Domain\\Install\\Controllers\\Index', 'get') in /var/www/html/app/Core/Controller/Frontcontroller.php (line 83)
  1. $this->lastAction = $moduleName.'.'.$controllerName.'.'.$method;
  2. $this->dispatchEvent('execute_action_end', ['action' => $controllerName, 'module' => $moduleName]);
  3. // execute action
  4. return $this->executeAction($routeParts['class'], $routeParts['method']);
  5. }
  6. public static function dispatch_request(IncomingRequest $request): Response
  7. {
Frontcontroller->dispatch(object(IncomingRequest)) in /var/www/html/app/Core/Controller/Frontcontroller.php (line 91)
  1. public static function dispatch_request(IncomingRequest $request): Response
  2. {
  3. $frontcontroller = new self($request);
  4. return $frontcontroller->dispatch($request);
  5. }
  6. /**
  7. * parseRequestParts - Parses the request segments and sets the necessary values in the IncomingRequest object.
  8. *
Frontcontroller::dispatch_request(object(IncomingRequest)) in /var/www/html/app/Core/Http/HttpKernel.php (line 213)
  1. Log::error($e);
  2. }
  3. }
  4. // Fall back to Leantime's Frontcontroller routing
  5. return Frontcontroller::dispatch_request($request);
  6. }
  7. }
HttpKernel->findAndDispatchToRouter(object(IncomingRequest)) in /var/www/html/app/Core/Http/HttpKernel.php (line 168)
  1. ->through(self::dispatch_filter(
  2. hook: 'plugins_middleware',
  3. payload: [],
  4. function: 'handle',
  5. ))
  6. ->then(fn () => $this->findAndDispatchToRouter($request))
  7. );
  8. return $response;
  9. }
  1. */
  2. protected function prepareDestination(Closure $destination)
  3. {
  4. return function ($passable) use ($destination) {
  5. try {
  6. return $destination($passable);
  7. } catch (Throwable $e) {
  8. return $this->handleException($passable, $e);
  9. }
  10. };
  11. }
  1. $pipeline = array_reduce(
  2. array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  3. );
  4. try {
  5. return $pipeline($this->passable);
  6. } finally {
  7. if ($this->finally) {
  8. ($this->finally)($this->passable);
  9. }
  10. }
Pipeline->then(object(Closure)) in /var/www/html/app/Core/Http/HttpKernel.php (line 168)
  1. ->through(self::dispatch_filter(
  2. hook: 'plugins_middleware',
  3. payload: [],
  4. function: 'handle',
  5. ))
  6. ->then(fn () => $this->findAndDispatchToRouter($request))
  7. );
  8. return $response;
  9. }
  1. */
  2. protected function prepareDestination(Closure $destination)
  3. {
  4. return function ($passable) use ($destination) {
  5. try {
  6. return $destination($passable);
  7. } catch (Throwable $e) {
  8. return $this->handleException($passable, $e);
  9. }
  10. };
  11. }
Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest)) in /var/www/html/app/Domain/Projects/Middleware/CurrentProject.php (line 32)
  1. if (! ($request instanceof HtmxRequest) && $actionPath != 'api' && $actionPath != 'cron') {
  2. app()->make(ProjectService::class)->setCurrentProject();
  3. }
  4. }
  5. return $next($request);
  6. }
  7. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest)) in /var/www/html/app/Core/Middleware/Localization.php (line 44)
  1. str_replace('-', '_', session('companysettings.language')),
  2. $this->language->__('language.dateformat'),
  3. $this->language->__('language.timeformat')
  4. ));
  5. return $next($request);
  6. }
  7. session()->put('usersettings.language', $this->settings->getSetting("usersettings.$userId.language") ?: session('companysettings.language'));
  8. session()->put('usersettings.timezone', $this->settings->getSetting("usersettings.$userId.timezone") ?: $this->config->defaultTimezone);
  9. date_default_timezone_set(session('usersettings.timezone'));
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest)) in /var/www/html/app/Core/Middleware/SetCacheHeaders.php (line 57)
  1. *
  2. * @throws \InvalidArgumentException
  3. */
  4. public function handle($request, Closure $next, $options = [])
  5. {
  6. $response = $next($request);
  7. if (! $request->isMethodCacheable()
  8. || (! $response->getContent() && ! $response instanceof BinaryFileResponse && ! $response instanceof StreamedResponse)) {
  9. return $response;
  10. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. */
  2. public function handle($request, Closure $next)
  3. {
  4. $this->clean($request);
  5. return $next($request);
  6. }
  7. /**
  8. * Clean the request's data.
  9. *
  1. if ($callback($request)) {
  2. return $next($request);
  3. }
  4. }
  5. return parent::handle($request, $next);
  6. }
  7. /**
  8. * Transform the given value.
  9. *
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. */
  2. public function handle($request, Closure $next)
  3. {
  4. $this->clean($request);
  5. return $next($request);
  6. }
  7. /**
  8. * Clean the request's data.
  9. *
  1. if ($callback($request)) {
  2. return $next($request);
  3. }
  4. }
  5. return parent::handle($request, $next);
  6. }
  7. /**
  8. * Transform the given value.
  9. *
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
  2. throw new PostTooLargeException('The POST data is too large.');
  3. }
  4. return $next($request);
  5. }
  6. /**
  7. * Determine the server 'post_max_size' as bytes.
  8. *
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. * @return \Illuminate\Http\Response
  2. */
  3. public function handle($request, Closure $next)
  4. {
  5. if (! $this->hasMatchingPath($request)) {
  6. return $next($request);
  7. }
  8. $this->cors->setOptions($this->container['config']->get('cors', []));
  9. if ($this->cors->isPreflightRequest($request)) {
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest)) in /var/www/html/app/Core/Middleware/RequestRateLimiter.php (line 55)
  1. */
  2. public function handle(IncomingRequest $request, Closure $next): Response
  3. {
  4. if (! session('isInstalled')) {
  5. return $next($request);
  6. }
  7. $route = $request->getCurrentRoute();
  8. // Only check rate limits for login page and api calls
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest)) in /var/www/html/app/Core/Middleware/AuthenticateSession.php (line 38)
  1. * @return mixed
  2. */
  3. public function handle($request, Closure $next)
  4. {
  5. if (! $request->hasSession() || ! $request->user()) {
  6. return $next($request);
  7. }
  8. if ($this->guard()->viaRemember()) {
  9. $passwordHash = explode('|', $request->cookies->get($this->guard()->getRecallerName()))[2] ?? null;
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest)) in /var/www/html/app/Core/Middleware/AuthCheck.php (line 60)
  1. */
  2. public function handle(IncomingRequest $request, Closure $next): Response
  3. {
  4. if ($this->isPublicController($request->getCurrentRoute())) {
  5. return $next($request);
  6. }
  7. $loginRedirect = self::dispatch_filter('loginRoute', 'auth.login', ['request' => $request]);
  8. if ($request instanceof ApiRequest) {
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest)) in /var/www/html/app/Core/Middleware/InitialHeaders.php (line 24)
  1. * @throws BindingResolutionException
  2. **/
  3. public function handle($request, Closure $next): Response
  4. {
  5. $response = $next($request);
  6. // Content Security Policy
  7. $cspParts = [
  8. "default-src 'self' 'unsafe-inline'",
  9. "base-uri 'self';",
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest)) in /var/www/html/app/Core/Middleware/LoadPlugins.php (line 32)
  1. self::dispatchEvent('pluginsStart', ['request' => $request]);
  2. // Good event to use for all kinds of plugin events that should run early on like adding language files
  3. self::dispatchEvent('pluginsEvents', ['request' => $request], 'leantime.core.middleware.loadplugins.handle');
  4. $response = $next($request);
  5. self::dispatchEvent('pluginsTermintate', ['request' => $request, 'response' => $response]);
  6. return $response;
  7. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest)) in /var/www/html/app/Core/Middleware/Updated.php (line 45)
  1. if (session('isUpdated')) {
  2. return $next($request);
  3. }
  4. if (! $response = $this->redirectToUpdate()) {
  5. return $next($request);
  6. }
  7. return $response;
  8. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest)) in /var/www/html/app/Core/Middleware/Installed.php (line 32)
  1. if (! $session_says && ! $config_says) {
  2. $this->setUninstalled();
  3. if (! $response = $this->redirectToInstall($request)) {
  4. return $next($request);
  5. }
  6. return $response;
  7. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest)) in /var/www/html/app/Core/Middleware/StartSession.php (line 173)
  1. self::dispatchEvent('session_started');
  2. $this->collectGarbage($session);
  3. // Going deeper down the rabbit hole and executing the rest of the middleware and stack.
  4. $response = $next($request);
  5. // Done processing the request, closing out the session
  6. $this->storeCurrentUrl($request, $session);
  7. $duration = microtime(true) - $startTime;
StartSession->handleStatefulRequest(object(IncomingRequest), object(Store), object(Closure)) in /var/www/html/app/Core/Middleware/StartSession.php (line 100)
  1. try {
  2. $lock->block($maxWaitForLock);
  3. return $this->handleStatefulRequest($request, $session, $next);
  4. } catch (LockTimeoutException $e) {
  5. Log::warning("Session lock timeout for session {$session->getId()}: {$e->getMessage()}");
StartSession->handleRequestWhileBlocking(object(IncomingRequest), object(Store), object(Closure)) in /var/www/html/app/Core/Middleware/StartSession.php (line 70)
  1. config(['session.driver' => 'array']);
  2. $this->manager->setDefaultDriver('array');
  3. }
  4. if ($this->shouldLockSession($request)) {
  5. return $this->handleRequestWhileBlocking($request, $session, $next);
  6. }
  7. return $this->handleStatefulRequest($request, $session, $next);
  8. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest)) in /var/www/html/app/Core/Middleware/TrustProxies.php (line 65)
  1. if (! $request->isFromTrustedProxy()) {
  2. return new Response(json_encode(['error' => 'Not a trusted proxy']), 403);
  3. }
  4. return $next($request);
  5. }
  6. }
  1. // since the object we're given was already a fully instantiated object.
  2. $parameters = [$passable, $stack];
  3. }
  4. $carry = method_exists($pipe, $this->method)
  5. ? $pipe->{$this->method}(...$parameters)
  6. : $pipe(...$parameters);
  7. return $this->handleCarry($carry);
  8. } catch (Throwable $e) {
  9. return $this->handleException($passable, $e);
  1. $pipeline = array_reduce(
  2. array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  3. );
  4. try {
  5. return $pipeline($this->passable);
  6. } finally {
  7. if ($this->finally) {
  8. ($this->finally)($this->passable);
  9. }
  10. }
Pipeline->then(object(Closure)) in /var/www/html/app/Core/Http/HttpKernel.php (line 159)
  1. // Main Pipeline
  2. $response = (new \Illuminate\Routing\Pipeline($this->app))
  3. ->send($request)
  4. ->through($this->middleware)
  5. ->then(fn ($request) =>
  6. // Then run through plugin pipeline
  7. (new \Illuminate\Routing\Pipeline($this->app))
  8. ->send($request)
  9. ->through(self::dispatch_filter(
  10. hook: 'plugins_middleware',
HttpKernel->sendRequestThroughRouter(object(IncomingRequest)) in /var/www/html/app/Core/Http/HttpKernel.php (line 117)
  1. public function handle($request)
  2. {
  3. $this->requestStartedAt = Carbon::now();
  4. try {
  5. $response = $this->sendRequestThroughRouter($request);
  6. } catch (\Throwable $e) {
  7. $this->reportException($e);
  8. $response = $this->renderException($request, $e);
  9. }
HttpKernel->handle(object(IncomingRequest)) in /var/www/html/app/Core/Bootloader.php (line 83)
  1. if (! $this->app->runningInConsole()) {
  2. /** @var HttpKernel $kernel */
  3. $kernel = $this->app->make(HttpKernel::class);
  4. $kernelHandler = $kernel->handle($request);
  5. $response = $kernelHandler->send();
  6. $kernel->terminate($request, $response);
  7. } else {
Bootloader->handleRequest(object(IncomingRequest)) in /var/www/html/app/Core/Bootloader.php (line 64)
  1. // Capture the request and instantiate the correct type
  2. $request = IncomingRequest::capture();
  3. // Use the right kernel for the job and handle the request.
  4. $this->handleRequest($request);
  5. self::dispatchEvent('end', ['bootloader' => $this]);
  6. }
Bootloader->boot(object(Application)) in /var/www/html/public/index.php (line 20)
  1. // Get the application once.
  2. // Loads everything up once and then let's the bootloader manage it
  3. $app = require_once __DIR__.'/../bootstrap/app.php';
  4. // Pass app into leantime bootloader
  5. \Leantime\Core\Bootloader::getInstance()->boot($app);

Stack Trace

Error
Error:
Call to a member function query() on null

  at /var/www/html/app/Domain/Install/Repositories/Install.php:159
  at Leantime\Domain\Install\Repositories\Install->checkIfInstalled()
     (/var/www/html/app/Domain/Install/Controllers/Index.php:24)
  at Leantime\Domain\Install\Controllers\Index->init(object(Install))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36)
  at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Util.php:43)
  at Illuminate\Container\Util::unwrapIfClosure(object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:95)
  at Illuminate\Container\BoundMethod::callBoundMethod(object(Application), array(object(Index), 'init'), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:35)
  at Illuminate\Container\BoundMethod::call(object(Application), array(object(Index), 'init'), array(), null)
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php:696)
  at Illuminate\Container\Container->call(array(object(Index), 'init'))
     (/var/www/html/app/Core/Controller/Controller.php:47)
  at Leantime\Core\Controller\Controller->__construct(object(IncomingRequest), object(Template), object(Language))
  at ReflectionClass->newInstanceArgs(array(object(IncomingRequest), object(Template), object(Language)))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php:1004)
  at Illuminate\Container\Container->build('Leantime\\Domain\\Install\\Controllers\\Index')
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php:832)
  at Illuminate\Container\Container->resolve('Leantime\\Domain\\Install\\Controllers\\Index', array(), true)
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1078)
  at Illuminate\Foundation\Application->resolve('Leantime\\Domain\\Install\\Controllers\\Index', array())
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php:763)
  at Illuminate\Container\Container->make('Leantime\\Domain\\Install\\Controllers\\Index', array())
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1058)
  at Illuminate\Foundation\Application->make('Leantime\\Domain\\Install\\Controllers\\Index')
     (/var/www/html/app/Core/Controller/Frontcontroller.php:182)
  at Leantime\Core\Controller\Frontcontroller->executeAction('Leantime\\Domain\\Install\\Controllers\\Index', 'get')
     (/var/www/html/app/Core/Controller/Frontcontroller.php:83)
  at Leantime\Core\Controller\Frontcontroller->dispatch(object(IncomingRequest))
     (/var/www/html/app/Core/Controller/Frontcontroller.php:91)
  at Leantime\Core\Controller\Frontcontroller::dispatch_request(object(IncomingRequest))
     (/var/www/html/app/Core/Http/HttpKernel.php:213)
  at Leantime\Core\Http\HttpKernel->findAndDispatchToRouter(object(IncomingRequest))
     (/var/www/html/app/Core/Http/HttpKernel.php:168)
  at Leantime\Core\Http\HttpKernel->Leantime\Core\Http\{closure}(object(IncomingRequest))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:170)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:127)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/www/html/app/Core/Http/HttpKernel.php:168)
  at Leantime\Core\Http\HttpKernel->Leantime\Core\Http\{closure}(object(IncomingRequest))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:170)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/app/Domain/Projects/Middleware/CurrentProject.php:32)
  at Leantime\Domain\Projects\Middleware\CurrentProject->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/app/Core/Middleware/Localization.php:44)
  at Leantime\Core\Middleware\Localization->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/app/Core/Middleware/SetCacheHeaders.php:57)
  at Leantime\Core\Middleware\SetCacheHeaders->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:51)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Http\Middleware\ValidatePostSize->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/app/Core/Middleware/RequestRateLimiter.php:55)
  at Leantime\Core\Middleware\RequestRateLimiter->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/app/Core/Middleware/AuthenticateSession.php:38)
  at Leantime\Core\Middleware\AuthenticateSession->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/app/Core/Middleware/AuthCheck.php:60)
  at Leantime\Core\Middleware\AuthCheck->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/app/Core/Middleware/InitialHeaders.php:24)
  at Leantime\Core\Middleware\InitialHeaders->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/app/Core/Middleware/LoadPlugins.php:32)
  at Leantime\Core\Middleware\LoadPlugins->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/app/Core/Middleware/Updated.php:45)
  at Leantime\Core\Middleware\Updated->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/app/Core/Middleware/Installed.php:32)
  at Leantime\Core\Middleware\Installed->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/app/Core/Middleware/StartSession.php:173)
  at Leantime\Core\Middleware\StartSession->handleStatefulRequest(object(IncomingRequest), object(Store), object(Closure))
     (/var/www/html/app/Core/Middleware/StartSession.php:100)
  at Leantime\Core\Middleware\StartSession->handleRequestWhileBlocking(object(IncomingRequest), object(Store), object(Closure))
     (/var/www/html/app/Core/Middleware/StartSession.php:70)
  at Leantime\Core\Middleware\StartSession->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/app/Core/Middleware/TrustProxies.php:65)
  at Leantime\Core\Middleware\TrustProxies->handle(object(IncomingRequest), object(Closure))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:209)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(IncomingRequest))
     (/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:127)
  at Illuminate\Pipeline\Pipeline->then(object(Closure))
     (/var/www/html/app/Core/Http/HttpKernel.php:159)
  at Leantime\Core\Http\HttpKernel->sendRequestThroughRouter(object(IncomingRequest))
     (/var/www/html/app/Core/Http/HttpKernel.php:117)
  at Leantime\Core\Http\HttpKernel->handle(object(IncomingRequest))
     (/var/www/html/app/Core/Bootloader.php:83)
  at Leantime\Core\Bootloader->handleRequest(object(IncomingRequest))
     (/var/www/html/app/Core/Bootloader.php:64)
  at Leantime\Core\Bootloader->boot(object(Application))
     (/var/www/html/public/index.php:20)