Exception
ErrorException
Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined index: HTTP_USER_AGENT', '/home/d4kdy5danoy3/public_html/api/lumen/resources/views/forms/form-personal-loan.php', 6, array('__path' => '/home/d4kdy5danoy3/public_html/api/lumen/resources/views/forms/form-personal-loan.php', '__data' => array('__env' => object(Factory), 'app' => object(Application)), '__env' => object(Factory), 'app' => object(Application))) in /home/d4kdy5danoy3/public_html/api/lumen/resources/views/forms/form-personal-loan.php (line 6)
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/filesystem/Filesystem.php require (line 107)
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/filesystem/Filesystem.php :: Illuminate\Filesystem\{closure} (line 108)
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/view/Engines/PhpEngine.php -> getRequire (line 58)
// 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());
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/view/Engines/PhpEngine.php -> evaluatePath (line 38)
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/view/View.php -> get (line 139)
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/view/View.php -> getContents (line 122)
// 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 sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/view/View.php -> renderContents (line 91)
* @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
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/http/Response.php -> render (line 62)
// 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;
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/http/Response.php -> setContent (line 34)
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php -> __construct (line 446)
}
if ($response instanceof PsrResponseInterface) {
$response = (new HttpFoundationFactory)->createResponse($response);
} elseif (! $response instanceof SymfonyResponse) {
$response = new Response($response);
} elseif ($response instanceof BinaryFileResponse) {
$response = $response->prepare(Request::capture());
}
return $response->prepare($request);
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php -> prepareResponse (line 386)
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php -> callControllerCallable (line 352)
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php -> callLumenController (line 326)
if (! method_exists($instance = $this->make($controller), $method)) {
throw new NotFoundHttpException;
}
if ($instance instanceof LumenController) {
return $this->callLumenController($instance, $method, $routeInfo);
} else {
return $this->callControllerCallable(
[$instance, $method], $routeInfo[2]
);
}
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php -> callControllerAction (line 279)
protected function callActionOnArrayBasedRoute($routeInfo)
{
$action = $routeInfo[1];
if (isset($action['uses'])) {
return $this->prepareResponse($this->callControllerAction($routeInfo));
}
foreach ($action as $value) {
if ($value instanceof Closure) {
$callable = $value->bindTo(new RoutingClosure);
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php -> callActionOnArrayBasedRoute (line 264)
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php -> handleFoundRoute (line 166)
return $this->sendThroughPipeline($this->middleware, function ($request) use ($method, $pathInfo) {
$this->instance(Request::class, $request);
if (isset($this->router->getRoutes()[$method.$pathInfo])) {
return $this->handleFoundRoute([true, $this->router->getRoutes()[$method.$pathInfo]['action'], []]);
}
return $this->handleDispatcherResponse(
$this->createDispatcher()->dispatch($method, $pathInfo)
);
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php -> Laravel\Lumen\Concerns\{closure} (line 426)
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php -> sendThroughPipeline (line 172)
in /home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php -> dispatch (line 109)
Stack Trace
ErrorException |
---|
ErrorException: Undefined index: HTTP_USER_AGENT at /home/d4kdy5danoy3/public_html/api/lumen/resources/views/forms/form-personal-loan.php:6 at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined index: HTTP_USER_AGENT', '/home/d4kdy5danoy3/public_html/api/lumen/resources/views/forms/form-personal-loan.php', 6, array('__path' => '/home/d4kdy5danoy3/public_html/api/lumen/resources/views/forms/form-personal-loan.php', '__data' => array('__env' => object(Factory), 'app' => object(Application)), '__env' => object(Factory), 'app' => object(Application))) (/home/d4kdy5danoy3/public_html/api/lumen/resources/views/forms/form-personal-loan.php:6) at require('/home/d4kdy5danoy3/public_html/api/lumen/resources/views/forms/form-personal-loan.php') (/home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/filesystem/Filesystem.php:107) at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}() (/home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/filesystem/Filesystem.php:108) at Illuminate\Filesystem\Filesystem->getRequire('/home/d4kdy5danoy3/public_html/api/lumen/resources/views/forms/form-personal-loan.php', array('__env' => object(Factory), 'app' => object(Application))) (/home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/view/Engines/PhpEngine.php:58) at Illuminate\View\Engines\PhpEngine->evaluatePath('/home/d4kdy5danoy3/public_html/api/lumen/resources/views/forms/form-personal-loan.php', array('__env' => object(Factory), 'app' => object(Application))) (/home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/view/Engines/PhpEngine.php:38) at Illuminate\View\Engines\PhpEngine->get('/home/d4kdy5danoy3/public_html/api/lumen/resources/views/forms/form-personal-loan.php', array('__env' => object(Factory), 'app' => object(Application))) (/home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/view/View.php:139) at Illuminate\View\View->getContents() (/home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/view/View.php:122) at Illuminate\View\View->renderContents() (/home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/view/View.php:91) at Illuminate\View\View->render() (/home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/http/Response.php:62) at Illuminate\Http\Response->setContent(object(View)) (/home/d4kdy5danoy3/public_html/api/lumen/vendor/illuminate/http/Response.php:34) at Illuminate\Http\Response->__construct(object(View)) (/home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:446) at Laravel\Lumen\Application->prepareResponse(object(View)) (/home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:386) at Laravel\Lumen\Application->callControllerCallable(array(object(FormController), 'getform'), array()) (/home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:352) at Laravel\Lumen\Application->callLumenController(object(FormController), 'getform', array(true, array('uses' => 'App\\Http\\Controllers\\FormController@getform'), array())) (/home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:326) at Laravel\Lumen\Application->callControllerAction(array(true, array('uses' => 'App\\Http\\Controllers\\FormController@getform'), array())) (/home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:279) at Laravel\Lumen\Application->callActionOnArrayBasedRoute(array(true, array('uses' => 'App\\Http\\Controllers\\FormController@getform'), array())) (/home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:264) at Laravel\Lumen\Application->handleFoundRoute(array(true, array('uses' => 'App\\Http\\Controllers\\FormController@getform'), array())) (/home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:166) at Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(object(Request)) (/home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:426) at Laravel\Lumen\Application->sendThroughPipeline(array(), object(Closure)) (/home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:172) at Laravel\Lumen\Application->dispatch(null) (/home/d4kdy5danoy3/public_html/api/lumen/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php:109) at Laravel\Lumen\Application->run() (/home/d4kdy5danoy3/public_html/api/index.php:28) |