Illuminate\View\ViewException {#1466 #severity: E_ERROR }
/**
* @return string|null
*/
function routeName(){
return request()->route()->getName();
}
/**
* @return bool|\Illuminate\Contracts\Auth\Authenticatable|null
*/
\Illuminate\View\Engines\PhpEngine::handleViewException($e, $obLevel);
return;
}
parent::handleViewException($e, $obLevel);
}
public function shouldBypassExceptionForLivewire(\Throwable $e, $obLevel)
{
$uses = array_flip(class_uses_recursive($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());
}
}
protected function evaluatePath($__path, $__data)
{
if (! ExtendBlade::isRenderingLivewireComponent()) {
return parent::evaluatePath($__path, $__data);
}
$obLevel = ob_get_level();
ob_start();
// 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;
}
use function Livewire\trigger;
class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
public function get($path, array $data = [])
{
if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path, $data);
$currentComponent = ExtendBlade::currentRendering();
trigger('view:compile', $currentComponent, $path);
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @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.
*
{
$this->registerErrorViewPaths();
if ($view = $this->getHttpExceptionView($e)) {
try {
return response()->view($view, [
'errors' => new ViewErrorBag,
'exception' => $e,
], $e->getStatusCode(), $e->getHeaders());
} catch (Throwable $t) {
config('app.debug') && throw $t;
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 $this->finalizeRenderedResponse($request, 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),
}, $e);
}
/**
* Prepare the final, rendered response to be returned to the browser.
$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);
}
};
}
/**
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
if ($response instanceof Response && SupportDisablingBackButtonCache::$disableBackButtonCache){
$response->headers->add([
"Pragma" => "no-cache",
"Expires" => "Fri, 01 Jan 1990 00:00:00 GMT",
// 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);
}
$app->bind('path.public', function() {
return __DIR__;
});
$response = tap($kernel->handle(
$request = Request::capture()
))->send();
$kernel->terminate($request, $response);
/**
* @return string|null
*/
function routeName(){
return request()->route()->getName();
}
/**
* @return bool|\Illuminate\Contracts\Auth\Authenticatable|null
*/
\Illuminate\View\Engines\PhpEngine::handleViewException($e, $obLevel);
return;
}
parent::handleViewException($e, $obLevel);
}
public function shouldBypassExceptionForLivewire(\Throwable $e, $obLevel)
{
$uses = array_flip(class_uses_recursive($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());
}
}
protected function evaluatePath($__path, $__data)
{
if (! ExtendBlade::isRenderingLivewireComponent()) {
return parent::evaluatePath($__path, $__data);
}
$obLevel = ob_get_level();
ob_start();
// 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;
}
use function Livewire\trigger;
class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
public function get($path, array $data = [])
{
if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path, $data);
$currentComponent = ExtendBlade::currentRendering();
trigger('view:compile', $currentComponent, $path);
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @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
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.desktop.layouts.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/pezeshky/laravel/resources/views/errors/404.blade.php ENDPATH**/ ?>
$__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());
}
protected function evaluatePath($__path, $__data)
{
if (! ExtendBlade::isRenderingLivewireComponent()) {
return parent::evaluatePath($__path, $__data);
}
$obLevel = ob_get_level();
ob_start();
// 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;
}
use function Livewire\trigger;
class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
public function get($path, array $data = [])
{
if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path, $data);
$currentComponent = ExtendBlade::currentRendering();
trigger('view:compile', $currentComponent, $path);
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @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.
*
{
$this->registerErrorViewPaths();
if ($view = $this->getHttpExceptionView($e)) {
try {
return response()->view($view, [
'errors' => new ViewErrorBag,
'exception' => $e,
], $e->getStatusCode(), $e->getHeaders());
} catch (Throwable $t) {
config('app.debug') && throw $t;
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 $this->finalizeRenderedResponse($request, 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),
}, $e);
}
/**
* Prepare the final, rendered response to be returned to the browser.
$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);
}
};
}
/**
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
if ($response instanceof Response && SupportDisablingBackButtonCache::$disableBackButtonCache){
$response->headers->add([
"Pragma" => "no-cache",
"Expires" => "Fri, 01 Jan 1990 00:00:00 GMT",
// 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);
}
$app->bind('path.public', function() {
return __DIR__;
});
$response = tap($kernel->handle(
$request = Request::capture()
))->send();
$kernel->terminate($request, $response);
/**
* @return string|null
*/
function routeName(){
return request()->route()->getName();
}
/**
* @return bool|\Illuminate\Contracts\Auth\Authenticatable|null
*/
\Illuminate\View\Engines\PhpEngine::handleViewException($e, $obLevel);
return;
}
parent::handleViewException($e, $obLevel);
}
public function shouldBypassExceptionForLivewire(\Throwable $e, $obLevel)
{
$uses = array_flip(class_uses_recursive($e));
\Closure::bind(function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
include $__path;
}, $component, $component)();
} catch (\Exception|\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;
}
$currentComponent = ExtendBlade::currentRendering();
trigger('view:compile', $currentComponent, $path);
return parent::get($path, $data);
}
protected function evaluatePath($__path, $__data)
{
if (! ExtendBlade::isRenderingLivewireComponent()) {
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @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
$revertA = Utils::shareWithViews('__livewire', $component);
$revertB = Utils::shareWithViews('_instance', $component); // @deprecated
$viewContext = new ViewContext;
$html = $view->render(function ($view) use ($viewContext) {
// Extract leftover slots, sections, and pushes before they get flushed...
$viewContext->extractFromEnvironment($view->getFactory());
});
$revertA(); $revertB();
protected function trackInRenderStack($component, $callback)
{
array_push(static::$renderStack, $component);
return tap($callback(), function () {
array_pop(static::$renderStack);
});
}
protected function updateProperties($component, $updates, $data, $context)
]);
}
[ $view, $properties ] = $this->getView($component);
return $this->trackInRenderStack($component, function () use ($component, $view, $properties) {
$finish = trigger('render', $component, $view, $properties);
$revertA = Utils::shareWithViews('__livewire', $component);
$revertB = Utils::shareWithViews('_instance', $component); // @deprecated
if (config('app.debug')) $start = microtime(true);
$finish = trigger('mount', $component, $params, $key, $parent);
if (config('app.debug')) trigger('profile', 'mount', $component->getId(), [$start, microtime(true)]);
if (config('app.debug')) $start = microtime(true);
$html = $this->render($component, '<div></div>');
if (config('app.debug')) trigger('profile', 'render', $component->getId(), [$start, microtime(true)]);
if (config('app.debug')) $start = microtime(true);
trigger('dehydrate', $component, $context);
return app(ComponentRegistry::class)->resolveMissingComponent($resolver);
}
function mount($name, $params = [], $key = null)
{
return app(HandleComponents::class)->mount($name, $params, $key);
}
function snapshot($component)
{
return app(HandleComponents::class)->snapshot($component);
$__split = function ($name, $params = []) {
return [$name, $params];
};
[$__name, $__params] = $__split('Header');
$__html = app('livewire')->mount($__name, $__params, 'lw-335121213-0', $__slots ?? [], get_defined_vars());
echo $__html;
unset($__html);
unset($__name);
$__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());
}
protected function evaluatePath($__path, $__data)
{
if (! ExtendBlade::isRenderingLivewireComponent()) {
return parent::evaluatePath($__path, $__data);
}
$obLevel = ob_get_level();
ob_start();
// 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;
}
use function Livewire\trigger;
class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
public function get($path, array $data = [])
{
if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path, $data);
$currentComponent = ExtendBlade::currentRendering();
trigger('view:compile', $currentComponent, $path);
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @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
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.desktop.layouts.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/pezeshky/laravel/resources/views/errors/404.blade.php ENDPATH**/ ?>
$__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());
}
protected function evaluatePath($__path, $__data)
{
if (! ExtendBlade::isRenderingLivewireComponent()) {
return parent::evaluatePath($__path, $__data);
}
$obLevel = ob_get_level();
ob_start();
// 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;
}
use function Livewire\trigger;
class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
public function get($path, array $data = [])
{
if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path, $data);
$currentComponent = ExtendBlade::currentRendering();
trigger('view:compile', $currentComponent, $path);
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @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.
*
{
$this->registerErrorViewPaths();
if ($view = $this->getHttpExceptionView($e)) {
try {
return response()->view($view, [
'errors' => new ViewErrorBag,
'exception' => $e,
], $e->getStatusCode(), $e->getHeaders());
} catch (Throwable $t) {
config('app.debug') && throw $t;
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 $this->finalizeRenderedResponse($request, 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),
}, $e);
}
/**
* Prepare the final, rendered response to be returned to the browser.
$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);
}
};
}
/**
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
if ($response instanceof Response && SupportDisablingBackButtonCache::$disableBackButtonCache){
$response->headers->add([
"Pragma" => "no-cache",
"Expires" => "Fri, 01 Jan 1990 00:00:00 GMT",
// 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);
}
$app->bind('path.public', function() {
return __DIR__;
});
$response = tap($kernel->handle(
$request = Request::capture()
))->send();
$kernel->terminate($request, $response);
/**
* @return string|null
*/
function routeName(){
return request()->route()->getName();
}
/**
* @return bool|\Illuminate\Contracts\Auth\Authenticatable|null
*/
<div>
<?php
$check = routeName() == 'single.page' || routeName() == 'single.city'
|| routeName() == 'contact.us'
|| routeName() == 'doctor.login'
|| routeName() == 'patient.login'
|| routeName() == 'register.conditions';
?>
try {
$component = ExtendBlade::currentRendering();
\Closure::bind(function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
include $__path;
}, $component, $component)();
} catch (\Exception|\Throwable $e) {
$this->handleViewException($e, $obLevel);
}
$component = ExtendBlade::currentRendering();
\Closure::bind(function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
include $__path;
}, $component, $component)();
} catch (\Exception|\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;
}
$currentComponent = ExtendBlade::currentRendering();
trigger('view:compile', $currentComponent, $path);
return parent::get($path, $data);
}
protected function evaluatePath($__path, $__data)
{
if (! ExtendBlade::isRenderingLivewireComponent()) {
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @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
$revertA = Utils::shareWithViews('__livewire', $component);
$revertB = Utils::shareWithViews('_instance', $component); // @deprecated
$viewContext = new ViewContext;
$html = $view->render(function ($view) use ($viewContext) {
// Extract leftover slots, sections, and pushes before they get flushed...
$viewContext->extractFromEnvironment($view->getFactory());
});
$revertA(); $revertB();
protected function trackInRenderStack($component, $callback)
{
array_push(static::$renderStack, $component);
return tap($callback(), function () {
array_pop(static::$renderStack);
});
}
protected function updateProperties($component, $updates, $data, $context)
]);
}
[ $view, $properties ] = $this->getView($component);
return $this->trackInRenderStack($component, function () use ($component, $view, $properties) {
$finish = trigger('render', $component, $view, $properties);
$revertA = Utils::shareWithViews('__livewire', $component);
$revertB = Utils::shareWithViews('_instance', $component); // @deprecated
if (config('app.debug')) $start = microtime(true);
$finish = trigger('mount', $component, $params, $key, $parent);
if (config('app.debug')) trigger('profile', 'mount', $component->getId(), [$start, microtime(true)]);
if (config('app.debug')) $start = microtime(true);
$html = $this->render($component, '<div></div>');
if (config('app.debug')) trigger('profile', 'render', $component->getId(), [$start, microtime(true)]);
if (config('app.debug')) $start = microtime(true);
trigger('dehydrate', $component, $context);
return app(ComponentRegistry::class)->resolveMissingComponent($resolver);
}
function mount($name, $params = [], $key = null)
{
return app(HandleComponents::class)->mount($name, $params, $key);
}
function snapshot($component)
{
return app(HandleComponents::class)->snapshot($component);
$__split = function ($name, $params = []) {
return [$name, $params];
};
[$__name, $__params] = $__split('Header');
$__html = app('livewire')->mount($__name, $__params, 'lw-335121213-0', $__slots ?? [], get_defined_vars());
echo $__html;
unset($__html);
unset($__name);
$__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());
}
protected function evaluatePath($__path, $__data)
{
if (! ExtendBlade::isRenderingLivewireComponent()) {
return parent::evaluatePath($__path, $__data);
}
$obLevel = ob_get_level();
ob_start();
// 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;
}
use function Livewire\trigger;
class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
public function get($path, array $data = [])
{
if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path, $data);
$currentComponent = ExtendBlade::currentRendering();
trigger('view:compile', $currentComponent, $path);
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @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
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.desktop.layouts.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/pezeshky/laravel/resources/views/errors/404.blade.php ENDPATH**/ ?>
$__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());
}
protected function evaluatePath($__path, $__data)
{
if (! ExtendBlade::isRenderingLivewireComponent()) {
return parent::evaluatePath($__path, $__data);
}
$obLevel = ob_get_level();
ob_start();
// 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;
}
use function Livewire\trigger;
class ExtendedCompilerEngine extends \Illuminate\View\Engines\CompilerEngine {
public function get($path, array $data = [])
{
if (! ExtendBlade::isRenderingLivewireComponent()) return parent::get($path, $data);
$currentComponent = ExtendBlade::currentRendering();
trigger('view:compile', $currentComponent, $path);
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each section gets flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
* @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.
*
{
$this->registerErrorViewPaths();
if ($view = $this->getHttpExceptionView($e)) {
try {
return response()->view($view, [
'errors' => new ViewErrorBag,
'exception' => $e,
], $e->getStatusCode(), $e->getHeaders());
} catch (Throwable $t) {
config('app.debug') && throw $t;
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 $this->finalizeRenderedResponse($request, 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),
}, $e);
}
/**
* Prepare the final, rendered response to be returned to the browser.
$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);
}
};
}
/**
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
if ($response instanceof Response && SupportDisablingBackButtonCache::$disableBackButtonCache){
$response->headers->add([
"Pragma" => "no-cache",
"Expires" => "Fri, 01 Jan 1990 00:00:00 GMT",
// 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);
}
$app->bind('path.public', function() {
return __DIR__;
});
$response = tap($kernel->handle(
$request = Request::capture()
))->send();
$kernel->terminate($request, $response);
[4/4]
ViewException
|
---|
Illuminate\View\ViewException: Call to a member function getName() on null (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php) (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php) (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php) at /home/pezeshky/laravel/packages/mks/panel/src/App/Helpers/helpers.php:200 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:58) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->handleViewException() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73) at Illuminate\View\Engines\CompilerEngine->get() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208) at Illuminate\View\View->getContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191) at Illuminate\View\View->renderContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160) at Illuminate\View\View->render() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:70) at Illuminate\Http\Response->setContent() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:35) at Illuminate\Http\Response->__construct() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:58) at Illuminate\Routing\ResponseFactory->make() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:88) at Illuminate\Routing\ResponseFactory->view() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:878) at Illuminate\Foundation\Exceptions\Handler->renderHttpException() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:805) at Illuminate\Foundation\Exceptions\Handler->prepareResponse() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:696) at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:585) at Illuminate\Foundation\Exceptions\Handler->render() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:146) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php:19) at Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31) at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:50) at Illuminate\Foundation\Http\Middleware\TrimStrings->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Http\Middleware\ValidatePostSize->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:103) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49) at Illuminate\Http\Middleware\HandleCors->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:57) at Illuminate\Http\Middleware\TrustProxies->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119) at Illuminate\Pipeline\Pipeline->then() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144) at Illuminate\Foundation\Http\Kernel->handle() (/home/pezeshky/public_html/index.php:57) |
[3/4]
ViewException
|
---|
Illuminate\View\ViewException: Call to a member function getName() on null (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php) (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php) at /home/pezeshky/laravel/packages/mks/panel/src/App/Helpers/helpers.php:200 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:58) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->handleViewException() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73) at Illuminate\View\Engines\CompilerEngine->get() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208) at Illuminate\View\View->getContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191) at Illuminate\View\View->renderContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160) at Illuminate\View\View->render() (/home/pezeshky/laravel/storage/framework/views/37d59e3c3e3142a5765d050dd90e68a0.php:14) at require('/home/pezeshky/laravel/storage/framework/views/37d59e3c3e3142a5765d050dd90e68a0.php') (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:123) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124) at Illuminate\Filesystem\Filesystem->getRequire() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73) at Illuminate\View\Engines\CompilerEngine->get() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208) at Illuminate\View\View->getContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191) at Illuminate\View\View->renderContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160) at Illuminate\View\View->render() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:70) at Illuminate\Http\Response->setContent() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:35) at Illuminate\Http\Response->__construct() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:58) at Illuminate\Routing\ResponseFactory->make() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:88) at Illuminate\Routing\ResponseFactory->view() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:878) at Illuminate\Foundation\Exceptions\Handler->renderHttpException() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:805) at Illuminate\Foundation\Exceptions\Handler->prepareResponse() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:696) at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:585) at Illuminate\Foundation\Exceptions\Handler->render() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:146) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php:19) at Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31) at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:50) at Illuminate\Foundation\Http\Middleware\TrimStrings->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Http\Middleware\ValidatePostSize->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:103) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49) at Illuminate\Http\Middleware\HandleCors->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:57) at Illuminate\Http\Middleware\TrustProxies->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119) at Illuminate\Pipeline\Pipeline->then() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144) at Illuminate\Foundation\Http\Kernel->handle() (/home/pezeshky/public_html/index.php:57) |
[2/4]
ViewException
|
---|
Illuminate\View\ViewException: Call to a member function getName() on null (View: /home/pezeshky/laravel/packages/mks/panel/src/Resources/views/frontend/desktop/home/header.blade.php) at /home/pezeshky/laravel/packages/mks/panel/src/App/Helpers/helpers.php:200 at Illuminate\View\Engines\CompilerEngine->handleViewException() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:58) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->handleViewException() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:40) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73) at Illuminate\View\Engines\CompilerEngine->get() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:16) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208) at Illuminate\View\View->getContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191) at Illuminate\View\View->renderContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160) at Illuminate\View\View->render() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:239) at Livewire\Mechanisms\HandleComponents\HandleComponents->Livewire\Mechanisms\HandleComponents\{closure}() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:283) at Livewire\Mechanisms\HandleComponents\HandleComponents->trackInRenderStack() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:231) at Livewire\Mechanisms\HandleComponents\HandleComponents->render() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:52) at Livewire\Mechanisms\HandleComponents\HandleComponents->mount() (/home/pezeshky/laravel/vendor/livewire/livewire/src/LivewireManager.php:72) at Livewire\LivewireManager->mount() (/home/pezeshky/laravel/storage/framework/views/c9716cd23e44eae29d8b0d82342e1b10.php:62) at require('/home/pezeshky/laravel/storage/framework/views/c9716cd23e44eae29d8b0d82342e1b10.php') (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:123) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124) at Illuminate\Filesystem\Filesystem->getRequire() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73) at Illuminate\View\Engines\CompilerEngine->get() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208) at Illuminate\View\View->getContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191) at Illuminate\View\View->renderContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160) at Illuminate\View\View->render() (/home/pezeshky/laravel/storage/framework/views/37d59e3c3e3142a5765d050dd90e68a0.php:14) at require('/home/pezeshky/laravel/storage/framework/views/37d59e3c3e3142a5765d050dd90e68a0.php') (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:123) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124) at Illuminate\Filesystem\Filesystem->getRequire() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73) at Illuminate\View\Engines\CompilerEngine->get() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208) at Illuminate\View\View->getContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191) at Illuminate\View\View->renderContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160) at Illuminate\View\View->render() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:70) at Illuminate\Http\Response->setContent() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:35) at Illuminate\Http\Response->__construct() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:58) at Illuminate\Routing\ResponseFactory->make() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:88) at Illuminate\Routing\ResponseFactory->view() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:878) at Illuminate\Foundation\Exceptions\Handler->renderHttpException() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:805) at Illuminate\Foundation\Exceptions\Handler->prepareResponse() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:696) at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:585) at Illuminate\Foundation\Exceptions\Handler->render() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:146) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php:19) at Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31) at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:50) at Illuminate\Foundation\Http\Middleware\TrimStrings->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Http\Middleware\ValidatePostSize->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:103) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49) at Illuminate\Http\Middleware\HandleCors->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:57) at Illuminate\Http\Middleware\TrustProxies->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119) at Illuminate\Pipeline\Pipeline->then() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144) at Illuminate\Foundation\Http\Kernel->handle() (/home/pezeshky/public_html/index.php:57) |
[1/4]
Error
|
---|
Error: Call to a member function getName() on null at /home/pezeshky/laravel/packages/mks/panel/src/App/Helpers/helpers.php:200 at routeName() (/home/pezeshky/laravel/storage/framework/views/fc5b257fe44bb2b5d3b3a60e834d647c.php:3) at include('/home/pezeshky/laravel/storage/framework/views/fc5b257fe44bb2b5d3b3a60e834d647c.php') (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:37) at Mks\Panel\App\Http\Controllers\Frontend\Index\HeaderComponent->Livewire\Mechanisms\ExtendBlade\{closure}() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:38) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73) at Illuminate\View\Engines\CompilerEngine->get() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:16) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208) at Illuminate\View\View->getContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191) at Illuminate\View\View->renderContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160) at Illuminate\View\View->render() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:239) at Livewire\Mechanisms\HandleComponents\HandleComponents->Livewire\Mechanisms\HandleComponents\{closure}() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:283) at Livewire\Mechanisms\HandleComponents\HandleComponents->trackInRenderStack() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:231) at Livewire\Mechanisms\HandleComponents\HandleComponents->render() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/HandleComponents/HandleComponents.php:52) at Livewire\Mechanisms\HandleComponents\HandleComponents->mount() (/home/pezeshky/laravel/vendor/livewire/livewire/src/LivewireManager.php:72) at Livewire\LivewireManager->mount() (/home/pezeshky/laravel/storage/framework/views/c9716cd23e44eae29d8b0d82342e1b10.php:62) at require('/home/pezeshky/laravel/storage/framework/views/c9716cd23e44eae29d8b0d82342e1b10.php') (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:123) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124) at Illuminate\Filesystem\Filesystem->getRequire() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73) at Illuminate\View\Engines\CompilerEngine->get() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208) at Illuminate\View\View->getContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191) at Illuminate\View\View->renderContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160) at Illuminate\View\View->render() (/home/pezeshky/laravel/storage/framework/views/37d59e3c3e3142a5765d050dd90e68a0.php:14) at require('/home/pezeshky/laravel/storage/framework/views/37d59e3c3e3142a5765d050dd90e68a0.php') (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:123) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:124) at Illuminate\Filesystem\Filesystem->getRequire() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:22) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->evaluatePath() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:73) at Illuminate\View\Engines\CompilerEngine->get() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Mechanisms/ExtendBlade/ExtendedCompilerEngine.php:10) at Livewire\Mechanisms\ExtendBlade\ExtendedCompilerEngine->get() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:208) at Illuminate\View\View->getContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:191) at Illuminate\View\View->renderContents() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/View/View.php:160) at Illuminate\View\View->render() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:70) at Illuminate\Http\Response->setContent() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Response.php:35) at Illuminate\Http\Response->__construct() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:58) at Illuminate\Routing\ResponseFactory->make() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:88) at Illuminate\Routing\ResponseFactory->view() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:878) at Illuminate\Foundation\Exceptions\Handler->renderHttpException() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:805) at Illuminate\Foundation\Exceptions\Handler->prepareResponse() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:696) at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:585) at Illuminate\Foundation\Exceptions\Handler->render() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51) at Illuminate\Routing\Pipeline->handleException() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:146) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php:19) at Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31) at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21) at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:50) at Illuminate\Foundation\Http\Middleware\TrimStrings->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Http\Middleware\ValidatePostSize->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:103) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49) at Illuminate\Http\Middleware\HandleCors->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:57) at Illuminate\Http\Middleware\TrustProxies->handle() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:183) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:119) at Illuminate\Pipeline\Pipeline->then() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/home/pezeshky/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144) at Illuminate\Foundation\Http\Kernel->handle() (/home/pezeshky/public_html/index.php:57) |