Symfony Exception

PDOException QueryException ViewException ViewException

HTTP 500 Internal Server Error

SQLSTATE[08S01]: Communication link failure: 1047 WSREP has not yet prepared node for application use (SQL: select * from `TE_post_properties` where `TE_post_properties`.`post_id` = 17728381 and `TE_post_properties`.`post_id` is not null and `TE_post_properties`.`deleted_at` is null limit 1) (View: /home/sadmin/web/dirilispostasi.com/public_html/public/themes/flow/widgets/trend-posts/templates/trend-1.blade.php) (View: /home/sadmin/web/dirilispostasi.com/public_html/public/themes/flow/widgets/trend-posts/templates/trend-1.blade.php)

Exceptions 4

Illuminate\View\ ViewException

Show exception properties
Illuminate\View\ViewException {#2876
  #severity: E_ERROR
}
  1.         // If an exception occurs when attempting to run a query, we'll format the error
  2.         // message to include the bindings with SQL, which will make this exception a
  3.         // lot more helpful to the developer instead of just the database's errors.
  4.         catch (Exception $e) {
  5.             throw new QueryException(
  6.                 $query$this->prepareBindings($bindings), $e
  7.             );
  8.         }
  9.     }
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // We will keep track of the amount of views being rendered so we can flush
  2.         // the section after the complete rendering operation is done. This will
  3.         // clear out the sections for any separate views that may be rendered.
  4.         $this->factory->incrementRender();
  5.         $this->factory->callComposer($this);
  6.         $contents $this->getContents();
  7.         if ($this->shortcode->getStrip()) {
  8.             // strip content without shortcodes
  9.             $contents $this->shortcode->strip($contents);
  10.         } else {
  11.             // compile the shortcodes
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         $this->fire('beforeRenderLayout.' $this->layout$this);
  2.         // Keeping arguments.
  3.         $this->arguments $args;
  4.         $content $this->view->make($view$args)->render();
  5.         // View path of content.
  6.         $this->content $view;
  7.         // Set up a content regional.
  1.         // Add namespace to find in a theme path.
  2.         $path $this->getThemeNamespace($viewDir '.' $view);
  3.         if ($this->view->exists($path)) {
  4.             return $this->setUpContent($path$args);
  5.         }
  6.         if (!empty($default)) {
  7.             return $this->of($default$args);
  8.         }
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
  1.          */
  2.         if (!empty($result) && is_array($result)) {
  3.             #return view('plugins.blog::themes.templates.test', $result['data'])->render();
  4.             return !empty($result['direct_link']) ? redirect($result['direct_link']) : Theme::scope($result['view'], $result['data'], Arr::get($result'default_view'))->render();
  5.         }
  6.         abort(404);
  1.     /**
  2.      * {@inheritDoc}
  3.      */
  4.     public function getView($key null)
  5.     {
  6.         return parent::getView($key);
  7.     }
  8.     /**
  9.      * @return mixed
  1.             if($slugx->converted) {
  2.                 $theme ucfirst(Theme::getThemeName());
  3.                 $class '\Theme\\'.$theme.'\\Http\Controllers\\'.$theme.'Controller';
  4.                 return app($class)->getView($slugx->key);
  5.             }
  6.         }
  7.         return redirect(route('public.single', ['slug' => $slug]), 301);
  1.      * @param  callable  $callable
  2.      * @return mixed
  3.      */
  4.     public function dispatch(Route $route$callable)
  5.     {
  6.         return $callable(...array_values($this->resolveParameters($route$callable)));
  7.     }
  8.     /**
  9.      * Resolve the parameters for the callable.
  10.      *
  1.         if ($this->isSerializedClosure()) {
  2.             $callable unserialize($this->action['uses'])->getClosure();
  3.         }
  4.         return $this->container[CallableDispatcher::class]->dispatch($this$callable);
  5.     }
  6.     /**
  7.      * Determine if the route action is a serialized Closure.
  8.      *
  1.         try {
  2.             if ($this->isControllerAction()) {
  3.                 return $this->runController();
  4.             }
  5.             return $this->runCallable();
  6.         } catch (HttpResponseException $e) {
  7.             return $e->getResponse();
  8.         }
  9.     }
  1.         return (new Pipeline($this->container))
  2.                         ->send($request)
  3.                         ->through($middleware)
  4.                         ->then(fn ($request) => $this->prepareResponse(
  5.                             $request$route->run()
  6.                         ));
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  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.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         if (!in_array(strtolower($request->method()), ['put''post'])) {
  5.             return $next($request);
  6.         }
  7.         $input $request->all();
  8.         array_walk_recursive($input, function(&$input$key) {
  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.             $notification Auth::guard('member')->user()->notifications()->where('id'$request->read)->first();
  2.             if($notification) {
  3.                 $notification->markAsRead();
  4.             }
  5.         }
  6.         return $next($request);
  7.     }
  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.         $characterSet explode('.'setlocale(LC_CTYPE0));
  2.         setlocale(LC_TIME$this->lang_suffix_for_carbon($defaultLang) . ((!empty($characterSet[1])) ? '.' $characterSet[1] : '')   );
  3.         Carbon::setLocale($defaultLang);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Handle an incoming 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);
  1.      * @param  \Closure  $next
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         return $this->encrypt($next($this->decrypt($request)));
  7.     }
  8.     /**
  9.      * Decrypt the cookies on the request.
  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.             $this->isReading($request) ||
  2.             $this->runningUnitTests() ||
  3.             $this->inExceptArray($request) ||
  4.             $this->tokensMatch($request)
  5.         ) {
  6.             return tap($next($request), function ($response) use ($request) {
  7.                 if ($this->shouldAddXsrfTokenCookie()) {
  8.                     $this->addCookieToResponse($request$response);
  9.                 }
  10.             });
  11.         }
  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 mixed
  2.      */
  3.     public function handle($requestClosure $next)
  4.     {
  5.         $response $next($request);
  6.         if ( isPagespeedBot() || $response->getStatusCode() == 404) {
  7.             $content $response->getContent();
  8.             $response->setContent($this->blockUnusedCodes($content));
  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($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.             }
  2.             throw $exception;
  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.         // Putting the errors in the view for every view allows the developer to just
  2.         // assume that some errors are always available, which is convenient since
  3.         // they don't have to continually run checks for the presence of errors.
  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.             $this->startSession($request$session)
  2.         );
  3.         $this->collectGarbage($session);
  4.         $response $next($request);
  5.         $this->storeCurrentUrl($request$session);
  6.         $this->addCookieToResponse($response$session);
  1.         if ($this->manager->shouldBlock() ||
  2.             ($request->route() instanceof Route && $request->route()->locksFor())) {
  3.             return $this->handleRequestWhileBlocking($request$session$next);
  4.         }
  5.         return $this->handleStatefulRequest($request$session$next);
  6.     }
  7.     /**
  8.      * Handle the given request within session state.
  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.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         foreach ($this->cookies->getQueuedCookies() as $cookie) {
  8.             $response->headers->setCookie($cookie);
  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.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         return (new Pipeline($this->container))
  2.                         ->send($request)
  3.                         ->through($middleware)
  4.                         ->then(fn ($request) => $this->prepareResponse(
  5.                             $request$route->run()
  6.                         ));
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  10.      *
  1.         $request->setRouteResolver(fn () => $route);
  2.         $this->events->dispatch(new RouteMatched($route$request));
  3.         return $this->prepareResponse($request,
  4.             $this->runRouteWithinStack($route$request)
  5.         );
  6.     }
  7.     /**
  8.      * Run the given route within a Stack "onion" instance.
  1.      * @param  \Illuminate\Http\Request  $request
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function dispatchToRoute(Request $request)
  5.     {
  6.         return $this->runRoute($request$this->findRoute($request));
  7.     }
  8.     /**
  9.      * Find the route matching a given request.
  10.      *
  1.      */
  2.     public function dispatch(Request $request)
  3.     {
  4.         $this->currentRequest $request;
  5.         return $this->dispatchToRoute($request);
  6.     }
  7.     /**
  8.      * Dispatch the request to a route and return the response.
  9.      *
  1.     protected function dispatchToRouter()
  2.     {
  3.         return function ($request) {
  4.             $this->app->instance('request'$request);
  5.             return $this->router->dispatch($request);
  6.         };
  7.     }
  8.     /**
  9.      * Call the terminate method on any terminable middleware.
  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.      * @return mixed
  2.      */
  3.     public function handle($requestClosure $next)
  4.     {
  5.         if (!$this->debugbar->isEnabled() || $this->inExceptArray($request)) {
  6.             return $next($request);
  7.         }
  8.         $this->debugbar->boot();
  9.         try {
  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($requestClosure $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($requestClosure $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 && $request->server('CONTENT_LENGTH') > $max) {
  2.             throw new PostTooLargeException;
  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.                 null,
  2.                 $this->getHeaders($data)
  3.             );
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Determine if the incoming request has a maintenance mode bypass cookie.
  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($requestClosure $next)
  3.     {
  4.         // Check if we're dealing with CORS and if we should handle it
  5.         if (! $this->shouldRun($request)) {
  6.             return $next($request);
  7.         }
  8.         // For Preflight, return the Preflight response
  9.         if ($this->cors->isPreflightRequest($request)) {
  10.             $response $this->cors->handlePreflightRequest($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);
  1.     {
  2.         $request::setTrustedProxies([], $this->getTrustedHeaderNames());
  3.         $this->setTrustedProxyIpAddresses($request);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Sets the trusted proxies on the request.
  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.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         $this->bootstrap();
  2.         return (new Pipeline($this->app))
  3.                     ->send($request)
  4.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5.                     ->then($this->dispatchToRouter());
  6.     }
  7.     /**
  8.      * Bootstrap the application for HTTP requests.
  9.      *
  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. Cache::get($cacheKey);
  2. */
  3. $response tap($kernel->handle(
  4.     $request Request::capture()
  5. ))->send();
  6. $kernel->terminate($request$response);

Illuminate\View\ ViewException

SQLSTATE[08S01]: Communication link failure: 1047 WSREP has not yet prepared node for application use (SQL: select * from `TE_post_properties` where `TE_post_properties`.`post_id` = 17728381 and `TE_post_properties`.`post_id` is not null and `TE_post_properties`.`deleted_at` is null limit 1) (View: /home/sadmin/web/dirilispostasi.com/public_html/public/themes/flow/widgets/trend-posts/templates/trend-1.blade.php)

  1.         // If an exception occurs when attempting to run a query, we'll format the error
  2.         // message to include the bindings with SQL, which will make this exception a
  3.         // lot more helpful to the developer instead of just the database's errors.
  4.         catch (Exception $e) {
  5.             throw new QueryException(
  6.                 $query$this->prepareBindings($bindings), $e
  7.             );
  8.         }
  9.     }
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // We will keep track of the amount of views being rendered so we can flush
  2.         // the section after the complete rendering operation is done. This will
  3.         // clear out the sections for any separate views that may be rendered.
  4.         $this->factory->incrementRender();
  5.         $this->factory->callComposer($this);
  6.         $contents $this->getContents();
  7.         if ($this->shortcode->getStrip()) {
  8.             // strip content without shortcodes
  9.             $contents $this->shortcode->strip($contents);
  10.         } else {
  11.             // compile the shortcodes
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         if (!$this->view->exists($path)) {
  2.             throw new UnknownPartialFileException('Partial view [' $view '] not found.');
  3.         }
  4.         $partial $this->view->make($path$args)->render();
  5.         $this->regions[$view] = $partial;
  6.         return $this->regions[$view];
  7.     }
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
  1.         if(!empty($widget->data['trend_type'])) {
  2.             $this->frontendTemplate 'trend-' $widget->data['trend_type'];
  3.         }
  4.         return Theme::loadPartial($this->frontendTemplateTheme::getThemeNamespace('/../widgets/' $this->widgetDirectory '/templates'), [
  5.                 'config' => $widget->data,
  6.                 'sidebar' => $args[0],
  7.                 'widget_unique_key' => $widget && $widget->id str_slug($this->config['name'] . ' ' $widget->id'_') : null,
  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.     /**
  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.             return static::callClass($container$callback$parameters$defaultMethod);
  2.         }
  3.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  4.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  5.         });
  6.     }
  7.     /**
  8.      * Call a string reference to a class using Class@method syntax.
  9.      *
  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.      * @return mixed
  2.      * @author TE Bilisim
  3.      */
  4.     public function call($method$params = [])
  5.     {
  6.         return $this->app->call($method$params);
  7.     }
  8.     /**
  9.      * Get the specified configuration value.
  10.      *
  1.      * @return mixed
  2.      * @author TE Bilisim
  3.      */
  4.     protected function getContent()
  5.     {
  6.         $content $this->app->call([$this->widget'run'], $this->widgetParams);
  7.         return is_object($content) ? $content->__toString() : $content;
  8.     }
  9.     /**
  1.             return $this->app->cache($this->widget->cacheKey($args), $cacheTime, function () {
  2.                 return $this->getContent();
  3.             });
  4.         }
  5.         return $this->getContent();
  6.     }
  7. }
  1.                 return $exception->getMessage();
  2.             }
  3.             return null;
  4.         }
  5.         $content $this->getContentFromCache($args);
  6.         if ($timeout = (float)$this->getReloadTimeout()) {
  7.             $content .= $this->javascriptFactory->getReloader($timeout);
  8.             $content $this->wrapContentInContainer($content);
  9.         }
  1.         $widget['arguments'][] = $this->id;
  2.         $widget['arguments'][] = $position;
  3.         $factory $this->app->make('te.widget');
  4.         return $factory->run(...$widget['arguments']);
  5.     }
  6.     /**
  7.      * Set widget position.
  8.      *
  1.         $output '';
  2.         $count 0;
  3.         foreach ($this->widgets as $position => $widgets) {
  4.             foreach ($widgets as $widget) {
  5.                 $count++;
  6.                 $output .= $this->displayWidget($widget$position);
  7.                 if ($this->count !== $count) {
  8.                     $output .= $this->separator;
  9.                 }
  10.             }
  11.         }
  1.         }
  2.         return $this->group($sidebarId)->display();
  3.     }
  4.     /**
  5.      * Make sure data is loaded.
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
  1.      * @return string
  2.      * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
  3.      */
  4.     function dynamic_sidebar(string $sidebarId)
  5.     {
  6.         return WidgetGroup::render($sidebarId);
  7.     }
  8. }
  1.                     </div>
  2.                     <div class="col-lg-4">
  3.                         <!-- SECONDARY SIDEBAR -->
  4.                         <?php echo dynamic_sidebar('secondary_sidebar'); ?>
  5.                     </div>
  6.                 </div>
  7.             </div>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // We will keep track of the amount of views being rendered so we can flush
  2.         // the section after the complete rendering operation is done. This will
  3.         // clear out the sections for any separate views that may be rendered.
  4.         $this->factory->incrementRender();
  5.         $this->factory->callComposer($this);
  6.         $contents $this->getContents();
  7.         if ($this->shortcode->getStrip()) {
  8.             // strip content without shortcodes
  9.             $contents $this->shortcode->strip($contents);
  10.         } else {
  11.             // compile the shortcodes
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         $this->fire('beforeRenderLayout.' $this->layout$this);
  2.         // Keeping arguments.
  3.         $this->arguments $args;
  4.         $content $this->view->make($view$args)->render();
  5.         // View path of content.
  6.         $this->content $view;
  7.         // Set up a content regional.
  1.         // Add namespace to find in a theme path.
  2.         $path $this->getThemeNamespace($viewDir '.' $view);
  3.         if ($this->view->exists($path)) {
  4.             return $this->setUpContent($path$args);
  5.         }
  6.         if (!empty($default)) {
  7.             return $this->of($default$args);
  8.         }
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
  1.          */
  2.         if (!empty($result) && is_array($result)) {
  3.             #return view('plugins.blog::themes.templates.test', $result['data'])->render();
  4.             return !empty($result['direct_link']) ? redirect($result['direct_link']) : Theme::scope($result['view'], $result['data'], Arr::get($result'default_view'))->render();
  5.         }
  6.         abort(404);
  1.     /**
  2.      * {@inheritDoc}
  3.      */
  4.     public function getView($key null)
  5.     {
  6.         return parent::getView($key);
  7.     }
  8.     /**
  9.      * @return mixed
  1.             if($slugx->converted) {
  2.                 $theme ucfirst(Theme::getThemeName());
  3.                 $class '\Theme\\'.$theme.'\\Http\Controllers\\'.$theme.'Controller';
  4.                 return app($class)->getView($slugx->key);
  5.             }
  6.         }
  7.         return redirect(route('public.single', ['slug' => $slug]), 301);
  1.      * @param  callable  $callable
  2.      * @return mixed
  3.      */
  4.     public function dispatch(Route $route$callable)
  5.     {
  6.         return $callable(...array_values($this->resolveParameters($route$callable)));
  7.     }
  8.     /**
  9.      * Resolve the parameters for the callable.
  10.      *
  1.         if ($this->isSerializedClosure()) {
  2.             $callable unserialize($this->action['uses'])->getClosure();
  3.         }
  4.         return $this->container[CallableDispatcher::class]->dispatch($this$callable);
  5.     }
  6.     /**
  7.      * Determine if the route action is a serialized Closure.
  8.      *
  1.         try {
  2.             if ($this->isControllerAction()) {
  3.                 return $this->runController();
  4.             }
  5.             return $this->runCallable();
  6.         } catch (HttpResponseException $e) {
  7.             return $e->getResponse();
  8.         }
  9.     }
  1.         return (new Pipeline($this->container))
  2.                         ->send($request)
  3.                         ->through($middleware)
  4.                         ->then(fn ($request) => $this->prepareResponse(
  5.                             $request$route->run()
  6.                         ));
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  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.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         if (!in_array(strtolower($request->method()), ['put''post'])) {
  5.             return $next($request);
  6.         }
  7.         $input $request->all();
  8.         array_walk_recursive($input, function(&$input$key) {
  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.             $notification Auth::guard('member')->user()->notifications()->where('id'$request->read)->first();
  2.             if($notification) {
  3.                 $notification->markAsRead();
  4.             }
  5.         }
  6.         return $next($request);
  7.     }
  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.         $characterSet explode('.'setlocale(LC_CTYPE0));
  2.         setlocale(LC_TIME$this->lang_suffix_for_carbon($defaultLang) . ((!empty($characterSet[1])) ? '.' $characterSet[1] : '')   );
  3.         Carbon::setLocale($defaultLang);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Handle an incoming 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);
  1.      * @param  \Closure  $next
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         return $this->encrypt($next($this->decrypt($request)));
  7.     }
  8.     /**
  9.      * Decrypt the cookies on the request.
  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.             $this->isReading($request) ||
  2.             $this->runningUnitTests() ||
  3.             $this->inExceptArray($request) ||
  4.             $this->tokensMatch($request)
  5.         ) {
  6.             return tap($next($request), function ($response) use ($request) {
  7.                 if ($this->shouldAddXsrfTokenCookie()) {
  8.                     $this->addCookieToResponse($request$response);
  9.                 }
  10.             });
  11.         }
  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 mixed
  2.      */
  3.     public function handle($requestClosure $next)
  4.     {
  5.         $response $next($request);
  6.         if ( isPagespeedBot() || $response->getStatusCode() == 404) {
  7.             $content $response->getContent();
  8.             $response->setContent($this->blockUnusedCodes($content));
  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($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.             }
  2.             throw $exception;
  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.         // Putting the errors in the view for every view allows the developer to just
  2.         // assume that some errors are always available, which is convenient since
  3.         // they don't have to continually run checks for the presence of errors.
  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.             $this->startSession($request$session)
  2.         );
  3.         $this->collectGarbage($session);
  4.         $response $next($request);
  5.         $this->storeCurrentUrl($request$session);
  6.         $this->addCookieToResponse($response$session);
  1.         if ($this->manager->shouldBlock() ||
  2.             ($request->route() instanceof Route && $request->route()->locksFor())) {
  3.             return $this->handleRequestWhileBlocking($request$session$next);
  4.         }
  5.         return $this->handleStatefulRequest($request$session$next);
  6.     }
  7.     /**
  8.      * Handle the given request within session state.
  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.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         foreach ($this->cookies->getQueuedCookies() as $cookie) {
  8.             $response->headers->setCookie($cookie);
  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.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         return (new Pipeline($this->container))
  2.                         ->send($request)
  3.                         ->through($middleware)
  4.                         ->then(fn ($request) => $this->prepareResponse(
  5.                             $request$route->run()
  6.                         ));
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  10.      *
  1.         $request->setRouteResolver(fn () => $route);
  2.         $this->events->dispatch(new RouteMatched($route$request));
  3.         return $this->prepareResponse($request,
  4.             $this->runRouteWithinStack($route$request)
  5.         );
  6.     }
  7.     /**
  8.      * Run the given route within a Stack "onion" instance.
  1.      * @param  \Illuminate\Http\Request  $request
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function dispatchToRoute(Request $request)
  5.     {
  6.         return $this->runRoute($request$this->findRoute($request));
  7.     }
  8.     /**
  9.      * Find the route matching a given request.
  10.      *
  1.      */
  2.     public function dispatch(Request $request)
  3.     {
  4.         $this->currentRequest $request;
  5.         return $this->dispatchToRoute($request);
  6.     }
  7.     /**
  8.      * Dispatch the request to a route and return the response.
  9.      *
  1.     protected function dispatchToRouter()
  2.     {
  3.         return function ($request) {
  4.             $this->app->instance('request'$request);
  5.             return $this->router->dispatch($request);
  6.         };
  7.     }
  8.     /**
  9.      * Call the terminate method on any terminable middleware.
  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.      * @return mixed
  2.      */
  3.     public function handle($requestClosure $next)
  4.     {
  5.         if (!$this->debugbar->isEnabled() || $this->inExceptArray($request)) {
  6.             return $next($request);
  7.         }
  8.         $this->debugbar->boot();
  9.         try {
  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($requestClosure $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($requestClosure $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 && $request->server('CONTENT_LENGTH') > $max) {
  2.             throw new PostTooLargeException;
  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.                 null,
  2.                 $this->getHeaders($data)
  3.             );
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Determine if the incoming request has a maintenance mode bypass cookie.
  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($requestClosure $next)
  3.     {
  4.         // Check if we're dealing with CORS and if we should handle it
  5.         if (! $this->shouldRun($request)) {
  6.             return $next($request);
  7.         }
  8.         // For Preflight, return the Preflight response
  9.         if ($this->cors->isPreflightRequest($request)) {
  10.             $response $this->cors->handlePreflightRequest($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);
  1.     {
  2.         $request::setTrustedProxies([], $this->getTrustedHeaderNames());
  3.         $this->setTrustedProxyIpAddresses($request);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Sets the trusted proxies on the request.
  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.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         $this->bootstrap();
  2.         return (new Pipeline($this->app))
  3.                     ->send($request)
  4.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5.                     ->then($this->dispatchToRouter());
  6.     }
  7.     /**
  8.      * Bootstrap the application for HTTP requests.
  9.      *
  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. Cache::get($cacheKey);
  2. */
  3. $response tap($kernel->handle(
  4.     $request Request::capture()
  5. ))->send();
  6. $kernel->terminate($request$response);

Illuminate\Database\ QueryException

SQLSTATE[08S01]: Communication link failure: 1047 WSREP has not yet prepared node for application use (SQL: select * from `TE_post_properties` where `TE_post_properties`.`post_id` = 17728381 and `TE_post_properties`.`post_id` is not null and `TE_post_properties`.`deleted_at` is null limit 1)

  1.         // If an exception occurs when attempting to run a query, we'll format the error
  2.         // message to include the bindings with SQL, which will make this exception a
  3.         // lot more helpful to the developer instead of just the database's errors.
  4.         catch (Exception $e) {
  5.             throw new QueryException(
  6.                 $query$this->prepareBindings($bindings), $e
  7.             );
  8.         }
  9.     }
  1.     protected function tryAgainIfCausedByLostConnection(QueryException $e$query$bindingsClosure $callback)
  2.     {
  3.         if ($this->causedByLostConnection($e->getPrevious())) {
  4.             $this->reconnect();
  5.             return $this->runQueryCallback($query$bindings$callback);
  6.         }
  7.         throw $e;
  8.     }
  1.         if ($this->transactions >= 1) {
  2.             throw $e;
  3.         }
  4.         return $this->tryAgainIfCausedByLostConnection(
  5.             $e$query$bindings$callback
  6.         );
  7.     }
  8.     /**
  9.      * Handle a query exception that occurred during query execution.
  1.         // to re-establish connection and re-run the query with a fresh connection.
  2.         try {
  3.             $result $this->runQueryCallback($query$bindings$callback);
  4.         } catch (QueryException $e) {
  5.             $result $this->handleQueryException(
  6.                 $e$query$bindings$callback
  7.             );
  8.         }
  9.         // Once we have run the query we will calculate the time that it took to run and
  10.         // then log the query, bindings, and execution time so we will report them on
  1.             $this->bindValues($statement$this->prepareBindings($bindings));
  2.             $statement->execute();
  3.             return $statement->fetchAll();
  4.         });
  5.     }
  6.     /**
  7.      * Run a select statement against the database and returns a generator.
  8.      *
  1.      * @return array
  2.      */
  3.     protected function runSelect()
  4.     {
  5.         return $this->connection->select(
  6.             $this->toSql(), $this->getBindings(), ! $this->useWritePdo
  7.         );
  8.     }
  9.     /**
  10.      * Paginate the given query into a simple paginator.
  1.      * @return \Illuminate\Support\Collection
  2.      */
  3.     public function get($columns = ['*'])
  4.     {
  5.         return collect($this->onceWithColumns(Arr::wrap($columns), function () {
  6.             return $this->processor->processSelect($this$this->runSelect());
  7.         }));
  8.     }
  9.     /**
  10.      * Run the query as a "select" statement against the connection.
  1.         if (is_null($original)) {
  2.             $this->columns $columns;
  3.         }
  4.         $result $callback();
  5.         $this->columns $original;
  6.         return $result;
  7.     }
  1.      */
  2.     public function get($columns = ['*'])
  3.     {
  4.         return collect($this->onceWithColumns(Arr::wrap($columns), function () {
  5.             return $this->processor->processSelect($this$this->runSelect());
  6.         }));
  7.     }
  8.     /**
  9.      * Run the query as a "select" statement against the connection.
  10.      *
  1.      * @return \Illuminate\Database\Eloquent\Model[]|static[]
  2.      */
  3.     public function getModels($columns = ['*'])
  4.     {
  5.         return $this->model->hydrate(
  6.             $this->query->get($columns)->all()
  7.         )->all();
  8.     }
  9.     /**
  10.      * Eager load the relationships for the models.
  1.         $builder $this->applyScopes();
  2.         // If we actually found models we will also eager load any relationships that
  3.         // have been specified as needing to be eager loaded, which will solve the
  4.         // n+1 query issue for the developers to avoid running a lot of queries.
  5.         if (count($models $builder->getModels($columns)) > 0) {
  6.             $models $builder->eagerLoadRelations($models);
  7.         }
  8.         return $builder->getModel()->newCollection($models);
  9.     }
  1.      * @param  array|string  $columns
  2.      * @return \Illuminate\Database\Eloquent\Model|object|static|null
  3.      */
  4.     public function first($columns = ['*'])
  5.     {
  6.         return $this->take(1)->get($columns)->first();
  7.     }
  8.     /**
  9.      * Execute the query and get the first result if it's the sole matching record.
  10.      *
  1.     {
  2.         if (is_null($this->getParentKey())) {
  3.             return $this->getDefaultFor($this->parent);
  4.         }
  5.         return $this->query->first() ?: $this->getDefaultFor($this->parent);
  6.     }
  7.     /**
  8.      * Initialize the relation on a set of models.
  9.      *
  1.             throw new LogicException(sprintf(
  2.                 '%s::%s must return a relationship instance.', static::class, $method
  3.             ));
  4.         }
  5.         return tap($relation->getResults(), function ($results) use ($method) {
  6.             $this->setRelation($method$results);
  7.         });
  8.     }
  9.     /**
  1.         }
  2.         // If the "attribute" exists as a method on the model, we will just assume
  3.         // it is a relationship and will load and return results from the query
  4.         // and hydrate the relationship's value on the "relationships" array.
  5.         return $this->getRelationshipFromMethod($key);
  6.     }
  7.     /**
  8.      * Determine if the given key is a relationship method on the model.
  9.      *
  1.         if (method_exists(self::class, $key)) {
  2.             return $this->throwMissingAttributeExceptionIfApplicable($key);
  3.         }
  4.         return $this->isRelation($key) || $this->relationLoaded($key)
  5.                     ? $this->getRelationValue($key)
  6.                     : $this->throwMissingAttributeExceptionIfApplicable($key);
  7.     }
  8.     /**
  9.      * Either throw a missing attribute exception or return null depending on Eloquent's configuration.
  1.      * @param  string  $key
  2.      * @return mixed
  3.      */
  4.     public function __get($key)
  5.     {
  6.         return $this->getAttribute($key);
  7.     }
  8.     /**
  9.      * Dynamically set attributes on the model.
  10.      *
  1.             if (MacroableModels::modelHasMacro(get_class($this), $method)) {
  2.                 return call_user_func([$this$method]);
  3.             }
  4.         }
  5.         return parent::__get($key);
  6.     }
  7. }
  1.      * @return mixed
  2.      * @author TE Bilisim
  3.      */
  4.     public function getimageAttribute()
  5.     {
  6.         $image $this->properties->image ?: NULL;
  7.         if(!$image && $this->properties->headline) {
  8.             return $this->properties->headline;
  9.         }
  10.         return $image;
  1.      * @param  mixed  $value
  2.      * @return mixed
  3.      */
  4.     protected function mutateAttribute($key$value)
  5.     {
  6.         return $this->{'get'.Str::studly($key).'Attribute'}($value);
  7.     }
  8.     /**
  9.      * Get the value of an "Attribute" return type marked attribute using its mutator.
  10.      *
  1.     {
  2.         // If the attribute has a get mutator, we will call that then return what
  3.         // it returns as the value, which is useful for transforming values on
  4.         // retrieval from the model to a form that is more useful for usage.
  5.         if ($this->hasGetMutator($key)) {
  6.             return $this->mutateAttribute($key$value);
  7.         } elseif ($this->hasAttributeGetMutator($key)) {
  8.             return $this->mutateAttributeMarkedAttribute($key$value);
  9.         }
  10.         // If the attribute exists within the cast array, we will convert it to
  1.      * @param  string  $key
  2.      * @return mixed
  3.      */
  4.     public function getAttributeValue($key)
  5.     {
  6.         return $this->transformModelValue($key$this->getAttributeFromArray($key));
  7.     }
  8.     /**
  9.      * Get an attribute from the $attributes array.
  10.      *
  1.         if (array_key_exists($key$this->attributes) ||
  2.             array_key_exists($key$this->casts) ||
  3.             $this->hasGetMutator($key) ||
  4.             $this->hasAttributeMutator($key) ||
  5.             $this->isClassCastable($key)) {
  6.             return $this->getAttributeValue($key);
  7.         }
  8.         // Here we will determine if the model base class itself contains this given key
  9.         // since we don't want to treat any of those methods as relationships because
  10.         // they are all intended as helper methods and none of these are relations.
  1.      * @param  string  $key
  2.      * @return mixed
  3.      */
  4.     public function __get($key)
  5.     {
  6.         return $this->getAttribute($key);
  7.     }
  8.     /**
  9.      * Dynamically set attributes on the model.
  10.      *
  1.             if (MacroableModels::modelHasMacro(get_class($this), $method)) {
  2.                 return call_user_func([$this$method]);
  3.             }
  4.         }
  5.         return parent::__get($key);
  6.     }
  7. }
  1.         <div class="flex-grow-1 title-line-light ms-3"></div>
  2.     </div>
  3.     <?php $__currentLoopData $posts$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
  4.     <a href="<?php echo e($post->url); ?>" title="<?php echo e($post->name); ?>" target="_self" class="d-flex position-relative pb-3">
  5.         <div class="flex-shrink-0">
  6.             <img src="<?php echo e(get_object_image($post->image'thumb')); ?>" loading="lazy" width="130" height="76" alt="<?php echo e($post->name); ?>" class="img-fluid">
  7.         </div>
  8.         <div class="flex-grow-1 ms-3 d-flex align-items-center">
  9.             <div class="title-3-line lh-sm text-white">
  10.                 <?php echo e($post->name); ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // We will keep track of the amount of views being rendered so we can flush
  2.         // the section after the complete rendering operation is done. This will
  3.         // clear out the sections for any separate views that may be rendered.
  4.         $this->factory->incrementRender();
  5.         $this->factory->callComposer($this);
  6.         $contents $this->getContents();
  7.         if ($this->shortcode->getStrip()) {
  8.             // strip content without shortcodes
  9.             $contents $this->shortcode->strip($contents);
  10.         } else {
  11.             // compile the shortcodes
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         if (!$this->view->exists($path)) {
  2.             throw new UnknownPartialFileException('Partial view [' $view '] not found.');
  3.         }
  4.         $partial $this->view->make($path$args)->render();
  5.         $this->regions[$view] = $partial;
  6.         return $this->regions[$view];
  7.     }
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
  1.         if(!empty($widget->data['trend_type'])) {
  2.             $this->frontendTemplate 'trend-' $widget->data['trend_type'];
  3.         }
  4.         return Theme::loadPartial($this->frontendTemplateTheme::getThemeNamespace('/../widgets/' $this->widgetDirectory '/templates'), [
  5.                 'config' => $widget->data,
  6.                 'sidebar' => $args[0],
  7.                 'widget_unique_key' => $widget && $widget->id str_slug($this->config['name'] . ' ' $widget->id'_') : null,
  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.     /**
  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.             return static::callClass($container$callback$parameters$defaultMethod);
  2.         }
  3.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  4.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  5.         });
  6.     }
  7.     /**
  8.      * Call a string reference to a class using Class@method syntax.
  9.      *
  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.      * @return mixed
  2.      * @author TE Bilisim
  3.      */
  4.     public function call($method$params = [])
  5.     {
  6.         return $this->app->call($method$params);
  7.     }
  8.     /**
  9.      * Get the specified configuration value.
  10.      *
  1.      * @return mixed
  2.      * @author TE Bilisim
  3.      */
  4.     protected function getContent()
  5.     {
  6.         $content $this->app->call([$this->widget'run'], $this->widgetParams);
  7.         return is_object($content) ? $content->__toString() : $content;
  8.     }
  9.     /**
  1.             return $this->app->cache($this->widget->cacheKey($args), $cacheTime, function () {
  2.                 return $this->getContent();
  3.             });
  4.         }
  5.         return $this->getContent();
  6.     }
  7. }
  1.                 return $exception->getMessage();
  2.             }
  3.             return null;
  4.         }
  5.         $content $this->getContentFromCache($args);
  6.         if ($timeout = (float)$this->getReloadTimeout()) {
  7.             $content .= $this->javascriptFactory->getReloader($timeout);
  8.             $content $this->wrapContentInContainer($content);
  9.         }
  1.         $widget['arguments'][] = $this->id;
  2.         $widget['arguments'][] = $position;
  3.         $factory $this->app->make('te.widget');
  4.         return $factory->run(...$widget['arguments']);
  5.     }
  6.     /**
  7.      * Set widget position.
  8.      *
  1.         $output '';
  2.         $count 0;
  3.         foreach ($this->widgets as $position => $widgets) {
  4.             foreach ($widgets as $widget) {
  5.                 $count++;
  6.                 $output .= $this->displayWidget($widget$position);
  7.                 if ($this->count !== $count) {
  8.                     $output .= $this->separator;
  9.                 }
  10.             }
  11.         }
  1.         }
  2.         return $this->group($sidebarId)->display();
  3.     }
  4.     /**
  5.      * Make sure data is loaded.
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
  1.      * @return string
  2.      * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
  3.      */
  4.     function dynamic_sidebar(string $sidebarId)
  5.     {
  6.         return WidgetGroup::render($sidebarId);
  7.     }
  8. }
  1.                     </div>
  2.                     <div class="col-lg-4">
  3.                         <!-- SECONDARY SIDEBAR -->
  4.                         <?php echo dynamic_sidebar('secondary_sidebar'); ?>
  5.                     </div>
  6.                 </div>
  7.             </div>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // We will keep track of the amount of views being rendered so we can flush
  2.         // the section after the complete rendering operation is done. This will
  3.         // clear out the sections for any separate views that may be rendered.
  4.         $this->factory->incrementRender();
  5.         $this->factory->callComposer($this);
  6.         $contents $this->getContents();
  7.         if ($this->shortcode->getStrip()) {
  8.             // strip content without shortcodes
  9.             $contents $this->shortcode->strip($contents);
  10.         } else {
  11.             // compile the shortcodes
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         $this->fire('beforeRenderLayout.' $this->layout$this);
  2.         // Keeping arguments.
  3.         $this->arguments $args;
  4.         $content $this->view->make($view$args)->render();
  5.         // View path of content.
  6.         $this->content $view;
  7.         // Set up a content regional.
  1.         // Add namespace to find in a theme path.
  2.         $path $this->getThemeNamespace($viewDir '.' $view);
  3.         if ($this->view->exists($path)) {
  4.             return $this->setUpContent($path$args);
  5.         }
  6.         if (!empty($default)) {
  7.             return $this->of($default$args);
  8.         }
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
  1.          */
  2.         if (!empty($result) && is_array($result)) {
  3.             #return view('plugins.blog::themes.templates.test', $result['data'])->render();
  4.             return !empty($result['direct_link']) ? redirect($result['direct_link']) : Theme::scope($result['view'], $result['data'], Arr::get($result'default_view'))->render();
  5.         }
  6.         abort(404);
  1.     /**
  2.      * {@inheritDoc}
  3.      */
  4.     public function getView($key null)
  5.     {
  6.         return parent::getView($key);
  7.     }
  8.     /**
  9.      * @return mixed
  1.             if($slugx->converted) {
  2.                 $theme ucfirst(Theme::getThemeName());
  3.                 $class '\Theme\\'.$theme.'\\Http\Controllers\\'.$theme.'Controller';
  4.                 return app($class)->getView($slugx->key);
  5.             }
  6.         }
  7.         return redirect(route('public.single', ['slug' => $slug]), 301);
  1.      * @param  callable  $callable
  2.      * @return mixed
  3.      */
  4.     public function dispatch(Route $route$callable)
  5.     {
  6.         return $callable(...array_values($this->resolveParameters($route$callable)));
  7.     }
  8.     /**
  9.      * Resolve the parameters for the callable.
  10.      *
  1.         if ($this->isSerializedClosure()) {
  2.             $callable unserialize($this->action['uses'])->getClosure();
  3.         }
  4.         return $this->container[CallableDispatcher::class]->dispatch($this$callable);
  5.     }
  6.     /**
  7.      * Determine if the route action is a serialized Closure.
  8.      *
  1.         try {
  2.             if ($this->isControllerAction()) {
  3.                 return $this->runController();
  4.             }
  5.             return $this->runCallable();
  6.         } catch (HttpResponseException $e) {
  7.             return $e->getResponse();
  8.         }
  9.     }
  1.         return (new Pipeline($this->container))
  2.                         ->send($request)
  3.                         ->through($middleware)
  4.                         ->then(fn ($request) => $this->prepareResponse(
  5.                             $request$route->run()
  6.                         ));
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  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.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         if (!in_array(strtolower($request->method()), ['put''post'])) {
  5.             return $next($request);
  6.         }
  7.         $input $request->all();
  8.         array_walk_recursive($input, function(&$input$key) {
  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.             $notification Auth::guard('member')->user()->notifications()->where('id'$request->read)->first();
  2.             if($notification) {
  3.                 $notification->markAsRead();
  4.             }
  5.         }
  6.         return $next($request);
  7.     }
  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.         $characterSet explode('.'setlocale(LC_CTYPE0));
  2.         setlocale(LC_TIME$this->lang_suffix_for_carbon($defaultLang) . ((!empty($characterSet[1])) ? '.' $characterSet[1] : '')   );
  3.         Carbon::setLocale($defaultLang);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Handle an incoming 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);
  1.      * @param  \Closure  $next
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         return $this->encrypt($next($this->decrypt($request)));
  7.     }
  8.     /**
  9.      * Decrypt the cookies on the request.
  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.             $this->isReading($request) ||
  2.             $this->runningUnitTests() ||
  3.             $this->inExceptArray($request) ||
  4.             $this->tokensMatch($request)
  5.         ) {
  6.             return tap($next($request), function ($response) use ($request) {
  7.                 if ($this->shouldAddXsrfTokenCookie()) {
  8.                     $this->addCookieToResponse($request$response);
  9.                 }
  10.             });
  11.         }
  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 mixed
  2.      */
  3.     public function handle($requestClosure $next)
  4.     {
  5.         $response $next($request);
  6.         if ( isPagespeedBot() || $response->getStatusCode() == 404) {
  7.             $content $response->getContent();
  8.             $response->setContent($this->blockUnusedCodes($content));
  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($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.             }
  2.             throw $exception;
  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.         // Putting the errors in the view for every view allows the developer to just
  2.         // assume that some errors are always available, which is convenient since
  3.         // they don't have to continually run checks for the presence of errors.
  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.             $this->startSession($request$session)
  2.         );
  3.         $this->collectGarbage($session);
  4.         $response $next($request);
  5.         $this->storeCurrentUrl($request$session);
  6.         $this->addCookieToResponse($response$session);
  1.         if ($this->manager->shouldBlock() ||
  2.             ($request->route() instanceof Route && $request->route()->locksFor())) {
  3.             return $this->handleRequestWhileBlocking($request$session$next);
  4.         }
  5.         return $this->handleStatefulRequest($request$session$next);
  6.     }
  7.     /**
  8.      * Handle the given request within session state.
  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.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         foreach ($this->cookies->getQueuedCookies() as $cookie) {
  8.             $response->headers->setCookie($cookie);
  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.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         return (new Pipeline($this->container))
  2.                         ->send($request)
  3.                         ->through($middleware)
  4.                         ->then(fn ($request) => $this->prepareResponse(
  5.                             $request$route->run()
  6.                         ));
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  10.      *
  1.         $request->setRouteResolver(fn () => $route);
  2.         $this->events->dispatch(new RouteMatched($route$request));
  3.         return $this->prepareResponse($request,
  4.             $this->runRouteWithinStack($route$request)
  5.         );
  6.     }
  7.     /**
  8.      * Run the given route within a Stack "onion" instance.
  1.      * @param  \Illuminate\Http\Request  $request
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function dispatchToRoute(Request $request)
  5.     {
  6.         return $this->runRoute($request$this->findRoute($request));
  7.     }
  8.     /**
  9.      * Find the route matching a given request.
  10.      *
  1.      */
  2.     public function dispatch(Request $request)
  3.     {
  4.         $this->currentRequest $request;
  5.         return $this->dispatchToRoute($request);
  6.     }
  7.     /**
  8.      * Dispatch the request to a route and return the response.
  9.      *
  1.     protected function dispatchToRouter()
  2.     {
  3.         return function ($request) {
  4.             $this->app->instance('request'$request);
  5.             return $this->router->dispatch($request);
  6.         };
  7.     }
  8.     /**
  9.      * Call the terminate method on any terminable middleware.
  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.      * @return mixed
  2.      */
  3.     public function handle($requestClosure $next)
  4.     {
  5.         if (!$this->debugbar->isEnabled() || $this->inExceptArray($request)) {
  6.             return $next($request);
  7.         }
  8.         $this->debugbar->boot();
  9.         try {
  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($requestClosure $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($requestClosure $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 && $request->server('CONTENT_LENGTH') > $max) {
  2.             throw new PostTooLargeException;
  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.                 null,
  2.                 $this->getHeaders($data)
  3.             );
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Determine if the incoming request has a maintenance mode bypass cookie.
  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($requestClosure $next)
  3.     {
  4.         // Check if we're dealing with CORS and if we should handle it
  5.         if (! $this->shouldRun($request)) {
  6.             return $next($request);
  7.         }
  8.         // For Preflight, return the Preflight response
  9.         if ($this->cors->isPreflightRequest($request)) {
  10.             $response $this->cors->handlePreflightRequest($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);
  1.     {
  2.         $request::setTrustedProxies([], $this->getTrustedHeaderNames());
  3.         $this->setTrustedProxyIpAddresses($request);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Sets the trusted proxies on the request.
  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.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         $this->bootstrap();
  2.         return (new Pipeline($this->app))
  3.                     ->send($request)
  4.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5.                     ->then($this->dispatchToRouter());
  6.     }
  7.     /**
  8.      * Bootstrap the application for HTTP requests.
  9.      *
  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. Cache::get($cacheKey);
  2. */
  3. $response tap($kernel->handle(
  4.     $request Request::capture()
  5. ))->send();
  6. $kernel->terminate($request$response);

PDOException

SQLSTATE[08S01]: Communication link failure: 1047 WSREP has not yet prepared node for application use

  1.                 $this->getPdoForSelect($useReadPdo)->prepare($query)
  2.             );
  3.             $this->bindValues($statement$this->prepareBindings($bindings));
  4.             $statement->execute();
  5.             return $statement->fetchAll();
  6.         });
  7.     }
  1.                 $this->getPdoForSelect($useReadPdo)->prepare($query)
  2.             );
  3.             $this->bindValues($statement$this->prepareBindings($bindings));
  4.             $statement->execute();
  5.             return $statement->fetchAll();
  6.         });
  7.     }
  1.     {
  2.         // To execute the statement, we'll simply call the callback, which will actually
  3.         // run the SQL against the PDO connection. Then we can calculate the time it
  4.         // took to execute and log the query SQL, bindings and time in our memory.
  5.         try {
  6.             return $callback($query$bindings);
  7.         }
  8.         // If an exception occurs when attempting to run a query, we'll format the error
  9.         // message to include the bindings with SQL, which will make this exception a
  10.         // lot more helpful to the developer instead of just the database's errors.
  1.     protected function tryAgainIfCausedByLostConnection(QueryException $e$query$bindingsClosure $callback)
  2.     {
  3.         if ($this->causedByLostConnection($e->getPrevious())) {
  4.             $this->reconnect();
  5.             return $this->runQueryCallback($query$bindings$callback);
  6.         }
  7.         throw $e;
  8.     }
  1.         if ($this->transactions >= 1) {
  2.             throw $e;
  3.         }
  4.         return $this->tryAgainIfCausedByLostConnection(
  5.             $e$query$bindings$callback
  6.         );
  7.     }
  8.     /**
  9.      * Handle a query exception that occurred during query execution.
  1.         // to re-establish connection and re-run the query with a fresh connection.
  2.         try {
  3.             $result $this->runQueryCallback($query$bindings$callback);
  4.         } catch (QueryException $e) {
  5.             $result $this->handleQueryException(
  6.                 $e$query$bindings$callback
  7.             );
  8.         }
  9.         // Once we have run the query we will calculate the time that it took to run and
  10.         // then log the query, bindings, and execution time so we will report them on
  1.             $this->bindValues($statement$this->prepareBindings($bindings));
  2.             $statement->execute();
  3.             return $statement->fetchAll();
  4.         });
  5.     }
  6.     /**
  7.      * Run a select statement against the database and returns a generator.
  8.      *
  1.      * @return array
  2.      */
  3.     protected function runSelect()
  4.     {
  5.         return $this->connection->select(
  6.             $this->toSql(), $this->getBindings(), ! $this->useWritePdo
  7.         );
  8.     }
  9.     /**
  10.      * Paginate the given query into a simple paginator.
  1.      * @return \Illuminate\Support\Collection
  2.      */
  3.     public function get($columns = ['*'])
  4.     {
  5.         return collect($this->onceWithColumns(Arr::wrap($columns), function () {
  6.             return $this->processor->processSelect($this$this->runSelect());
  7.         }));
  8.     }
  9.     /**
  10.      * Run the query as a "select" statement against the connection.
  1.         if (is_null($original)) {
  2.             $this->columns $columns;
  3.         }
  4.         $result $callback();
  5.         $this->columns $original;
  6.         return $result;
  7.     }
  1.      */
  2.     public function get($columns = ['*'])
  3.     {
  4.         return collect($this->onceWithColumns(Arr::wrap($columns), function () {
  5.             return $this->processor->processSelect($this$this->runSelect());
  6.         }));
  7.     }
  8.     /**
  9.      * Run the query as a "select" statement against the connection.
  10.      *
  1.      * @return \Illuminate\Database\Eloquent\Model[]|static[]
  2.      */
  3.     public function getModels($columns = ['*'])
  4.     {
  5.         return $this->model->hydrate(
  6.             $this->query->get($columns)->all()
  7.         )->all();
  8.     }
  9.     /**
  10.      * Eager load the relationships for the models.
  1.         $builder $this->applyScopes();
  2.         // If we actually found models we will also eager load any relationships that
  3.         // have been specified as needing to be eager loaded, which will solve the
  4.         // n+1 query issue for the developers to avoid running a lot of queries.
  5.         if (count($models $builder->getModels($columns)) > 0) {
  6.             $models $builder->eagerLoadRelations($models);
  7.         }
  8.         return $builder->getModel()->newCollection($models);
  9.     }
  1.      * @param  array|string  $columns
  2.      * @return \Illuminate\Database\Eloquent\Model|object|static|null
  3.      */
  4.     public function first($columns = ['*'])
  5.     {
  6.         return $this->take(1)->get($columns)->first();
  7.     }
  8.     /**
  9.      * Execute the query and get the first result if it's the sole matching record.
  10.      *
  1.     {
  2.         if (is_null($this->getParentKey())) {
  3.             return $this->getDefaultFor($this->parent);
  4.         }
  5.         return $this->query->first() ?: $this->getDefaultFor($this->parent);
  6.     }
  7.     /**
  8.      * Initialize the relation on a set of models.
  9.      *
  1.             throw new LogicException(sprintf(
  2.                 '%s::%s must return a relationship instance.', static::class, $method
  3.             ));
  4.         }
  5.         return tap($relation->getResults(), function ($results) use ($method) {
  6.             $this->setRelation($method$results);
  7.         });
  8.     }
  9.     /**
  1.         }
  2.         // If the "attribute" exists as a method on the model, we will just assume
  3.         // it is a relationship and will load and return results from the query
  4.         // and hydrate the relationship's value on the "relationships" array.
  5.         return $this->getRelationshipFromMethod($key);
  6.     }
  7.     /**
  8.      * Determine if the given key is a relationship method on the model.
  9.      *
  1.         if (method_exists(self::class, $key)) {
  2.             return $this->throwMissingAttributeExceptionIfApplicable($key);
  3.         }
  4.         return $this->isRelation($key) || $this->relationLoaded($key)
  5.                     ? $this->getRelationValue($key)
  6.                     : $this->throwMissingAttributeExceptionIfApplicable($key);
  7.     }
  8.     /**
  9.      * Either throw a missing attribute exception or return null depending on Eloquent's configuration.
  1.      * @param  string  $key
  2.      * @return mixed
  3.      */
  4.     public function __get($key)
  5.     {
  6.         return $this->getAttribute($key);
  7.     }
  8.     /**
  9.      * Dynamically set attributes on the model.
  10.      *
  1.             if (MacroableModels::modelHasMacro(get_class($this), $method)) {
  2.                 return call_user_func([$this$method]);
  3.             }
  4.         }
  5.         return parent::__get($key);
  6.     }
  7. }
  1.      * @return mixed
  2.      * @author TE Bilisim
  3.      */
  4.     public function getimageAttribute()
  5.     {
  6.         $image $this->properties->image ?: NULL;
  7.         if(!$image && $this->properties->headline) {
  8.             return $this->properties->headline;
  9.         }
  10.         return $image;
  1.      * @param  mixed  $value
  2.      * @return mixed
  3.      */
  4.     protected function mutateAttribute($key$value)
  5.     {
  6.         return $this->{'get'.Str::studly($key).'Attribute'}($value);
  7.     }
  8.     /**
  9.      * Get the value of an "Attribute" return type marked attribute using its mutator.
  10.      *
  1.     {
  2.         // If the attribute has a get mutator, we will call that then return what
  3.         // it returns as the value, which is useful for transforming values on
  4.         // retrieval from the model to a form that is more useful for usage.
  5.         if ($this->hasGetMutator($key)) {
  6.             return $this->mutateAttribute($key$value);
  7.         } elseif ($this->hasAttributeGetMutator($key)) {
  8.             return $this->mutateAttributeMarkedAttribute($key$value);
  9.         }
  10.         // If the attribute exists within the cast array, we will convert it to
  1.      * @param  string  $key
  2.      * @return mixed
  3.      */
  4.     public function getAttributeValue($key)
  5.     {
  6.         return $this->transformModelValue($key$this->getAttributeFromArray($key));
  7.     }
  8.     /**
  9.      * Get an attribute from the $attributes array.
  10.      *
  1.         if (array_key_exists($key$this->attributes) ||
  2.             array_key_exists($key$this->casts) ||
  3.             $this->hasGetMutator($key) ||
  4.             $this->hasAttributeMutator($key) ||
  5.             $this->isClassCastable($key)) {
  6.             return $this->getAttributeValue($key);
  7.         }
  8.         // Here we will determine if the model base class itself contains this given key
  9.         // since we don't want to treat any of those methods as relationships because
  10.         // they are all intended as helper methods and none of these are relations.
  1.      * @param  string  $key
  2.      * @return mixed
  3.      */
  4.     public function __get($key)
  5.     {
  6.         return $this->getAttribute($key);
  7.     }
  8.     /**
  9.      * Dynamically set attributes on the model.
  10.      *
  1.             if (MacroableModels::modelHasMacro(get_class($this), $method)) {
  2.                 return call_user_func([$this$method]);
  3.             }
  4.         }
  5.         return parent::__get($key);
  6.     }
  7. }
  1.         <div class="flex-grow-1 title-line-light ms-3"></div>
  2.     </div>
  3.     <?php $__currentLoopData $posts$__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop $__env->getLastLoop(); ?>
  4.     <a href="<?php echo e($post->url); ?>" title="<?php echo e($post->name); ?>" target="_self" class="d-flex position-relative pb-3">
  5.         <div class="flex-shrink-0">
  6.             <img src="<?php echo e(get_object_image($post->image'thumb')); ?>" loading="lazy" width="130" height="76" alt="<?php echo e($post->name); ?>" class="img-fluid">
  7.         </div>
  8.         <div class="flex-grow-1 ms-3 d-flex align-items-center">
  9.             <div class="title-3-line lh-sm text-white">
  10.                 <?php echo e($post->name); ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // We will keep track of the amount of views being rendered so we can flush
  2.         // the section after the complete rendering operation is done. This will
  3.         // clear out the sections for any separate views that may be rendered.
  4.         $this->factory->incrementRender();
  5.         $this->factory->callComposer($this);
  6.         $contents $this->getContents();
  7.         if ($this->shortcode->getStrip()) {
  8.             // strip content without shortcodes
  9.             $contents $this->shortcode->strip($contents);
  10.         } else {
  11.             // compile the shortcodes
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         if (!$this->view->exists($path)) {
  2.             throw new UnknownPartialFileException('Partial view [' $view '] not found.');
  3.         }
  4.         $partial $this->view->make($path$args)->render();
  5.         $this->regions[$view] = $partial;
  6.         return $this->regions[$view];
  7.     }
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
  1.         if(!empty($widget->data['trend_type'])) {
  2.             $this->frontendTemplate 'trend-' $widget->data['trend_type'];
  3.         }
  4.         return Theme::loadPartial($this->frontendTemplateTheme::getThemeNamespace('/../widgets/' $this->widgetDirectory '/templates'), [
  5.                 'config' => $widget->data,
  6.                 'sidebar' => $args[0],
  7.                 'widget_unique_key' => $widget && $widget->id str_slug($this->config['name'] . ' ' $widget->id'_') : null,
  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.     /**
  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.             return static::callClass($container$callback$parameters$defaultMethod);
  2.         }
  3.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  4.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  5.         });
  6.     }
  7.     /**
  8.      * Call a string reference to a class using Class@method syntax.
  9.      *
  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.      * @return mixed
  2.      * @author TE Bilisim
  3.      */
  4.     public function call($method$params = [])
  5.     {
  6.         return $this->app->call($method$params);
  7.     }
  8.     /**
  9.      * Get the specified configuration value.
  10.      *
  1.      * @return mixed
  2.      * @author TE Bilisim
  3.      */
  4.     protected function getContent()
  5.     {
  6.         $content $this->app->call([$this->widget'run'], $this->widgetParams);
  7.         return is_object($content) ? $content->__toString() : $content;
  8.     }
  9.     /**
  1.             return $this->app->cache($this->widget->cacheKey($args), $cacheTime, function () {
  2.                 return $this->getContent();
  3.             });
  4.         }
  5.         return $this->getContent();
  6.     }
  7. }
  1.                 return $exception->getMessage();
  2.             }
  3.             return null;
  4.         }
  5.         $content $this->getContentFromCache($args);
  6.         if ($timeout = (float)$this->getReloadTimeout()) {
  7.             $content .= $this->javascriptFactory->getReloader($timeout);
  8.             $content $this->wrapContentInContainer($content);
  9.         }
  1.         $widget['arguments'][] = $this->id;
  2.         $widget['arguments'][] = $position;
  3.         $factory $this->app->make('te.widget');
  4.         return $factory->run(...$widget['arguments']);
  5.     }
  6.     /**
  7.      * Set widget position.
  8.      *
  1.         $output '';
  2.         $count 0;
  3.         foreach ($this->widgets as $position => $widgets) {
  4.             foreach ($widgets as $widget) {
  5.                 $count++;
  6.                 $output .= $this->displayWidget($widget$position);
  7.                 if ($this->count !== $count) {
  8.                     $output .= $this->separator;
  9.                 }
  10.             }
  11.         }
  1.         }
  2.         return $this->group($sidebarId)->display();
  3.     }
  4.     /**
  5.      * Make sure data is loaded.
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
  1.      * @return string
  2.      * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
  3.      */
  4.     function dynamic_sidebar(string $sidebarId)
  5.     {
  6.         return WidgetGroup::render($sidebarId);
  7.     }
  8. }
  1.                     </div>
  2.                     <div class="col-lg-4">
  3.                         <!-- SECONDARY SIDEBAR -->
  4.                         <?php echo dynamic_sidebar('secondary_sidebar'); ?>
  5.                     </div>
  6.                 </div>
  7.             </div>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // We will keep track of the amount of views being rendered so we can flush
  2.         // the section after the complete rendering operation is done. This will
  3.         // clear out the sections for any separate views that may be rendered.
  4.         $this->factory->incrementRender();
  5.         $this->factory->callComposer($this);
  6.         $contents $this->getContents();
  7.         if ($this->shortcode->getStrip()) {
  8.             // strip content without shortcodes
  9.             $contents $this->shortcode->strip($contents);
  10.         } else {
  11.             // compile the shortcodes
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.         $this->fire('beforeRenderLayout.' $this->layout$this);
  2.         // Keeping arguments.
  3.         $this->arguments $args;
  4.         $content $this->view->make($view$args)->render();
  5.         // View path of content.
  6.         $this->content $view;
  7.         // Set up a content regional.
  1.         // Add namespace to find in a theme path.
  2.         $path $this->getThemeNamespace($viewDir '.' $view);
  3.         if ($this->view->exists($path)) {
  4.             return $this->setUpContent($path$args);
  5.         }
  6.         if (!empty($default)) {
  7.             return $this->of($default$args);
  8.         }
  1.         if (! $instance) {
  2.             throw new RuntimeException('A facade root has not been set.');
  3.         }
  4.         return $instance->$method(...$args);
  5.     }
  6. }
  1.          */
  2.         if (!empty($result) && is_array($result)) {
  3.             #return view('plugins.blog::themes.templates.test', $result['data'])->render();
  4.             return !empty($result['direct_link']) ? redirect($result['direct_link']) : Theme::scope($result['view'], $result['data'], Arr::get($result'default_view'))->render();
  5.         }
  6.         abort(404);
  1.     /**
  2.      * {@inheritDoc}
  3.      */
  4.     public function getView($key null)
  5.     {
  6.         return parent::getView($key);
  7.     }
  8.     /**
  9.      * @return mixed
  1.             if($slugx->converted) {
  2.                 $theme ucfirst(Theme::getThemeName());
  3.                 $class '\Theme\\'.$theme.'\\Http\Controllers\\'.$theme.'Controller';
  4.                 return app($class)->getView($slugx->key);
  5.             }
  6.         }
  7.         return redirect(route('public.single', ['slug' => $slug]), 301);
  1.      * @param  callable  $callable
  2.      * @return mixed
  3.      */
  4.     public function dispatch(Route $route$callable)
  5.     {
  6.         return $callable(...array_values($this->resolveParameters($route$callable)));
  7.     }
  8.     /**
  9.      * Resolve the parameters for the callable.
  10.      *
  1.         if ($this->isSerializedClosure()) {
  2.             $callable unserialize($this->action['uses'])->getClosure();
  3.         }
  4.         return $this->container[CallableDispatcher::class]->dispatch($this$callable);
  5.     }
  6.     /**
  7.      * Determine if the route action is a serialized Closure.
  8.      *
  1.         try {
  2.             if ($this->isControllerAction()) {
  3.                 return $this->runController();
  4.             }
  5.             return $this->runCallable();
  6.         } catch (HttpResponseException $e) {
  7.             return $e->getResponse();
  8.         }
  9.     }
  1.         return (new Pipeline($this->container))
  2.                         ->send($request)
  3.                         ->through($middleware)
  4.                         ->then(fn ($request) => $this->prepareResponse(
  5.                             $request$route->run()
  6.                         ));
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  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.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         if (!in_array(strtolower($request->method()), ['put''post'])) {
  5.             return $next($request);
  6.         }
  7.         $input $request->all();
  8.         array_walk_recursive($input, function(&$input$key) {
  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.             $notification Auth::guard('member')->user()->notifications()->where('id'$request->read)->first();
  2.             if($notification) {
  3.                 $notification->markAsRead();
  4.             }
  5.         }
  6.         return $next($request);
  7.     }
  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.         $characterSet explode('.'setlocale(LC_CTYPE0));
  2.         setlocale(LC_TIME$this->lang_suffix_for_carbon($defaultLang) . ((!empty($characterSet[1])) ? '.' $characterSet[1] : '')   );
  3.         Carbon::setLocale($defaultLang);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Handle an incoming 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);
  1.      * @param  \Closure  $next
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         return $this->encrypt($next($this->decrypt($request)));
  7.     }
  8.     /**
  9.      * Decrypt the cookies on the request.
  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.             $this->isReading($request) ||
  2.             $this->runningUnitTests() ||
  3.             $this->inExceptArray($request) ||
  4.             $this->tokensMatch($request)
  5.         ) {
  6.             return tap($next($request), function ($response) use ($request) {
  7.                 if ($this->shouldAddXsrfTokenCookie()) {
  8.                     $this->addCookieToResponse($request$response);
  9.                 }
  10.             });
  11.         }
  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 mixed
  2.      */
  3.     public function handle($requestClosure $next)
  4.     {
  5.         $response $next($request);
  6.         if ( isPagespeedBot() || $response->getStatusCode() == 404) {
  7.             $content $response->getContent();
  8.             $response->setContent($this->blockUnusedCodes($content));
  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($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $response $next($request);
  5.         if(empty($response->headers)) {
  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);
  1.             }
  2.             throw $exception;
  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.         // Putting the errors in the view for every view allows the developer to just
  2.         // assume that some errors are always available, which is convenient since
  3.         // they don't have to continually run checks for the presence of errors.
  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.             $this->startSession($request$session)
  2.         );
  3.         $this->collectGarbage($session);
  4.         $response $next($request);
  5.         $this->storeCurrentUrl($request$session);
  6.         $this->addCookieToResponse($response$session);
  1.         if ($this->manager->shouldBlock() ||
  2.             ($request->route() instanceof Route && $request->route()->locksFor())) {
  3.             return $this->handleRequestWhileBlocking($request$session$next);
  4.         }
  5.         return $this->handleStatefulRequest($request$session$next);
  6.     }
  7.     /**
  8.      * Handle the given request within session state.
  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.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         foreach ($this->cookies->getQueuedCookies() as $cookie) {
  8.             $response->headers->setCookie($cookie);
  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.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         return (new Pipeline($this->container))
  2.                         ->send($request)
  3.                         ->through($middleware)
  4.                         ->then(fn ($request) => $this->prepareResponse(
  5.                             $request$route->run()
  6.                         ));
  7.     }
  8.     /**
  9.      * Gather the middleware for the given route with resolved class names.
  10.      *
  1.         $request->setRouteResolver(fn () => $route);
  2.         $this->events->dispatch(new RouteMatched($route$request));
  3.         return $this->prepareResponse($request,
  4.             $this->runRouteWithinStack($route$request)
  5.         );
  6.     }
  7.     /**
  8.      * Run the given route within a Stack "onion" instance.
  1.      * @param  \Illuminate\Http\Request  $request
  2.      * @return \Symfony\Component\HttpFoundation\Response
  3.      */
  4.     public function dispatchToRoute(Request $request)
  5.     {
  6.         return $this->runRoute($request$this->findRoute($request));
  7.     }
  8.     /**
  9.      * Find the route matching a given request.
  10.      *
  1.      */
  2.     public function dispatch(Request $request)
  3.     {
  4.         $this->currentRequest $request;
  5.         return $this->dispatchToRoute($request);
  6.     }
  7.     /**
  8.      * Dispatch the request to a route and return the response.
  9.      *
  1.     protected function dispatchToRouter()
  2.     {
  3.         return function ($request) {
  4.             $this->app->instance('request'$request);
  5.             return $this->router->dispatch($request);
  6.         };
  7.     }
  8.     /**
  9.      * Call the terminate method on any terminable middleware.
  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.      * @return mixed
  2.      */
  3.     public function handle($requestClosure $next)
  4.     {
  5.         if (!$this->debugbar->isEnabled() || $this->inExceptArray($request)) {
  6.             return $next($request);
  7.         }
  8.         $this->debugbar->boot();
  9.         try {
  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($requestClosure $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($requestClosure $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 && $request->server('CONTENT_LENGTH') > $max) {
  2.             throw new PostTooLargeException;
  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.                 null,
  2.                 $this->getHeaders($data)
  3.             );
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Determine if the incoming request has a maintenance mode bypass cookie.
  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($requestClosure $next)
  3.     {
  4.         // Check if we're dealing with CORS and if we should handle it
  5.         if (! $this->shouldRun($request)) {
  6.             return $next($request);
  7.         }
  8.         // For Preflight, return the Preflight response
  9.         if ($this->cors->isPreflightRequest($request)) {
  10.             $response $this->cors->handlePreflightRequest($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);
  1.     {
  2.         $request::setTrustedProxies([], $this->getTrustedHeaderNames());
  3.         $this->setTrustedProxyIpAddresses($request);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Sets the trusted proxies on the request.
  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.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         $this->bootstrap();
  2.         return (new Pipeline($this->app))
  3.                     ->send($request)
  4.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5.                     ->then($this->dispatchToRouter());
  6.     }
  7.     /**
  8.      * Bootstrap the application for HTTP requests.
  9.      *
  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. Cache::get($cacheKey);
  2. */
  3. $response tap($kernel->handle(
  4.     $request Request::capture()
  5. ))->send();
  6. $kernel->terminate($request$response);

Stack Traces 4

[4/4] ViewException
Illuminate\View\ViewException:
SQLSTATE[08S01]: Communication link failure: 1047 WSREP has not yet prepared node for application use (SQL: select * from `TE_post_properties` where `TE_post_properties`.`post_id` = 17728381 and `TE_post_properties`.`post_id` is not null and `TE_post_properties`.`deleted_at` is null limit 1) (View: /home/sadmin/web/dirilispostasi.com/public_html/public/themes/flow/widgets/trend-posts/templates/trend-1.blade.php) (View: /home/sadmin/web/dirilispostasi.com/public_html/public/themes/flow/widgets/trend-posts/templates/trend-1.blade.php)

  at /home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760
  at Illuminate\View\Engines\CompilerEngine->handleViewException()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/shortcode/src/View/View.php:83)
  at TE\Shortcode\View\View->renderContents()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/theme/src/Theme.php:855)
  at TE\Theme\Theme->setUpContent()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/theme/src/Theme.php:933)
  at TE\Theme\Theme->scope()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338)
  at Illuminate\Support\Facades\Facade::__callStatic()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/theme/src/Http/Controllers/PublicController.php:134)
  at TE\Theme\Http\Controllers\PublicController->getView()
     (/home/sadmin/web/dirilispostasi.com/public_html/public/themes/flow/src/Http/Controllers/FlowController.php:27)
  at Theme\Flow\Http\Controllers\FlowController->getView()
     (/home/sadmin/web/dirilispostasi.com/public_html/routes/te.php:18)
  at Illuminate\Routing\RouteFileRegistrar->{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/CallableDispatcher.php:40)
  at Illuminate\Routing\CallableDispatcher->dispatch()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:237)
  at Illuminate\Routing\Route->runCallable()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:208)
  at Illuminate\Routing\Route->run()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:798)
  at Illuminate\Routing\Router->Illuminate\Routing\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Http/Middleware/XSSProtectionMiddleware.php:24)
  at TE\Base\Http\Middleware\XSSProtectionMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Http/Middleware/MarkNotificationAsReadMiddleware.php:27)
  at TE\Base\Http\Middleware\MarkNotificationAsReadMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Http/Middleware/LocaleMiddleware.php:69)
  at TE\Base\Http\Middleware\LocaleMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/plugins/advert/src/Http/Middleware/PagespeedBotBlockMiddleware.php:20)
  at TE\Advert\Http\Middleware\PagespeedBotBlockMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:799)
  at Illuminate\Routing\Router->runRouteWithinStack()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:776)
  at Illuminate\Routing\Router->runRoute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:740)
  at Illuminate\Routing\Router->dispatchToRoute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:729)
  at Illuminate\Routing\Router->dispatch()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:190)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:59)
  at Barryvdh\Debugbar\Middleware\InjectDebugbar->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38)
  at Fruitcake\Cors\HandleCors->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/public/index.php:73)                
[3/4] ViewException
Illuminate\View\ViewException:
SQLSTATE[08S01]: Communication link failure: 1047 WSREP has not yet prepared node for application use (SQL: select * from `TE_post_properties` where `TE_post_properties`.`post_id` = 17728381 and `TE_post_properties`.`post_id` is not null and `TE_post_properties`.`deleted_at` is null limit 1) (View: /home/sadmin/web/dirilispostasi.com/public_html/public/themes/flow/widgets/trend-posts/templates/trend-1.blade.php)

  at /home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760
  at Illuminate\View\Engines\CompilerEngine->handleViewException()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/shortcode/src/View/View.php:83)
  at TE\Shortcode\View\View->renderContents()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/theme/src/Theme.php:666)
  at TE\Theme\Theme->loadPartial()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338)
  at Illuminate\Support\Facades\Facade::__callStatic()
     (/home/sadmin/web/dirilispostasi.com/public_html/public/themes/flow/widgets/trend-posts/trend-posts.php:68)
  at TrendPostsWidget->run()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36)
  at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Container/Util.php:41)
  at Illuminate\Container\Util::unwrapIfClosure()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93)
  at Illuminate\Container\BoundMethod::callBoundMethod()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:37)
  at Illuminate\Container\BoundMethod::call()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:661)
  at Illuminate\Container\Container->call()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/Misc/LaravelApplicationWrapper.php:50)
  at TE\Widget\Misc\LaravelApplicationWrapper->call()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/Factories/WidgetFactory.php:99)
  at TE\Widget\Factories\WidgetFactory->getContent()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/Factories/WidgetFactory.php:120)
  at TE\Widget\Factories\WidgetFactory->getContentFromCache()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/Factories/WidgetFactory.php:59)
  at TE\Widget\Factories\WidgetFactory->run()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/WidgetGroup.php:117)
  at TE\Widget\WidgetGroup->displayWidget()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/WidgetGroup.php:94)
  at TE\Widget\WidgetGroup->display()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/WidgetGroupCollection.php:140)
  at TE\Widget\WidgetGroupCollection->render()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338)
  at Illuminate\Support\Facades\Facade::__callStatic()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/helpers/helpers.php:68)
  at dynamic_sidebar()
     (/home/sadmin/web/dirilispostasi.com/public_html/storage/framework/views/448c9cd3e743ccd9869001d955dccba3f9793f57.php:62)
  at require('/home/sadmin/web/dirilispostasi.com/public_html/storage/framework/views/448c9cd3e743ccd9869001d955dccba3f9793f57.php')
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/shortcode/src/View/View.php:83)
  at TE\Shortcode\View\View->renderContents()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/theme/src/Theme.php:855)
  at TE\Theme\Theme->setUpContent()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/theme/src/Theme.php:933)
  at TE\Theme\Theme->scope()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338)
  at Illuminate\Support\Facades\Facade::__callStatic()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/theme/src/Http/Controllers/PublicController.php:134)
  at TE\Theme\Http\Controllers\PublicController->getView()
     (/home/sadmin/web/dirilispostasi.com/public_html/public/themes/flow/src/Http/Controllers/FlowController.php:27)
  at Theme\Flow\Http\Controllers\FlowController->getView()
     (/home/sadmin/web/dirilispostasi.com/public_html/routes/te.php:18)
  at Illuminate\Routing\RouteFileRegistrar->{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/CallableDispatcher.php:40)
  at Illuminate\Routing\CallableDispatcher->dispatch()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:237)
  at Illuminate\Routing\Route->runCallable()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:208)
  at Illuminate\Routing\Route->run()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:798)
  at Illuminate\Routing\Router->Illuminate\Routing\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Http/Middleware/XSSProtectionMiddleware.php:24)
  at TE\Base\Http\Middleware\XSSProtectionMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Http/Middleware/MarkNotificationAsReadMiddleware.php:27)
  at TE\Base\Http\Middleware\MarkNotificationAsReadMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Http/Middleware/LocaleMiddleware.php:69)
  at TE\Base\Http\Middleware\LocaleMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/plugins/advert/src/Http/Middleware/PagespeedBotBlockMiddleware.php:20)
  at TE\Advert\Http\Middleware\PagespeedBotBlockMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:799)
  at Illuminate\Routing\Router->runRouteWithinStack()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:776)
  at Illuminate\Routing\Router->runRoute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:740)
  at Illuminate\Routing\Router->dispatchToRoute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:729)
  at Illuminate\Routing\Router->dispatch()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:190)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:59)
  at Barryvdh\Debugbar\Middleware\InjectDebugbar->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38)
  at Fruitcake\Cors\HandleCors->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/public/index.php:73)                
[2/4] QueryException
Illuminate\Database\QueryException:
SQLSTATE[08S01]: Communication link failure: 1047 WSREP has not yet prepared node for application use (SQL: select * from `TE_post_properties` where `TE_post_properties`.`post_id` = 17728381 and `TE_post_properties`.`post_id` is not null and `TE_post_properties`.`deleted_at` is null limit 1)

  at /home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760
  at Illuminate\Database\Connection->runQueryCallback()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:899)
  at Illuminate\Database\Connection->tryAgainIfCausedByLostConnection()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:879)
  at Illuminate\Database\Connection->handleQueryException()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:723)
  at Illuminate\Database\Connection->run()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:422)
  at Illuminate\Database\Connection->select()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2706)
  at Illuminate\Database\Query\Builder->runSelect()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2694)
  at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:3230)
  at Illuminate\Database\Query\Builder->onceWithColumns()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2695)
  at Illuminate\Database\Query\Builder->get()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:710)
  at Illuminate\Database\Eloquent\Builder->getModels()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:694)
  at Illuminate\Database\Eloquent\Builder->get()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php:296)
  at Illuminate\Database\Eloquent\Builder->first()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/HasOne.php:29)
  at Illuminate\Database\Eloquent\Relations\HasOne->getResults()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:594)
  at Illuminate\Database\Eloquent\Model->getRelationshipFromMethod()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:532)
  at Illuminate\Database\Eloquent\Model->getRelationValue()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:457)
  at Illuminate\Database\Eloquent\Model->getAttribute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2222)
  at Illuminate\Database\Eloquent\Model->__get()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Models/BaseModel.php:24)
  at TE\Base\Models\BaseModel->__get()
     (/home/sadmin/web/dirilispostasi.com/public_html/plugins/blog/src/Models/Post.php:176)
  at TE\Blog\Models\Post->getimageAttribute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:661)
  at Illuminate\Database\Eloquent\Model->mutateAttribute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:2083)
  at Illuminate\Database\Eloquent\Model->transformModelValue()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:492)
  at Illuminate\Database\Eloquent\Model->getAttributeValue()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:446)
  at Illuminate\Database\Eloquent\Model->getAttribute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2222)
  at Illuminate\Database\Eloquent\Model->__get()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Models/BaseModel.php:24)
  at TE\Base\Models\BaseModel->__get()
     (/home/sadmin/web/dirilispostasi.com/public_html/storage/framework/views/f55804239e87dbc7a1c4fb3f206b8b50af4926d5.php:14)
  at require('/home/sadmin/web/dirilispostasi.com/public_html/storage/framework/views/f55804239e87dbc7a1c4fb3f206b8b50af4926d5.php')
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/shortcode/src/View/View.php:83)
  at TE\Shortcode\View\View->renderContents()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/theme/src/Theme.php:666)
  at TE\Theme\Theme->loadPartial()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338)
  at Illuminate\Support\Facades\Facade::__callStatic()
     (/home/sadmin/web/dirilispostasi.com/public_html/public/themes/flow/widgets/trend-posts/trend-posts.php:68)
  at TrendPostsWidget->run()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36)
  at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Container/Util.php:41)
  at Illuminate\Container\Util::unwrapIfClosure()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93)
  at Illuminate\Container\BoundMethod::callBoundMethod()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:37)
  at Illuminate\Container\BoundMethod::call()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:661)
  at Illuminate\Container\Container->call()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/Misc/LaravelApplicationWrapper.php:50)
  at TE\Widget\Misc\LaravelApplicationWrapper->call()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/Factories/WidgetFactory.php:99)
  at TE\Widget\Factories\WidgetFactory->getContent()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/Factories/WidgetFactory.php:120)
  at TE\Widget\Factories\WidgetFactory->getContentFromCache()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/Factories/WidgetFactory.php:59)
  at TE\Widget\Factories\WidgetFactory->run()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/WidgetGroup.php:117)
  at TE\Widget\WidgetGroup->displayWidget()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/WidgetGroup.php:94)
  at TE\Widget\WidgetGroup->display()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/WidgetGroupCollection.php:140)
  at TE\Widget\WidgetGroupCollection->render()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338)
  at Illuminate\Support\Facades\Facade::__callStatic()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/helpers/helpers.php:68)
  at dynamic_sidebar()
     (/home/sadmin/web/dirilispostasi.com/public_html/storage/framework/views/448c9cd3e743ccd9869001d955dccba3f9793f57.php:62)
  at require('/home/sadmin/web/dirilispostasi.com/public_html/storage/framework/views/448c9cd3e743ccd9869001d955dccba3f9793f57.php')
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/shortcode/src/View/View.php:83)
  at TE\Shortcode\View\View->renderContents()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/theme/src/Theme.php:855)
  at TE\Theme\Theme->setUpContent()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/theme/src/Theme.php:933)
  at TE\Theme\Theme->scope()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338)
  at Illuminate\Support\Facades\Facade::__callStatic()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/theme/src/Http/Controllers/PublicController.php:134)
  at TE\Theme\Http\Controllers\PublicController->getView()
     (/home/sadmin/web/dirilispostasi.com/public_html/public/themes/flow/src/Http/Controllers/FlowController.php:27)
  at Theme\Flow\Http\Controllers\FlowController->getView()
     (/home/sadmin/web/dirilispostasi.com/public_html/routes/te.php:18)
  at Illuminate\Routing\RouteFileRegistrar->{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/CallableDispatcher.php:40)
  at Illuminate\Routing\CallableDispatcher->dispatch()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:237)
  at Illuminate\Routing\Route->runCallable()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:208)
  at Illuminate\Routing\Route->run()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:798)
  at Illuminate\Routing\Router->Illuminate\Routing\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Http/Middleware/XSSProtectionMiddleware.php:24)
  at TE\Base\Http\Middleware\XSSProtectionMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Http/Middleware/MarkNotificationAsReadMiddleware.php:27)
  at TE\Base\Http\Middleware\MarkNotificationAsReadMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Http/Middleware/LocaleMiddleware.php:69)
  at TE\Base\Http\Middleware\LocaleMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/plugins/advert/src/Http/Middleware/PagespeedBotBlockMiddleware.php:20)
  at TE\Advert\Http\Middleware\PagespeedBotBlockMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:799)
  at Illuminate\Routing\Router->runRouteWithinStack()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:776)
  at Illuminate\Routing\Router->runRoute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:740)
  at Illuminate\Routing\Router->dispatchToRoute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:729)
  at Illuminate\Routing\Router->dispatch()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:190)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:59)
  at Barryvdh\Debugbar\Middleware\InjectDebugbar->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38)
  at Fruitcake\Cors\HandleCors->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/public/index.php:73)                
[1/4] PDOException
PDOException:
SQLSTATE[08S01]: Communication link failure: 1047 WSREP has not yet prepared node for application use

  at /home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:419
  at PDOStatement->execute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:419)
  at Illuminate\Database\Connection->Illuminate\Database\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:753)
  at Illuminate\Database\Connection->runQueryCallback()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:899)
  at Illuminate\Database\Connection->tryAgainIfCausedByLostConnection()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:879)
  at Illuminate\Database\Connection->handleQueryException()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:723)
  at Illuminate\Database\Connection->run()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:422)
  at Illuminate\Database\Connection->select()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2706)
  at Illuminate\Database\Query\Builder->runSelect()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2694)
  at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:3230)
  at Illuminate\Database\Query\Builder->onceWithColumns()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2695)
  at Illuminate\Database\Query\Builder->get()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:710)
  at Illuminate\Database\Eloquent\Builder->getModels()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:694)
  at Illuminate\Database\Eloquent\Builder->get()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php:296)
  at Illuminate\Database\Eloquent\Builder->first()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/HasOne.php:29)
  at Illuminate\Database\Eloquent\Relations\HasOne->getResults()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:594)
  at Illuminate\Database\Eloquent\Model->getRelationshipFromMethod()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:532)
  at Illuminate\Database\Eloquent\Model->getRelationValue()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:457)
  at Illuminate\Database\Eloquent\Model->getAttribute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2222)
  at Illuminate\Database\Eloquent\Model->__get()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Models/BaseModel.php:24)
  at TE\Base\Models\BaseModel->__get()
     (/home/sadmin/web/dirilispostasi.com/public_html/plugins/blog/src/Models/Post.php:176)
  at TE\Blog\Models\Post->getimageAttribute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:661)
  at Illuminate\Database\Eloquent\Model->mutateAttribute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:2083)
  at Illuminate\Database\Eloquent\Model->transformModelValue()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:492)
  at Illuminate\Database\Eloquent\Model->getAttributeValue()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:446)
  at Illuminate\Database\Eloquent\Model->getAttribute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2222)
  at Illuminate\Database\Eloquent\Model->__get()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Models/BaseModel.php:24)
  at TE\Base\Models\BaseModel->__get()
     (/home/sadmin/web/dirilispostasi.com/public_html/storage/framework/views/f55804239e87dbc7a1c4fb3f206b8b50af4926d5.php:14)
  at require('/home/sadmin/web/dirilispostasi.com/public_html/storage/framework/views/f55804239e87dbc7a1c4fb3f206b8b50af4926d5.php')
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/shortcode/src/View/View.php:83)
  at TE\Shortcode\View\View->renderContents()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/theme/src/Theme.php:666)
  at TE\Theme\Theme->loadPartial()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338)
  at Illuminate\Support\Facades\Facade::__callStatic()
     (/home/sadmin/web/dirilispostasi.com/public_html/public/themes/flow/widgets/trend-posts/trend-posts.php:68)
  at TrendPostsWidget->run()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36)
  at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Container/Util.php:41)
  at Illuminate\Container\Util::unwrapIfClosure()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93)
  at Illuminate\Container\BoundMethod::callBoundMethod()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:37)
  at Illuminate\Container\BoundMethod::call()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:661)
  at Illuminate\Container\Container->call()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/Misc/LaravelApplicationWrapper.php:50)
  at TE\Widget\Misc\LaravelApplicationWrapper->call()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/Factories/WidgetFactory.php:99)
  at TE\Widget\Factories\WidgetFactory->getContent()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/Factories/WidgetFactory.php:120)
  at TE\Widget\Factories\WidgetFactory->getContentFromCache()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/Factories/WidgetFactory.php:59)
  at TE\Widget\Factories\WidgetFactory->run()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/WidgetGroup.php:117)
  at TE\Widget\WidgetGroup->displayWidget()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/WidgetGroup.php:94)
  at TE\Widget\WidgetGroup->display()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/src/WidgetGroupCollection.php:140)
  at TE\Widget\WidgetGroupCollection->render()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338)
  at Illuminate\Support\Facades\Facade::__callStatic()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/widget/helpers/helpers.php:68)
  at dynamic_sidebar()
     (/home/sadmin/web/dirilispostasi.com/public_html/storage/framework/views/448c9cd3e743ccd9869001d955dccba3f9793f57.php:62)
  at require('/home/sadmin/web/dirilispostasi.com/public_html/storage/framework/views/448c9cd3e743ccd9869001d955dccba3f9793f57.php')
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:195)
  at Illuminate\View\View->getContents()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/shortcode/src/View/View.php:83)
  at TE\Shortcode\View\View->renderContents()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:147)
  at Illuminate\View\View->render()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/theme/src/Theme.php:855)
  at TE\Theme\Theme->setUpContent()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/theme/src/Theme.php:933)
  at TE\Theme\Theme->scope()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338)
  at Illuminate\Support\Facades\Facade::__callStatic()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/theme/src/Http/Controllers/PublicController.php:134)
  at TE\Theme\Http\Controllers\PublicController->getView()
     (/home/sadmin/web/dirilispostasi.com/public_html/public/themes/flow/src/Http/Controllers/FlowController.php:27)
  at Theme\Flow\Http\Controllers\FlowController->getView()
     (/home/sadmin/web/dirilispostasi.com/public_html/routes/te.php:18)
  at Illuminate\Routing\RouteFileRegistrar->{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/CallableDispatcher.php:40)
  at Illuminate\Routing\CallableDispatcher->dispatch()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:237)
  at Illuminate\Routing\Route->runCallable()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:208)
  at Illuminate\Routing\Route->run()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:798)
  at Illuminate\Routing\Router->Illuminate\Routing\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Http/Middleware/XSSProtectionMiddleware.php:24)
  at TE\Base\Http\Middleware\XSSProtectionMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Http/Middleware/MarkNotificationAsReadMiddleware.php:27)
  at TE\Base\Http\Middleware\MarkNotificationAsReadMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/base/src/Http/Middleware/LocaleMiddleware.php:69)
  at TE\Base\Http\Middleware\LocaleMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67)
  at Illuminate\Cookie\Middleware\EncryptCookies->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78)
  at Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/plugins/advert/src/Http/Middleware/PagespeedBotBlockMiddleware.php:20)
  at TE\Advert\Http\Middleware\PagespeedBotBlockMiddleware->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/te/cache/src/Http/Middleware/PageSpeed.php:33)
  at TE\Cache\Http\Middleware\PageSpeed->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50)
  at Illuminate\Routing\Middleware\SubstituteBindings->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49)
  at Illuminate\View\Middleware\ShareErrorsFromSession->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121)
  at Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64)
  at Illuminate\Session\Middleware\StartSession->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37)
  at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:799)
  at Illuminate\Routing\Router->runRouteWithinStack()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:776)
  at Illuminate\Routing\Router->runRoute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:740)
  at Illuminate\Routing\Router->dispatchToRoute()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:729)
  at Illuminate\Routing\Router->dispatch()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:190)
  at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:59)
  at Barryvdh\Debugbar\Middleware\InjectDebugbar->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/fruitcake/laravel-cors/src/HandleCors.php:38)
  at Fruitcake\Cors\HandleCors->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/sadmin/web/dirilispostasi.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/sadmin/web/dirilispostasi.com/public_html/public/index.php:73)