Symfony Exception

InvalidArgumentException

HTTP 500 Internal Server Error

No hint path defined for [freelaceton].

Exception

InvalidArgumentException

  1.         if (count($segments) !== 2) {
  2.             throw new InvalidArgumentException("View [{$name}] has an invalid name.");
  3.         }
  4.         if (! isset($this->hints[$segments[0]])) {
  5.             throw new InvalidArgumentException("No hint path defined for [{$segments[0]}].");
  6.         }
  7.         return $segments;
  8.     }
  1.      * @param  string  $name
  2.      * @return string
  3.      */
  4.     protected function findNamespacedView($name)
  5.     {
  6.         [$namespace$view] = $this->parseNamespaceSegments($name);
  7.         return $this->findInPaths($view$this->hints[$namespace]);
  8.     }
  9.     /**
  1.         if (isset($this->views[$name])) {
  2.             return $this->views[$name];
  3.         }
  4.         if ($this->hasHintInformation($name trim($name))) {
  5.             return $this->views[$name] = $this->findNamespacedView($name);
  6.         }
  7.         return $this->views[$name] = $this->findInPaths($name$this->paths);
  8.     }
  1.      * @param  array  $mergeData
  2.      * @return \Illuminate\Contracts\View\View
  3.      */
  4.     public function make($view$data = [], $mergeData = [])
  5.     {
  6.         $path $this->finder->find(
  7.             $view $this->normalizeName($view)
  8.         );
  9.         // Next, we will create the view instance and call the view creator for the view
  10.         // which can set any data, etc. Then we will return the view instance back to
  1.     {
  2.         if (is_array($view)) {
  3.             return $this->make($this->view->first($view$data), $status$headers);
  4.         }
  5.         return $this->make($this->view->make($view$data), $status$headers);
  6.     }
  7.     /**
  8.      * Create a new JSON response instance.
  9.      *
  1.                         'code' => $e->getCode(),
  2.                         'message' => $e->getMessage(),
  3.                     ]
  4.                 ],404);
  5.             }
  6.             return response()->view('freelaceton::pages.404',[],404);
  7.         }
  8.         return parent::render($request$e); // TODO: Change the autogenerated stub
  9.     }
  10. }
  1.         $handler $this->container->make(ExceptionHandler::class);
  2.         $handler->report($e);
  3.         $response $handler->render($passable$e);
  4.         if (is_object($response) && method_exists($response'withException')) {
  5.             $response->withException($e);
  6.         }
  1.     {
  2.         return function ($passable) use ($destination) {
  3.             try {
  4.                 return $destination($passable);
  5.             } catch (Throwable $e) {
  6.                 return $this->handleException($passable$e);
  7.             }
  8.         };
  9.     }
  10.     /**
  1.      * @param  \Closure  $next
  2.      * @return mixed
  3.      */
  4.     public function handle($requestClosure $next)
  5.     {
  6.         $response $next($request);
  7.         if ($response instanceof Response && Livewire::shouldDisableBackButtonCache()){
  8.             $response->headers->add([
  9.                 "Pragma" => "no-cache",
  10.                 "Expires" => "Fri, 01 Jan 1990 00:00:00 GMT",
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->clean($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Clean the request's data.
  9.      *
  1.             if ($callback($request)) {
  2.                 return $next($request);
  3.             }
  4.         }
  5.         return parent::handle($request$next);
  6.     }
  7.     /**
  8.      * Transform the given value.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      */
  2.     public function handle($requestClosure $next)
  3.     {
  4.         $this->clean($request);
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Clean the request's data.
  9.      *
  1.             if ($callback($request)) {
  2.                 return $next($request);
  3.             }
  4.         }
  5.         return parent::handle($request$next);
  6.     }
  7.     /**
  8.      * Transform the given value.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.         if ($max && $request->server('CONTENT_LENGTH') > $max) {
  2.             throw new PostTooLargeException;
  3.         }
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Determine the server 'post_max_size' as bytes.
  8.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.                 null,
  2.                 $this->getHeaders($data)
  3.             );
  4.         }
  5.         return $next($request);
  6.     }
  7.     /**
  8.      * Determine if the incoming request has a maintenance mode bypass cookie.
  9.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.      * @return \Illuminate\Http\Response
  2.      */
  3.     public function handle($requestClosure $next)
  4.     {
  5.         if (! $this->hasMatchingPath($request)) {
  6.             return $next($request);
  7.         }
  8.         $this->cors->setOptions($this->container['config']->get('cors', []));
  9.         if ($this->cors->isPreflightRequest($request)) {
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  2.         $request::setTrustedProxies([], $this->getTrustedHeaderNames());
  3.         $this->setTrustedProxyIpAddresses($request);
  4.         return $next($request);
  5.     }
  6.     /**
  7.      * Sets the trusted proxies on the request.
  8.      *
  1.                         // since the object we're given was already a fully instantiated object.
  2.                         $parameters = [$passable$stack];
  3.                     }
  4.                     $carry method_exists($pipe$this->method)
  5.                                     ? $pipe->{$this->method}(...$parameters)
  6.                                     : $pipe(...$parameters);
  7.                     return $this->handleCarry($carry);
  8.                 } catch (Throwable $e) {
  9.                     return $this->handleException($passable$e);
  1.     {
  2.         $pipeline array_reduce(
  3.             array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
  4.         );
  5.         return $pipeline($this->passable);
  6.     }
  7.     /**
  8.      * Run the pipeline and return the result.
  9.      *
  1.         $this->bootstrap();
  2.         return (new Pipeline($this->app))
  3.                     ->send($request)
  4.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  5.                     ->then($this->dispatchToRouter());
  6.     }
  7.     /**
  8.      * Bootstrap the application for HTTP requests.
  9.      *
  1.         $this->requestStartedAt Carbon::now();
  2.         try {
  3.             $request->enableHttpMethodParameterOverride();
  4.             $response $this->sendRequestThroughRouter($request);
  5.         } catch (Throwable $e) {
  6.             $this->reportException($e);
  7.             $response $this->renderException($request$e);
  8.         }
  1. $app = require_once __DIR__.'/../bootstrap/app.php';
  2. $kernel $app->make(Kernel::class);
  3. $response $kernel->handle(
  4.     $request Request::capture()
  5. )->send();
  6. $kernel->terminate($request$response);

Stack Trace

InvalidArgumentException
InvalidArgumentException:
No hint path defined for [freelaceton].

  at /var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:112
  at Illuminate\View\FileViewFinder->parseNamespaceSegments()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:90)
  at Illuminate\View\FileViewFinder->findNamespacedView()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:76)
  at Illuminate\View\FileViewFinder->find()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/View/Factory.php:137)
  at Illuminate\View\Factory->make()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:87)
  at Illuminate\Routing\ResponseFactory->view()
     (/var/www/vhosts/favoritetutors.com/httpdocs/app/Exceptions/Handler.php:63)
  at App\Exceptions\Handler->render()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51)
  at Illuminate\Routing\Pipeline->handleException()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:143)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/livewire/livewire/src/DisableBrowserCache.php:19)
  at Livewire\DisableBrowserCache->handle()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31)
  at Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21)
  at Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40)
  at Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27)
  at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86)
  at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:49)
  at Illuminate\Http\Middleware\HandleCors->handle()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39)
  at Illuminate\Http\Middleware\TrustProxies->handle()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180)
  at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116)
  at Illuminate\Pipeline\Pipeline->then()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/var/www/vhosts/favoritetutors.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/var/www/vhosts/favoritetutors.com/httpdocs/public/index.php:51)