// 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.
*
if ($view = $this->getHttpExceptionView($e)) {
return response()->view($view, [
'errors' => new ViewErrorBag,
'exception' => $e,
], $e->getStatusCode(), $e->getHeaders());
}
return $this->convertExceptionToResponse($e);
}
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.
if ($exception instanceof NotFoundHttpException && setting('redirect_404_to_homepage', 0) == 1) {
return redirect(route('public.index'));
}
return parent::render($request, $exception);
}
public function report(Throwable $exception)
{
if ($this->shouldReport($exception) && ! $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);
}
});
$kernel = $app->make(Kernel::class);
$response = tap($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();
Theme::breadcrumb()->add(__('Home'), route('public.index'))->add(SeoHelper::getTitle());
?>
<?php echo Theme::partial('header'); ?>
<div class="bgheadproject hidden-xs" style="background: url('<?php echo e(theme_option('breadcrumb_background') ? RvMedia::url(theme_option('breadcrumb_background')) : Theme::asset()->url('images/banner-du-an.jpg')); ?>')">
<div class="description">
<div class="container-fluid w90">
<h1 class="text-center"><?php echo e(SeoHelper::getTitle()); ?></h1>
$__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.
*
if ($view = $this->getHttpExceptionView($e)) {
return response()->view($view, [
'errors' => new ViewErrorBag,
'exception' => $e,
], $e->getStatusCode(), $e->getHeaders());
}
return $this->convertExceptionToResponse($e);
}
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.
if ($exception instanceof NotFoundHttpException && setting('redirect_404_to_homepage', 0) == 1) {
return redirect(route('public.index'));
}
return parent::render($request, $exception);
}
public function report(Throwable $exception)
{
if ($this->shouldReport($exception) && ! $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);
}
});
$kernel = $app->make(Kernel::class);
$response = tap($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
);
}
$this->bindValues($statement, $this->prepareBindings($bindings));
$statement->execute();
return $statement->fetchAll();
});
}
/**
* Run a select statement against the database and returns a generator.
*
* @return array
*/
protected function runSelect()
{
return $this->connection->select(
$this->toSql(), $this->getBindings(), ! $this->useWritePdo
);
}
/**
* Paginate the given query into a simple paginator.
* @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;
}
*/
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.
*
* @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);
}
}
<i class="far fa-times-circle"></i>
</span>
</div>
<div class="main-menu-nav d-lg-flex">
<?php echo Menu::renderMenuLocation('main-menu', [
'options' => ['class' => 'navbar-nav justify-content-end menu menu--mobile'],
'view' => 'main-menu',
]); ?>
<?php if(is_plugin_active('real-estate') && RealEstateHelper::isRegisterEnabled()): ?>
<a class="btn btn-primary add-property" href="<?php echo e(route('public.account.properties.index')); ?>">
$__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();
Theme::breadcrumb()->add(__('Home'), route('public.index'))->add(SeoHelper::getTitle());
?>
<?php echo Theme::partial('header'); ?>
<div class="bgheadproject hidden-xs" style="background: url('<?php echo e(theme_option('breadcrumb_background') ? RvMedia::url(theme_option('breadcrumb_background')) : Theme::asset()->url('images/banner-du-an.jpg')); ?>')">
<div class="description">
<div class="container-fluid w90">
<h1 class="text-center"><?php echo e(SeoHelper::getTitle()); ?></h1>
$__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.
*
if ($view = $this->getHttpExceptionView($e)) {
return response()->view($view, [
'errors' => new ViewErrorBag,
'exception' => $e,
], $e->getStatusCode(), $e->getHeaders());
}
return $this->convertExceptionToResponse($e);
}
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.
if ($exception instanceof NotFoundHttpException && setting('redirect_404_to_homepage', 0) == 1) {
return redirect(route('public.index'));
}
return parent::render($request, $exception);
}
public function report(Throwable $exception)
{
if ($this->shouldReport($exception) && ! $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);
}
});
$kernel = $app->make(Kernel::class);
$response = tap($kernel->handle(
$request = Request::capture()
))->send();
$kernel->terminate($request, $response);
{
if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
return new PDOConnection($dsn, $username, $password, $options);
}
return new PDO($dsn, $username, $password, $options);
}
/**
* Determine if the connection is persistent.
*
{
if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
return new PDOConnection($dsn, $username, $password, $options);
}
return new PDO($dsn, $username, $password, $options);
}
/**
* Determine if the connection is persistent.
*
$config['username'] ?? null, $config['password'] ?? null,
];
try {
return $this->createPdoConnection(
$dsn, $username, $password, $options
);
} catch (Exception $e) {
return $this->tryAgainIfCausedByLostConnection(
$e, $dsn, $username, $password, $options
);
$options = $this->getOptions($config);
// We need to grab the PDO options that should be used while making the brand
// new connection instance. The PDO options control various aspects of the
// connection's behavior, and some might be specified by the developers.
$connection = $this->createConnection($dsn, $config, $options);
if (! empty($config['database'])) {
$connection->exec("use `{$config['database']}`;");
}
return function () use ($config) {
foreach (Arr::shuffle($this->parseHosts($config)) as $host) {
$config['host'] = $host;
try {
return $this->createConnector($config)->connect($config);
} catch (PDOException $e) {
continue;
}
}
* @return \PDO
*/
public function getPdo()
{
if ($this->pdo instanceof Closure) {
return $this->pdo = call_user_func($this->pdo);
}
return $this->pdo;
}
if ($this->readPdo instanceof Closure) {
return $this->readPdo = call_user_func($this->readPdo);
}
return $this->readPdo ?: $this->getPdo();
}
/**
* Get the current read PDO connection parameter without executing any reconnect logic.
*
* @param bool $useReadPdo
* @return \PDO
*/
protected function getPdoForSelect($useReadPdo = true)
{
return $useReadPdo ? $this->getReadPdo() : $this->getPdo();
}
/**
* Run an insert statement against the database.
*
// 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
);
}
$this->bindValues($statement, $this->prepareBindings($bindings));
$statement->execute();
return $statement->fetchAll();
});
}
/**
* Run a select statement against the database and returns a generator.
*
* @return array
*/
protected function runSelect()
{
return $this->connection->select(
$this->toSql(), $this->getBindings(), ! $this->useWritePdo
);
}
/**
* Paginate the given query into a simple paginator.
* @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;
}
*/
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.
*
* @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);
}
}
<i class="far fa-times-circle"></i>
</span>
</div>
<div class="main-menu-nav d-lg-flex">
<?php echo Menu::renderMenuLocation('main-menu', [
'options' => ['class' => 'navbar-nav justify-content-end menu menu--mobile'],
'view' => 'main-menu',
]); ?>
<?php if(is_plugin_active('real-estate') && RealEstateHelper::isRegisterEnabled()): ?>
<a class="btn btn-primary add-property" href="<?php echo e(route('public.account.properties.index')); ?>">
$__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();
Theme::breadcrumb()->add(__('Home'), route('public.index'))->add(SeoHelper::getTitle());
?>
<?php echo Theme::partial('header'); ?>
<div class="bgheadproject hidden-xs" style="background: url('<?php echo e(theme_option('breadcrumb_background') ? RvMedia::url(theme_option('breadcrumb_background')) : Theme::asset()->url('images/banner-du-an.jpg')); ?>')">
<div class="description">
<div class="container-fluid w90">
<h1 class="text-center"><?php echo e(SeoHelper::getTitle()); ?></h1>
$__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.
*
if ($view = $this->getHttpExceptionView($e)) {
return response()->view($view, [
'errors' => new ViewErrorBag,
'exception' => $e,
], $e->getStatusCode(), $e->getHeaders());
}
return $this->convertExceptionToResponse($e);
}
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.
if ($exception instanceof NotFoundHttpException && setting('redirect_404_to_homepage', 0) == 1) {
return redirect(route('public.index'));
}
return parent::render($request, $exception);
}
public function report(Throwable $exception)
{
if ($this->shouldReport($exception) && ! $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);
}
});
$kernel = $app->make(Kernel::class);
$response = tap($kernel->handle(
$request = Request::capture()
))->send();
$kernel->terminate($request, $response);
[4/4]
ViewException
|
---|
Illuminate\View\ViewException: SQLSTATE[HY000] [1045] Access denied for user 'u124996383_upropertiesdb'@'127.0.0.1' (using password: YES) (SQL: select * from `menus` where `status` = published) (View: /home/u124996383/domains/sahiwalcity.com/public_html/properties/platform/themes/flex-home/partials/header.blade.php) (View: /home/u124996383/domains/sahiwalcity.com/public_html/properties/platform/themes/flex-home/partials/header.blade.php) at /home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/View.php:195) at Illuminate\View\View->getContents() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/shortcode/src/View/View.php:49) at Botble\Shortcode\View\View->renderContents() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/View.php:147) at Illuminate\View\View->render() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Response.php:69) at Illuminate\Http\Response->setContent() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Response.php:35) at Illuminate\Http\Response->__construct() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:57) at Illuminate\Routing\ResponseFactory->make() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:87) at Illuminate\Routing\ResponseFactory->view() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:629) at Illuminate\Foundation\Exceptions\Handler->renderHttpException() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:554) at Illuminate\Foundation\Exceptions\Handler->prepareResponse() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:460) at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:377) at Illuminate\Foundation\Exceptions\Handler->render() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/platform/base/src/Exceptions/Handler.php:90) at Botble\Base\Exceptions\Handler->render() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:143) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php:46) at Botble\JsValidation\RemoteValidationMiddleware->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31) at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40) at Illuminate\Foundation\Http\Middleware\TrimStrings->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49) at Illuminate\Http\Middleware\HandleCors->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39) at Illuminate\Http\Middleware\TrustProxies->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116) at Illuminate\Pipeline\Pipeline->then() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134) at Illuminate\Foundation\Http\Kernel->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/public/index.php:56) |
[3/4]
ViewException
|
---|
Illuminate\View\ViewException: SQLSTATE[HY000] [1045] Access denied for user 'u124996383_upropertiesdb'@'127.0.0.1' (using password: YES) (SQL: select * from `menus` where `status` = published) (View: /home/u124996383/domains/sahiwalcity.com/public_html/properties/platform/themes/flex-home/partials/header.blade.php) at /home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/View.php:195) at Illuminate\View\View->getContents() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/shortcode/src/View/View.php:49) at Botble\Shortcode\View\View->renderContents() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/View.php:147) at Illuminate\View\View->render() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/theme/src/Theme.php:445) at Botble\Theme\Theme->loadPartial() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/theme/src/Theme.php:431) at Botble\Theme\Theme->partial() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338) at Illuminate\Support\Facades\Facade::__callStatic() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/storage/framework/views/00b443c68dd12b7b0aa2e4c0709075e28ba8a1a1.php:7) at require('/home/u124996383/domains/sahiwalcity.com/public_html/properties/storage/framework/views/00b443c68dd12b7b0aa2e4c0709075e28ba8a1a1.php') (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/View.php:195) at Illuminate\View\View->getContents() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/shortcode/src/View/View.php:49) at Botble\Shortcode\View\View->renderContents() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/View.php:147) at Illuminate\View\View->render() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Response.php:69) at Illuminate\Http\Response->setContent() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Response.php:35) at Illuminate\Http\Response->__construct() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:57) at Illuminate\Routing\ResponseFactory->make() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:87) at Illuminate\Routing\ResponseFactory->view() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:629) at Illuminate\Foundation\Exceptions\Handler->renderHttpException() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:554) at Illuminate\Foundation\Exceptions\Handler->prepareResponse() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:460) at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:377) at Illuminate\Foundation\Exceptions\Handler->render() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/platform/base/src/Exceptions/Handler.php:90) at Botble\Base\Exceptions\Handler->render() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:143) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php:46) at Botble\JsValidation\RemoteValidationMiddleware->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31) at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40) at Illuminate\Foundation\Http\Middleware\TrimStrings->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49) at Illuminate\Http\Middleware\HandleCors->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39) at Illuminate\Http\Middleware\TrustProxies->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116) at Illuminate\Pipeline\Pipeline->then() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134) at Illuminate\Foundation\Http\Kernel->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/public/index.php:56) |
[2/4]
QueryException
|
---|
Illuminate\Database\QueryException: SQLSTATE[HY000] [1045] Access denied for user 'u124996383_upropertiesdb'@'127.0.0.1' (using password: YES) (SQL: select * from `menus` where `status` = published) at /home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760 at Illuminate\Database\Connection->runQueryCallback() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connection.php:720) at Illuminate\Database\Connection->run() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connection.php:422) at Illuminate\Database\Connection->select() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2706) at Illuminate\Database\Query\Builder->runSelect() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2694) at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:3230) at Illuminate\Database\Query\Builder->onceWithColumns() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2695) at Illuminate\Database\Query\Builder->get() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:710) at Illuminate\Database\Eloquent\Builder->getModels() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:694) at Illuminate\Database\Eloquent\Builder->get() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/platform/support/src/Repositories/Eloquent/RepositoriesAbstract.php:121) at Botble\Support\Repositories\Eloquent\RepositoriesAbstract->allBy() at call_user_func_array() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php:26) at Botble\Support\Repositories\Caches\CacheAbstractDecorator->getDataIfExistCache() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php:125) at Botble\Support\Repositories\Caches\CacheAbstractDecorator->allBy() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/menu/src/Menu.php:205) at Botble\Menu\Menu->read() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/menu/src/Menu.php:191) at Botble\Menu\Menu->load() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/menu/src/Menu.php:159) at Botble\Menu\Menu->renderMenuLocation() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338) at Illuminate\Support\Facades\Facade::__callStatic() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/storage/framework/views/571283ba0b062688a72293f383b6a6d39c332ac5.php:136) at require('/home/u124996383/domains/sahiwalcity.com/public_html/properties/storage/framework/views/571283ba0b062688a72293f383b6a6d39c332ac5.php') (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/View.php:195) at Illuminate\View\View->getContents() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/shortcode/src/View/View.php:49) at Botble\Shortcode\View\View->renderContents() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/View.php:147) at Illuminate\View\View->render() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/theme/src/Theme.php:445) at Botble\Theme\Theme->loadPartial() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/theme/src/Theme.php:431) at Botble\Theme\Theme->partial() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338) at Illuminate\Support\Facades\Facade::__callStatic() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/storage/framework/views/00b443c68dd12b7b0aa2e4c0709075e28ba8a1a1.php:7) at require('/home/u124996383/domains/sahiwalcity.com/public_html/properties/storage/framework/views/00b443c68dd12b7b0aa2e4c0709075e28ba8a1a1.php') (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/View.php:195) at Illuminate\View\View->getContents() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/shortcode/src/View/View.php:49) at Botble\Shortcode\View\View->renderContents() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/View.php:147) at Illuminate\View\View->render() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Response.php:69) at Illuminate\Http\Response->setContent() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Response.php:35) at Illuminate\Http\Response->__construct() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:57) at Illuminate\Routing\ResponseFactory->make() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:87) at Illuminate\Routing\ResponseFactory->view() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:629) at Illuminate\Foundation\Exceptions\Handler->renderHttpException() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:554) at Illuminate\Foundation\Exceptions\Handler->prepareResponse() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:460) at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:377) at Illuminate\Foundation\Exceptions\Handler->render() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/platform/base/src/Exceptions/Handler.php:90) at Botble\Base\Exceptions\Handler->render() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:143) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php:46) at Botble\JsValidation\RemoteValidationMiddleware->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31) at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40) at Illuminate\Foundation\Http\Middleware\TrimStrings->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49) at Illuminate\Http\Middleware\HandleCors->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39) at Illuminate\Http\Middleware\TrustProxies->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116) at Illuminate\Pipeline\Pipeline->then() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134) at Illuminate\Foundation\Http\Kernel->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/public/index.php:56) |
[1/4]
PDOException
|
---|
PDOException: SQLSTATE[HY000] [1045] Access denied for user 'u124996383_upropertiesdb'@'127.0.0.1' (using password: YES) at /home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70 at PDO->__construct() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70) at Illuminate\Database\Connectors\Connector->createPdoConnection() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:46) at Illuminate\Database\Connectors\Connector->createConnection() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24) at Illuminate\Database\Connectors\MySqlConnector->connect() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:184) at Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}() at call_user_func() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1181) at Illuminate\Database\Connection->getPdo() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1217) at Illuminate\Database\Connection->getReadPdo() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connection.php:486) at Illuminate\Database\Connection->getPdoForSelect() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connection.php:414) at Illuminate\Database\Connection->Illuminate\Database\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connection.php:753) at Illuminate\Database\Connection->runQueryCallback() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connection.php:720) at Illuminate\Database\Connection->run() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Connection.php:422) at Illuminate\Database\Connection->select() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2706) at Illuminate\Database\Query\Builder->runSelect() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2694) at Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:3230) at Illuminate\Database\Query\Builder->onceWithColumns() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2695) at Illuminate\Database\Query\Builder->get() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:710) at Illuminate\Database\Eloquent\Builder->getModels() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:694) at Illuminate\Database\Eloquent\Builder->get() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/platform/support/src/Repositories/Eloquent/RepositoriesAbstract.php:121) at Botble\Support\Repositories\Eloquent\RepositoriesAbstract->allBy() at call_user_func_array() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php:26) at Botble\Support\Repositories\Caches\CacheAbstractDecorator->getDataIfExistCache() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php:125) at Botble\Support\Repositories\Caches\CacheAbstractDecorator->allBy() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/menu/src/Menu.php:205) at Botble\Menu\Menu->read() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/menu/src/Menu.php:191) at Botble\Menu\Menu->load() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/menu/src/Menu.php:159) at Botble\Menu\Menu->renderMenuLocation() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338) at Illuminate\Support\Facades\Facade::__callStatic() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/storage/framework/views/571283ba0b062688a72293f383b6a6d39c332ac5.php:136) at require('/home/u124996383/domains/sahiwalcity.com/public_html/properties/storage/framework/views/571283ba0b062688a72293f383b6a6d39c332ac5.php') (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/View.php:195) at Illuminate\View\View->getContents() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/shortcode/src/View/View.php:49) at Botble\Shortcode\View\View->renderContents() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/View.php:147) at Illuminate\View\View->render() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/theme/src/Theme.php:445) at Botble\Theme\Theme->loadPartial() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/theme/src/Theme.php:431) at Botble\Theme\Theme->partial() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:338) at Illuminate\Support\Facades\Facade::__callStatic() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/storage/framework/views/00b443c68dd12b7b0aa2e4c0709075e28ba8a1a1.php:7) at require('/home/u124996383/domains/sahiwalcity.com/public_html/properties/storage/framework/views/00b443c68dd12b7b0aa2e4c0709075e28ba8a1a1.php') (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:109) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110) at Illuminate\Filesystem\Filesystem->getRequire() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70) at Illuminate\View\Engines\CompilerEngine->get() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/View.php:195) at Illuminate\View\View->getContents() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/shortcode/src/View/View.php:49) at Botble\Shortcode\View\View->renderContents() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/View/View.php:147) at Illuminate\View\View->render() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Response.php:69) at Illuminate\Http\Response->setContent() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Response.php:35) at Illuminate\Http\Response->__construct() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:57) at Illuminate\Routing\ResponseFactory->make() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:87) at Illuminate\Routing\ResponseFactory->view() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:629) at Illuminate\Foundation\Exceptions\Handler->renderHttpException() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:554) at Illuminate\Foundation\Exceptions\Handler->prepareResponse() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:460) at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:377) at Illuminate\Foundation\Exceptions\Handler->render() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/platform/base/src/Exceptions/Handler.php:90) at Botble\Base\Exceptions\Handler->render() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:143) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php:46) at Botble\JsValidation\RemoteValidationMiddleware->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31) at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40) at Illuminate\Foundation\Http\Middleware\TrimStrings->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49) at Illuminate\Http\Middleware\HandleCors->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39) at Illuminate\Http\Middleware\TrustProxies->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116) at Illuminate\Pipeline\Pipeline->then() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134) at Illuminate\Foundation\Http\Kernel->handle() (/home/u124996383/domains/sahiwalcity.com/public_html/properties/public/index.php:56) |