// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
catch (Exception $e) {
throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
}
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// We will keep track of the amount of views being rendered, so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
if ($this->shortcode->getStrip()) {
// strip content without shortcodes
$contents = $this->shortcode->strip($contents);
} else {
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// If this content implements the "Renderable" interface then we will call the
// render method on the object so we will avoid any "__toString" exceptions
// that might be thrown and have their errors obscured by PHP's handling.
elseif ($content instanceof Renderable) {
$content = $content->render();
}
parent::setContent($content);
return $this;
*/
public function __construct($content = '', $status = 200, array $headers = [])
{
$this->headers = new ResponseHeaderBag($headers);
$this->setContent($content);
$this->setStatusCode($status);
$this->setProtocolVersion('1.0');
}
/**
* @param array $headers
* @return \Illuminate\Http\Response
*/
public function make($content = '', $status = 200, array $headers = [])
{
return new Response($content, $status, $headers);
}
/**
* Create a new "no content" response.
*
{
if (is_array($view)) {
return $this->make($this->view->first($view, $data), $status, $headers);
}
return $this->make($this->view->make($view, $data), $status, $headers);
}
/**
* Create a new JSON response instance.
*
protected function renderHttpException(HttpExceptionInterface $e)
{
$this->registerErrorViewPaths();
if ($view = $this->getHttpExceptionView($e)) {
return response()->view($view, [
'errors' => new ViewErrorBag,
'exception' => $e,
], $e->getStatusCode(), $e->getHeaders());
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage(), $e);
}
return $this->toIlluminateResponse(
$this->renderHttpException($e), $e
)->prepare($request);
}
/**
* Create a Symfony response for the given exception.
*/
protected function renderExceptionResponse($request, Throwable $e)
{
return $this->shouldReturnJson($request, $e)
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Convert an authentication exception into a response.
*
return match (true) {
$e instanceof HttpResponseException => $e->getResponse(),
$e instanceof AuthenticationException => $this->unauthenticated($request, $e),
$e instanceof ValidationException => $this->convertValidationExceptionToResponse($e, $request),
default => $this->renderExceptionResponse($request, $e),
};
}
/**
* Prepare exception for rendering.
->toResponse($request),
};
}
}
return parent::render($request, $e);
}
public function report(Throwable $e)
{
if ($this->shouldReport($e) && ! $this->isExceptionFromBot()) {
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
/**
{
if ($request->has($this->field)) {
$this->wrapValidator();
}
return $next($request);
}
/**
* Wraps Validator resolver with RemoteValidator resolver.
*/
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
if ($callback($request)) {
return $next($request);
}
}
return parent::handle($request, $next);
}
/**
* Transform the given value.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
if ($callback($request)) {
return $next($request);
}
}
return parent::handle($request, $next);
}
/**
* Transform the given value.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
null,
$this->getHeaders($data)
);
}
return $next($request);
}
/**
* Determine if the incoming request has a maintenance mode bypass cookie.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @return \Illuminate\Http\Response
*/
public function handle($request, Closure $next)
{
if (! $this->hasMatchingPath($request)) {
return $next($request);
}
$this->cors->setOptions($this->container['config']->get('cors', []));
if ($this->cors->isPreflightRequest($request)) {
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames());
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
$this->requestStartedAt = Carbon::now();
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
return __DIR__;
});
$kernel = $app->make(Kernel::class);
$response = $kernel->handle(
$request = Request::capture()
)->send();
$kernel->terminate($request, $response);
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
catch (Exception $e) {
throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
}
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// We will keep track of the amount of views being rendered, so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
if ($this->shortcode->getStrip()) {
// strip content without shortcodes
$contents = $this->shortcode->strip($contents);
} else {
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
if (! $this->view->exists($path)) {
throw new UnknownPartialFileException('Partial view [' . $view . '] not found.');
}
$partial = $this->view->make($path, $args)->render();
$this->regions[$view] = $partial;
return $this->regions[$view];
}
*/
public function partial(string $view, array $args = []): ?string
{
$partialDir = $this->getThemeNamespace($this->getConfig('containerDir.partial'));
return $this->loadPartial($view, $partialDir, $args);
}
/**
* Load a partial
*/
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
SeoHelper::setTitle(__('404 - Not found'));
Theme::fireEventGlobalAssets();
AdminBar::setIsDisplay(false);
?>
<?php echo Theme::partial('header'); ?>
<div id="main-content">
<div class="container-xxxl">
<div class="row justify-content-center">
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// We will keep track of the amount of views being rendered, so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
if ($this->shortcode->getStrip()) {
// strip content without shortcodes
$contents = $this->shortcode->strip($contents);
} else {
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// If this content implements the "Renderable" interface then we will call the
// render method on the object so we will avoid any "__toString" exceptions
// that might be thrown and have their errors obscured by PHP's handling.
elseif ($content instanceof Renderable) {
$content = $content->render();
}
parent::setContent($content);
return $this;
*/
public function __construct($content = '', $status = 200, array $headers = [])
{
$this->headers = new ResponseHeaderBag($headers);
$this->setContent($content);
$this->setStatusCode($status);
$this->setProtocolVersion('1.0');
}
/**
* @param array $headers
* @return \Illuminate\Http\Response
*/
public function make($content = '', $status = 200, array $headers = [])
{
return new Response($content, $status, $headers);
}
/**
* Create a new "no content" response.
*
{
if (is_array($view)) {
return $this->make($this->view->first($view, $data), $status, $headers);
}
return $this->make($this->view->make($view, $data), $status, $headers);
}
/**
* Create a new JSON response instance.
*
protected function renderHttpException(HttpExceptionInterface $e)
{
$this->registerErrorViewPaths();
if ($view = $this->getHttpExceptionView($e)) {
return response()->view($view, [
'errors' => new ViewErrorBag,
'exception' => $e,
], $e->getStatusCode(), $e->getHeaders());
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage(), $e);
}
return $this->toIlluminateResponse(
$this->renderHttpException($e), $e
)->prepare($request);
}
/**
* Create a Symfony response for the given exception.
*/
protected function renderExceptionResponse($request, Throwable $e)
{
return $this->shouldReturnJson($request, $e)
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Convert an authentication exception into a response.
*
return match (true) {
$e instanceof HttpResponseException => $e->getResponse(),
$e instanceof AuthenticationException => $this->unauthenticated($request, $e),
$e instanceof ValidationException => $this->convertValidationExceptionToResponse($e, $request),
default => $this->renderExceptionResponse($request, $e),
};
}
/**
* Prepare exception for rendering.
->toResponse($request),
};
}
}
return parent::render($request, $e);
}
public function report(Throwable $e)
{
if ($this->shouldReport($e) && ! $this->isExceptionFromBot()) {
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
/**
{
if ($request->has($this->field)) {
$this->wrapValidator();
}
return $next($request);
}
/**
* Wraps Validator resolver with RemoteValidator resolver.
*/
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
if ($callback($request)) {
return $next($request);
}
}
return parent::handle($request, $next);
}
/**
* Transform the given value.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
if ($callback($request)) {
return $next($request);
}
}
return parent::handle($request, $next);
}
/**
* Transform the given value.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
null,
$this->getHeaders($data)
);
}
return $next($request);
}
/**
* Determine if the incoming request has a maintenance mode bypass cookie.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @return \Illuminate\Http\Response
*/
public function handle($request, Closure $next)
{
if (! $this->hasMatchingPath($request)) {
return $next($request);
}
$this->cors->setOptions($this->container['config']->get('cors', []));
if ($this->cors->isPreflightRequest($request)) {
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames());
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
$this->requestStartedAt = Carbon::now();
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
return __DIR__;
});
$kernel = $app->make(Kernel::class);
$response = $kernel->handle(
$request = Request::capture()
)->send();
$kernel->terminate($request, $response);
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
catch (Exception $e) {
throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
}
// Here we will run this query. If an exception occurs we'll determine if it was
// caused by a connection that has been lost. If that is the cause, we'll try
// to re-establish connection and re-run the query with a fresh connection.
try {
$result = $this->runQueryCallback($query, $bindings, $callback);
} catch (QueryException $e) {
$result = $this->handleQueryException(
$e, $query, $bindings, $callback
);
}
* @param bool $useReadPdo
* @return array
*/
public function select($query, $bindings = [], $useReadPdo = true)
{
return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
if ($this->pretending()) {
return [];
}
// For select statements, we'll simply execute the query and return an array
*
* @return array
*/
protected function runSelect()
{
return $this->connection->select(
$this->toSql(), $this->getBindings(), ! $this->useWritePdo
);
}
/**
* @return \Illuminate\Support\Collection
*/
public function get($columns = ['*'])
{
return collect($this->onceWithColumns(Arr::wrap($columns), function () {
return $this->processor->processSelect($this, $this->runSelect());
}));
}
/**
* Run the query as a "select" statement against the connection.
if (is_null($original)) {
$this->columns = $columns;
}
$result = $callback();
$this->columns = $original;
return $result;
}
* @param array|string $columns
* @return \Illuminate\Support\Collection
*/
public function get($columns = ['*'])
{
return collect($this->onceWithColumns(Arr::wrap($columns), function () {
return $this->processor->processSelect($this, $this->runSelect());
}));
}
/**
* @return \Illuminate\Database\Eloquent\Model[]|static[]
*/
public function getModels($columns = ['*'])
{
return $this->model->hydrate(
$this->query->get($columns)->all()
)->all();
}
/**
* Eager load the relationships for the models.
$builder = $this->applyScopes();
// If we actually found models we will also eager load any relationships that
// have been specified as needing to be eager loaded, which will solve the
// n+1 query issue for the developers to avoid running a lot of queries.
if (count($models = $builder->getModels($columns)) > 0) {
$models = $builder->eagerLoadRelations($models);
}
return $builder->getModel()->newCollection($models);
}
{
$this->applyConditions($condition);
$data = $this->make($with)->select($select);
return $this->applyBeforeExecuteQuery($data)->get();
}
protected function applyConditions(array $where, &$model = null)
{
if (! $model) {
}
public function getDataIfExistCache(string $function, array $args)
{
if (! setting('enable_cache', false) || (is_in_admin(true) && setting('disable_cache_in_the_admin_panel', true))) {
return call_user_func_array([$this->repository, $function], $args);
}
try {
$cacheKey = md5(
get_class($this) .
return $this->getDataIfExistCache(__FUNCTION__, func_get_args());
}
public function allBy(array $condition, array $with = [], array $select = ['*'])
{
return $this->getDataIfExistCache(__FUNCTION__, func_get_args());
}
public function create(array $data)
{
return $this->flushCacheAndUpdateData(__FUNCTION__, func_get_args());
'menuNodes.child',
'menuNodes.metadata',
'locations',
];
return $this->menuRepository->allBy(['status' => BaseStatusEnum::PUBLISHED], $with);
}
public function generateMenu(array $args = []): ?string
{
$this->load();
}
public function load(bool $force = false): void
{
if (! $this->loaded || $force) {
$this->data = $this->read();
$this->loaded = true;
}
}
protected function read(): Collection
return $this;
}
public function renderMenuLocation(string $location, array $attributes = []): string
{
$this->load();
$html = '';
foreach ($this->data as $menu) {
if (! in_array($location, $menu->locations->pluck('location')->all())) {
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
<div class="header-top d-none d-lg-block">
<div class="container-xxxl">
<div class="row align-items-center">
<div class="col-6">
<div class="header-info">
<?php echo Menu::renderMenuLocation('header-navigation', ['view' => 'menu-default']); ?>
</div>
</div>
<div class="col-6">
<div class="header-info header-info-right">
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// We will keep track of the amount of views being rendered, so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
if ($this->shortcode->getStrip()) {
// strip content without shortcodes
$contents = $this->shortcode->strip($contents);
} else {
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
if (! $this->view->exists($path)) {
throw new UnknownPartialFileException('Partial view [' . $view . '] not found.');
}
$partial = $this->view->make($path, $args)->render();
$this->regions[$view] = $partial;
return $this->regions[$view];
}
*/
public function partial(string $view, array $args = []): ?string
{
$partialDir = $this->getThemeNamespace($this->getConfig('containerDir.partial'));
return $this->loadPartial($view, $partialDir, $args);
}
/**
* Load a partial
*/
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
SeoHelper::setTitle(__('404 - Not found'));
Theme::fireEventGlobalAssets();
AdminBar::setIsDisplay(false);
?>
<?php echo Theme::partial('header'); ?>
<div id="main-content">
<div class="container-xxxl">
<div class="row justify-content-center">
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// We will keep track of the amount of views being rendered, so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
if ($this->shortcode->getStrip()) {
// strip content without shortcodes
$contents = $this->shortcode->strip($contents);
} else {
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// If this content implements the "Renderable" interface then we will call the
// render method on the object so we will avoid any "__toString" exceptions
// that might be thrown and have their errors obscured by PHP's handling.
elseif ($content instanceof Renderable) {
$content = $content->render();
}
parent::setContent($content);
return $this;
*/
public function __construct($content = '', $status = 200, array $headers = [])
{
$this->headers = new ResponseHeaderBag($headers);
$this->setContent($content);
$this->setStatusCode($status);
$this->setProtocolVersion('1.0');
}
/**
* @param array $headers
* @return \Illuminate\Http\Response
*/
public function make($content = '', $status = 200, array $headers = [])
{
return new Response($content, $status, $headers);
}
/**
* Create a new "no content" response.
*
{
if (is_array($view)) {
return $this->make($this->view->first($view, $data), $status, $headers);
}
return $this->make($this->view->make($view, $data), $status, $headers);
}
/**
* Create a new JSON response instance.
*
protected function renderHttpException(HttpExceptionInterface $e)
{
$this->registerErrorViewPaths();
if ($view = $this->getHttpExceptionView($e)) {
return response()->view($view, [
'errors' => new ViewErrorBag,
'exception' => $e,
], $e->getStatusCode(), $e->getHeaders());
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage(), $e);
}
return $this->toIlluminateResponse(
$this->renderHttpException($e), $e
)->prepare($request);
}
/**
* Create a Symfony response for the given exception.
*/
protected function renderExceptionResponse($request, Throwable $e)
{
return $this->shouldReturnJson($request, $e)
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Convert an authentication exception into a response.
*
return match (true) {
$e instanceof HttpResponseException => $e->getResponse(),
$e instanceof AuthenticationException => $this->unauthenticated($request, $e),
$e instanceof ValidationException => $this->convertValidationExceptionToResponse($e, $request),
default => $this->renderExceptionResponse($request, $e),
};
}
/**
* Prepare exception for rendering.
->toResponse($request),
};
}
}
return parent::render($request, $e);
}
public function report(Throwable $e)
{
if ($this->shouldReport($e) && ! $this->isExceptionFromBot()) {
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
/**
{
if ($request->has($this->field)) {
$this->wrapValidator();
}
return $next($request);
}
/**
* Wraps Validator resolver with RemoteValidator resolver.
*/
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
if ($callback($request)) {
return $next($request);
}
}
return parent::handle($request, $next);
}
/**
* Transform the given value.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
if ($callback($request)) {
return $next($request);
}
}
return parent::handle($request, $next);
}
/**
* Transform the given value.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
null,
$this->getHeaders($data)
);
}
return $next($request);
}
/**
* Determine if the incoming request has a maintenance mode bypass cookie.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @return \Illuminate\Http\Response
*/
public function handle($request, Closure $next)
{
if (! $this->hasMatchingPath($request)) {
return $next($request);
}
$this->cors->setOptions($this->container['config']->get('cors', []));
if ($this->cors->isPreflightRequest($request)) {
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames());
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
$this->requestStartedAt = Carbon::now();
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
return __DIR__;
});
$kernel = $app->make(Kernel::class);
$response = $kernel->handle(
$request = Request::capture()
)->send();
$kernel->terminate($request, $response);
// For select statements, we'll simply execute the query and return an array
// of the database result set. Each element in the array will be a single
// row from the database table, and will either be an array or objects.
$statement = $this->prepared(
$this->getPdoForSelect($useReadPdo)->prepare($query)
);
$this->bindValues($statement, $this->prepareBindings($bindings));
$statement->execute();
// For select statements, we'll simply execute the query and return an array
// of the database result set. Each element in the array will be a single
// row from the database table, and will either be an array or objects.
$statement = $this->prepared(
$this->getPdoForSelect($useReadPdo)->prepare($query)
);
$this->bindValues($statement, $this->prepareBindings($bindings));
$statement->execute();
{
// To execute the statement, we'll simply call the callback, which will actually
// run the SQL against the PDO connection. Then we can calculate the time it
// took to execute and log the query SQL, bindings and time in our memory.
try {
return $callback($query, $bindings);
}
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
// Here we will run this query. If an exception occurs we'll determine if it was
// caused by a connection that has been lost. If that is the cause, we'll try
// to re-establish connection and re-run the query with a fresh connection.
try {
$result = $this->runQueryCallback($query, $bindings, $callback);
} catch (QueryException $e) {
$result = $this->handleQueryException(
$e, $query, $bindings, $callback
);
}
* @param bool $useReadPdo
* @return array
*/
public function select($query, $bindings = [], $useReadPdo = true)
{
return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
if ($this->pretending()) {
return [];
}
// For select statements, we'll simply execute the query and return an array
*
* @return array
*/
protected function runSelect()
{
return $this->connection->select(
$this->toSql(), $this->getBindings(), ! $this->useWritePdo
);
}
/**
* @return \Illuminate\Support\Collection
*/
public function get($columns = ['*'])
{
return collect($this->onceWithColumns(Arr::wrap($columns), function () {
return $this->processor->processSelect($this, $this->runSelect());
}));
}
/**
* Run the query as a "select" statement against the connection.
if (is_null($original)) {
$this->columns = $columns;
}
$result = $callback();
$this->columns = $original;
return $result;
}
* @param array|string $columns
* @return \Illuminate\Support\Collection
*/
public function get($columns = ['*'])
{
return collect($this->onceWithColumns(Arr::wrap($columns), function () {
return $this->processor->processSelect($this, $this->runSelect());
}));
}
/**
* @return \Illuminate\Database\Eloquent\Model[]|static[]
*/
public function getModels($columns = ['*'])
{
return $this->model->hydrate(
$this->query->get($columns)->all()
)->all();
}
/**
* Eager load the relationships for the models.
$builder = $this->applyScopes();
// If we actually found models we will also eager load any relationships that
// have been specified as needing to be eager loaded, which will solve the
// n+1 query issue for the developers to avoid running a lot of queries.
if (count($models = $builder->getModels($columns)) > 0) {
$models = $builder->eagerLoadRelations($models);
}
return $builder->getModel()->newCollection($models);
}
{
$this->applyConditions($condition);
$data = $this->make($with)->select($select);
return $this->applyBeforeExecuteQuery($data)->get();
}
protected function applyConditions(array $where, &$model = null)
{
if (! $model) {
}
public function getDataIfExistCache(string $function, array $args)
{
if (! setting('enable_cache', false) || (is_in_admin(true) && setting('disable_cache_in_the_admin_panel', true))) {
return call_user_func_array([$this->repository, $function], $args);
}
try {
$cacheKey = md5(
get_class($this) .
return $this->getDataIfExistCache(__FUNCTION__, func_get_args());
}
public function allBy(array $condition, array $with = [], array $select = ['*'])
{
return $this->getDataIfExistCache(__FUNCTION__, func_get_args());
}
public function create(array $data)
{
return $this->flushCacheAndUpdateData(__FUNCTION__, func_get_args());
'menuNodes.child',
'menuNodes.metadata',
'locations',
];
return $this->menuRepository->allBy(['status' => BaseStatusEnum::PUBLISHED], $with);
}
public function generateMenu(array $args = []): ?string
{
$this->load();
}
public function load(bool $force = false): void
{
if (! $this->loaded || $force) {
$this->data = $this->read();
$this->loaded = true;
}
}
protected function read(): Collection
return $this;
}
public function renderMenuLocation(string $location, array $attributes = []): string
{
$this->load();
$html = '';
foreach ($this->data as $menu) {
if (! in_array($location, $menu->locations->pluck('location')->all())) {
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
<div class="header-top d-none d-lg-block">
<div class="container-xxxl">
<div class="row align-items-center">
<div class="col-6">
<div class="header-info">
<?php echo Menu::renderMenuLocation('header-navigation', ['view' => 'menu-default']); ?>
</div>
</div>
<div class="col-6">
<div class="header-info header-info-right">
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// We will keep track of the amount of views being rendered, so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
if ($this->shortcode->getStrip()) {
// strip content without shortcodes
$contents = $this->shortcode->strip($contents);
} else {
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
if (! $this->view->exists($path)) {
throw new UnknownPartialFileException('Partial view [' . $view . '] not found.');
}
$partial = $this->view->make($path, $args)->render();
$this->regions[$view] = $partial;
return $this->regions[$view];
}
*/
public function partial(string $view, array $args = []): ?string
{
$partialDir = $this->getThemeNamespace($this->getConfig('containerDir.partial'));
return $this->loadPartial($view, $partialDir, $args);
}
/**
* Load a partial
*/
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
SeoHelper::setTitle(__('404 - Not found'));
Theme::fireEventGlobalAssets();
AdminBar::setIsDisplay(false);
?>
<?php echo Theme::partial('header'); ?>
<div id="main-content">
<div class="container-xxxl">
<div class="row justify-content-center">
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
try {
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
} catch (ViewException $e) {
if (! str($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
throw $e;
}
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// We will keep track of the amount of views being rendered, so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
if ($this->shortcode->getStrip()) {
// strip content without shortcodes
$contents = $this->shortcode->strip($contents);
} else {
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// If this content implements the "Renderable" interface then we will call the
// render method on the object so we will avoid any "__toString" exceptions
// that might be thrown and have their errors obscured by PHP's handling.
elseif ($content instanceof Renderable) {
$content = $content->render();
}
parent::setContent($content);
return $this;
*/
public function __construct($content = '', $status = 200, array $headers = [])
{
$this->headers = new ResponseHeaderBag($headers);
$this->setContent($content);
$this->setStatusCode($status);
$this->setProtocolVersion('1.0');
}
/**
* @param array $headers
* @return \Illuminate\Http\Response
*/
public function make($content = '', $status = 200, array $headers = [])
{
return new Response($content, $status, $headers);
}
/**
* Create a new "no content" response.
*
{
if (is_array($view)) {
return $this->make($this->view->first($view, $data), $status, $headers);
}
return $this->make($this->view->make($view, $data), $status, $headers);
}
/**
* Create a new JSON response instance.
*
protected function renderHttpException(HttpExceptionInterface $e)
{
$this->registerErrorViewPaths();
if ($view = $this->getHttpExceptionView($e)) {
return response()->view($view, [
'errors' => new ViewErrorBag,
'exception' => $e,
], $e->getStatusCode(), $e->getHeaders());
}
if (! $this->isHttpException($e)) {
$e = new HttpException(500, $e->getMessage(), $e);
}
return $this->toIlluminateResponse(
$this->renderHttpException($e), $e
)->prepare($request);
}
/**
* Create a Symfony response for the given exception.
*/
protected function renderExceptionResponse($request, Throwable $e)
{
return $this->shouldReturnJson($request, $e)
? $this->prepareJsonResponse($request, $e)
: $this->prepareResponse($request, $e);
}
/**
* Convert an authentication exception into a response.
*
return match (true) {
$e instanceof HttpResponseException => $e->getResponse(),
$e instanceof AuthenticationException => $this->unauthenticated($request, $e),
$e instanceof ValidationException => $this->convertValidationExceptionToResponse($e, $request),
default => $this->renderExceptionResponse($request, $e),
};
}
/**
* Prepare exception for rendering.
->toResponse($request),
};
}
}
return parent::render($request, $e);
}
public function report(Throwable $e)
{
if ($this->shouldReport($e) && ! $this->isExceptionFromBot()) {
$handler = $this->container->make(ExceptionHandler::class);
$handler->report($e);
$response = $handler->render($passable, $e);
if (is_object($response) && method_exists($response, 'withException')) {
$response->withException($e);
}
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
/**
{
if ($request->has($this->field)) {
$this->wrapValidator();
}
return $next($request);
}
/**
* Wraps Validator resolver with RemoteValidator resolver.
*/
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
if ($callback($request)) {
return $next($request);
}
}
return parent::handle($request, $next);
}
/**
* Transform the given value.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
if ($callback($request)) {
return $next($request);
}
}
return parent::handle($request, $next);
}
/**
* Transform the given value.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
null,
$this->getHeaders($data)
);
}
return $next($request);
}
/**
* Determine if the incoming request has a maintenance mode bypass cookie.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
* @return \Illuminate\Http\Response
*/
public function handle($request, Closure $next)
{
if (! $this->hasMatchingPath($request)) {
return $next($request);
}
$this->cors->setOptions($this->container['config']->get('cors', []));
if ($this->cors->isPreflightRequest($request)) {
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames());
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request.
*
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
$this->requestStartedAt = Carbon::now();
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
return __DIR__;
});
$kernel = $app->make(Kernel::class);
$response = $kernel->handle(
$request = Request::capture()
)->send();
$kernel->terminate($request, $response);
[4/4]
ViewException
|
---|
Illuminate\View\ViewException: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected (SQL: select * from `menus` where `status` = published) (View: /home1/wcl2kbau/public_html/platform/themes/farmart/partials/header.blade.php) (View: /home1/wcl2kbau/public_html/platform/themes/farmart/partials/header.blade.php) at /home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760 at Illuminate\View\Engines\CompilerEngine->handleViewException(object(ViewException), 0) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath('/home1/wcl2kbau/public_html/storage/framework/views/07a5004cc24e6bfce3d084b7c7f1b67648b84c40.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get('/home1/wcl2kbau/public_html/platform/themes/farmart/views/404.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:195) at Illuminate\View\View->getContents() (/home1/wcl2kbau/public_html/vendor/botble/shortcode/src/View/View.php:50) at Botble\Shortcode\View\View->renderContents() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:147) at Illuminate\View\View->render() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Response.php:69) at Illuminate\Http\Response->setContent(object(View)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Response.php:35) at Illuminate\Http\Response->__construct(object(View), 404, array()) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:57) at Illuminate\Routing\ResponseFactory->make(object(View), 404, array()) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:87) at Illuminate\Routing\ResponseFactory->view('theme.farmart::views.404', array('errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)), 404, array()) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:626) at Illuminate\Foundation\Exceptions\Handler->renderHttpException(object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:554) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:460) at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:377) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/botble/platform/base/src/Exceptions/Handler.php:103) at Botble\Base\Exceptions\Handler->render(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:143) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php:43) at Botble\JsValidation\RemoteValidationMiddleware->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31) at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40) at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49) at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39) at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home1/wcl2kbau/public_html/public/index.php:55) |
[3/4]
ViewException
|
---|
Illuminate\View\ViewException: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected (SQL: select * from `menus` where `status` = published) (View: /home1/wcl2kbau/public_html/platform/themes/farmart/partials/header.blade.php) at /home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760 at Illuminate\View\Engines\CompilerEngine->handleViewException(object(QueryException), 1) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath('/home1/wcl2kbau/public_html/storage/framework/views/212eec574e4b89419c32fd80c8eac99650a31d77.php', array('__env' => object(Factory), 'app' => object(Application))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get('/home1/wcl2kbau/public_html/platform/themes/farmart/partials/header.blade.php', array('__env' => object(Factory), 'app' => object(Application))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:195) at Illuminate\View\View->getContents() (/home1/wcl2kbau/public_html/vendor/botble/shortcode/src/View/View.php:50) at Botble\Shortcode\View\View->renderContents() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:147) at Illuminate\View\View->render() (/home1/wcl2kbau/public_html/vendor/botble/theme/src/Theme.php:445) at Botble\Theme\Theme->loadPartial('header', 'theme.farmart::partials', array()) (/home1/wcl2kbau/public_html/vendor/botble/theme/src/Theme.php:431) at Botble\Theme\Theme->partial('header') (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338) at Illuminate\Support\Facades\Facade::__callStatic('partial', array('header')) (/home1/wcl2kbau/public_html/storage/framework/views/07a5004cc24e6bfce3d084b7c7f1b67648b84c40.php:7) at require('/home1/wcl2kbau/public_html/storage/framework/views/07a5004cc24e6bfce3d084b7c7f1b67648b84c40.php') (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire('/home1/wcl2kbau/public_html/storage/framework/views/07a5004cc24e6bfce3d084b7c7f1b67648b84c40.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath('/home1/wcl2kbau/public_html/storage/framework/views/07a5004cc24e6bfce3d084b7c7f1b67648b84c40.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get('/home1/wcl2kbau/public_html/platform/themes/farmart/views/404.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:195) at Illuminate\View\View->getContents() (/home1/wcl2kbau/public_html/vendor/botble/shortcode/src/View/View.php:50) at Botble\Shortcode\View\View->renderContents() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:147) at Illuminate\View\View->render() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Response.php:69) at Illuminate\Http\Response->setContent(object(View)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Response.php:35) at Illuminate\Http\Response->__construct(object(View), 404, array()) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:57) at Illuminate\Routing\ResponseFactory->make(object(View), 404, array()) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:87) at Illuminate\Routing\ResponseFactory->view('theme.farmart::views.404', array('errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)), 404, array()) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:626) at Illuminate\Foundation\Exceptions\Handler->renderHttpException(object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:554) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:460) at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:377) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/botble/platform/base/src/Exceptions/Handler.php:103) at Botble\Base\Exceptions\Handler->render(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:143) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php:43) at Botble\JsValidation\RemoteValidationMiddleware->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31) at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40) at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49) at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39) at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home1/wcl2kbau/public_html/public/index.php:55) |
[2/4]
QueryException
|
---|
Illuminate\Database\QueryException: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected (SQL: select * from `menus` where `status` = published) at /home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760 at Illuminate\Database\Connection->runQueryCallback('select * from `menus` where `status` = ?', array('published'), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:720) at Illuminate\Database\Connection->run('select * from `menus` where `status` = ?', array('published'), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:405) at Illuminate\Database\Connection->select('select * from `menus` where `status` = ?', array('published'), true) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2705) at Illuminate\Database\Query\Builder->runSelect() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2694) at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:3230) at Illuminate\Database\Query\Builder->onceWithColumns(array('*'), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2693) at Illuminate\Database\Query\Builder->get(array('*')) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:710) at Illuminate\Database\Eloquent\Builder->getModels(array('*')) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:694) at Illuminate\Database\Eloquent\Builder->get() (/home1/wcl2kbau/public_html/vendor/botble/platform/support/src/Repositories/Eloquent/RepositoriesAbstract.php:123) at Botble\Support\Repositories\Eloquent\RepositoriesAbstract->allBy(array('status' => 'published'), array('menuNodes', 'menuNodes.child', 'menuNodes.metadata', 'locations')) at call_user_func_array(array(object(MenuRepository), 'allBy'), array(array('status' => 'published'), array('menuNodes', 'menuNodes.child', 'menuNodes.metadata', 'locations'))) (/home1/wcl2kbau/public_html/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php:25) at Botble\Support\Repositories\Caches\CacheAbstractDecorator->getDataIfExistCache('allBy', array(array('status' => 'published'), array('menuNodes', 'menuNodes.child', 'menuNodes.metadata', 'locations'))) (/home1/wcl2kbau/public_html/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php:120) at Botble\Support\Repositories\Caches\CacheAbstractDecorator->allBy(array('status' => 'published'), array('menuNodes', 'menuNodes.child', 'menuNodes.metadata', 'locations')) (/home1/wcl2kbau/public_html/vendor/botble/menu/src/Menu.php:209) at Botble\Menu\Menu->read() (/home1/wcl2kbau/public_html/vendor/botble/menu/src/Menu.php:195) at Botble\Menu\Menu->load() (/home1/wcl2kbau/public_html/vendor/botble/menu/src/Menu.php:163) at Botble\Menu\Menu->renderMenuLocation('header-navigation', array('view' => 'menu-default')) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338) at Illuminate\Support\Facades\Facade::__callStatic('renderMenuLocation', array('header-navigation', array('view' => 'menu-default'))) (/home1/wcl2kbau/public_html/storage/framework/views/212eec574e4b89419c32fd80c8eac99650a31d77.php:61) at require('/home1/wcl2kbau/public_html/storage/framework/views/212eec574e4b89419c32fd80c8eac99650a31d77.php') (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire('/home1/wcl2kbau/public_html/storage/framework/views/212eec574e4b89419c32fd80c8eac99650a31d77.php', array('__env' => object(Factory), 'app' => object(Application))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath('/home1/wcl2kbau/public_html/storage/framework/views/212eec574e4b89419c32fd80c8eac99650a31d77.php', array('__env' => object(Factory), 'app' => object(Application))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get('/home1/wcl2kbau/public_html/platform/themes/farmart/partials/header.blade.php', array('__env' => object(Factory), 'app' => object(Application))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:195) at Illuminate\View\View->getContents() (/home1/wcl2kbau/public_html/vendor/botble/shortcode/src/View/View.php:50) at Botble\Shortcode\View\View->renderContents() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:147) at Illuminate\View\View->render() (/home1/wcl2kbau/public_html/vendor/botble/theme/src/Theme.php:445) at Botble\Theme\Theme->loadPartial('header', 'theme.farmart::partials', array()) (/home1/wcl2kbau/public_html/vendor/botble/theme/src/Theme.php:431) at Botble\Theme\Theme->partial('header') (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338) at Illuminate\Support\Facades\Facade::__callStatic('partial', array('header')) (/home1/wcl2kbau/public_html/storage/framework/views/07a5004cc24e6bfce3d084b7c7f1b67648b84c40.php:7) at require('/home1/wcl2kbau/public_html/storage/framework/views/07a5004cc24e6bfce3d084b7c7f1b67648b84c40.php') (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire('/home1/wcl2kbau/public_html/storage/framework/views/07a5004cc24e6bfce3d084b7c7f1b67648b84c40.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath('/home1/wcl2kbau/public_html/storage/framework/views/07a5004cc24e6bfce3d084b7c7f1b67648b84c40.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get('/home1/wcl2kbau/public_html/platform/themes/farmart/views/404.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:195) at Illuminate\View\View->getContents() (/home1/wcl2kbau/public_html/vendor/botble/shortcode/src/View/View.php:50) at Botble\Shortcode\View\View->renderContents() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:147) at Illuminate\View\View->render() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Response.php:69) at Illuminate\Http\Response->setContent(object(View)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Response.php:35) at Illuminate\Http\Response->__construct(object(View), 404, array()) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:57) at Illuminate\Routing\ResponseFactory->make(object(View), 404, array()) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:87) at Illuminate\Routing\ResponseFactory->view('theme.farmart::views.404', array('errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)), 404, array()) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:626) at Illuminate\Foundation\Exceptions\Handler->renderHttpException(object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:554) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:460) at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:377) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/botble/platform/base/src/Exceptions/Handler.php:103) at Botble\Base\Exceptions\Handler->render(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:143) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php:43) at Botble\JsValidation\RemoteValidationMiddleware->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31) at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40) at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49) at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39) at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home1/wcl2kbau/public_html/public/index.php:55) |
[1/4]
PDOException
|
---|
PDOException: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected at /home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:414 at PDO->prepare('select * from `menus` where `status` = ?') (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:414) at Illuminate\Database\Connection->Illuminate\Database\{closure}('select * from `menus` where `status` = ?', array('published')) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:753) at Illuminate\Database\Connection->runQueryCallback('select * from `menus` where `status` = ?', array('published'), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:720) at Illuminate\Database\Connection->run('select * from `menus` where `status` = ?', array('published'), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:405) at Illuminate\Database\Connection->select('select * from `menus` where `status` = ?', array('published'), true) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2705) at Illuminate\Database\Query\Builder->runSelect() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2694) at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:3230) at Illuminate\Database\Query\Builder->onceWithColumns(array('*'), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2693) at Illuminate\Database\Query\Builder->get(array('*')) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:710) at Illuminate\Database\Eloquent\Builder->getModels(array('*')) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:694) at Illuminate\Database\Eloquent\Builder->get() (/home1/wcl2kbau/public_html/vendor/botble/platform/support/src/Repositories/Eloquent/RepositoriesAbstract.php:123) at Botble\Support\Repositories\Eloquent\RepositoriesAbstract->allBy(array('status' => 'published'), array('menuNodes', 'menuNodes.child', 'menuNodes.metadata', 'locations')) at call_user_func_array(array(object(MenuRepository), 'allBy'), array(array('status' => 'published'), array('menuNodes', 'menuNodes.child', 'menuNodes.metadata', 'locations'))) (/home1/wcl2kbau/public_html/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php:25) at Botble\Support\Repositories\Caches\CacheAbstractDecorator->getDataIfExistCache('allBy', array(array('status' => 'published'), array('menuNodes', 'menuNodes.child', 'menuNodes.metadata', 'locations'))) (/home1/wcl2kbau/public_html/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php:120) at Botble\Support\Repositories\Caches\CacheAbstractDecorator->allBy(array('status' => 'published'), array('menuNodes', 'menuNodes.child', 'menuNodes.metadata', 'locations')) (/home1/wcl2kbau/public_html/vendor/botble/menu/src/Menu.php:209) at Botble\Menu\Menu->read() (/home1/wcl2kbau/public_html/vendor/botble/menu/src/Menu.php:195) at Botble\Menu\Menu->load() (/home1/wcl2kbau/public_html/vendor/botble/menu/src/Menu.php:163) at Botble\Menu\Menu->renderMenuLocation('header-navigation', array('view' => 'menu-default')) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338) at Illuminate\Support\Facades\Facade::__callStatic('renderMenuLocation', array('header-navigation', array('view' => 'menu-default'))) (/home1/wcl2kbau/public_html/storage/framework/views/212eec574e4b89419c32fd80c8eac99650a31d77.php:61) at require('/home1/wcl2kbau/public_html/storage/framework/views/212eec574e4b89419c32fd80c8eac99650a31d77.php') (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire('/home1/wcl2kbau/public_html/storage/framework/views/212eec574e4b89419c32fd80c8eac99650a31d77.php', array('__env' => object(Factory), 'app' => object(Application))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath('/home1/wcl2kbau/public_html/storage/framework/views/212eec574e4b89419c32fd80c8eac99650a31d77.php', array('__env' => object(Factory), 'app' => object(Application))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get('/home1/wcl2kbau/public_html/platform/themes/farmart/partials/header.blade.php', array('__env' => object(Factory), 'app' => object(Application))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:195) at Illuminate\View\View->getContents() (/home1/wcl2kbau/public_html/vendor/botble/shortcode/src/View/View.php:50) at Botble\Shortcode\View\View->renderContents() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:147) at Illuminate\View\View->render() (/home1/wcl2kbau/public_html/vendor/botble/theme/src/Theme.php:445) at Botble\Theme\Theme->loadPartial('header', 'theme.farmart::partials', array()) (/home1/wcl2kbau/public_html/vendor/botble/theme/src/Theme.php:431) at Botble\Theme\Theme->partial('header') (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338) at Illuminate\Support\Facades\Facade::__callStatic('partial', array('header')) (/home1/wcl2kbau/public_html/storage/framework/views/07a5004cc24e6bfce3d084b7c7f1b67648b84c40.php:7) at require('/home1/wcl2kbau/public_html/storage/framework/views/07a5004cc24e6bfce3d084b7c7f1b67648b84c40.php') (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire('/home1/wcl2kbau/public_html/storage/framework/views/07a5004cc24e6bfce3d084b7c7f1b67648b84c40.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath('/home1/wcl2kbau/public_html/storage/framework/views/07a5004cc24e6bfce3d084b7c7f1b67648b84c40.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get('/home1/wcl2kbau/public_html/platform/themes/farmart/views/404.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException))) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:195) at Illuminate\View\View->getContents() (/home1/wcl2kbau/public_html/vendor/botble/shortcode/src/View/View.php:50) at Botble\Shortcode\View\View->renderContents() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:147) at Illuminate\View\View->render() (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Response.php:69) at Illuminate\Http\Response->setContent(object(View)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Response.php:35) at Illuminate\Http\Response->__construct(object(View), 404, array()) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:57) at Illuminate\Routing\ResponseFactory->make(object(View), 404, array()) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:87) at Illuminate\Routing\ResponseFactory->view('theme.farmart::views.404', array('errors' => object(ViewErrorBag), 'exception' => object(NotFoundHttpException)), 404, array()) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:626) at Illuminate\Foundation\Exceptions\Handler->renderHttpException(object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:554) at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:460) at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:377) at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/botble/platform/base/src/Exceptions/Handler.php:103) at Botble\Base\Exceptions\Handler->render(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException(object(Request), object(NotFoundHttpException)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:143) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php:43) at Botble\JsValidation\RemoteValidationMiddleware->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31) at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40) at Illuminate\Foundation\Http\Middleware\TrimStrings->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49) at Illuminate\Http\Middleware\HandleCors->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39) at Illuminate\Http\Middleware\TrustProxies->handle(object(Request), object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116) at Illuminate\Pipeline\Pipeline->then(object(Closure)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request)) (/home1/wcl2kbau/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134) at Illuminate\Foundation\Http\Kernel->handle(object(Request)) (/home1/wcl2kbau/public_html/public/index.php:55) |