""" Error when analyzing route 'GET|HEAD api/admin/licence-inventory/audit-events' (App\Http\Controllers\LicenceInventoryReportController@auditDrillDown): SQLSTATE[08006] [7] connection to server at "127.0.0.1", port 5433 failed: FATAL: password authentication failed for user "root"\n connection to server at "127.0.0.1", port 5433 failed: FATAL: password authentication failed for user "root" (Connection: audit_connection, Host: 127.0.0.1, Port: 5433, Database: lesotho_fiscalcloud_audit, SQL: select exists (select 1 from pg_class c, pg_namespace n where n.nspname = current_schema() and c.relname = 'audit_events' and c.relkind in ('r', 'p') and n.oid = c.relnamespace)) – /var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 838 """ // vendor/dedoc/scramble/src/Generator.php:127
ErrorException {#1534 #severity: E_NOTICE }
// If the path already exists and is a symlink, get the real path... clearstatcache(true, $path); $path = realpath($path) ?: $path; $tempPath = tempnam(dirname($path), basename($path)); // Fix permissions of tempPath because `tempnam()` creates it with permissions set to 0600... if (! is_null($mode)) { @chmod($tempPath, $mode); } else { * @return callable */ protected function forwardsTo($method) { return fn (...$arguments) => static::$app ? $this->{$method}(...$arguments) : false; } /** * Determine if the error level is a deprecation. // If the path already exists and is a symlink, get the real path... clearstatcache(true, $path); $path = realpath($path) ?: $path; $tempPath = tempnam(dirname($path), basename($path)); // Fix permissions of tempPath because `tempnam()` creates it with permissions set to 0600... if (! is_null($mode)) { @chmod($tempPath, $mode); } else { $this->ensureCompiledDirectoryExists( $compiledPath = $this->getCompiledPath($this->getPath()) ); if (! $this->files->exists($compiledPath)) { $this->files->replace($compiledPath, $contents); return; } $compiledHash = $this->files->hash($compiledPath, 'xxh128'); // If this given view has expired, which means it has simply been edited since // it was last compiled, we will re-compile the views so we can evaluate a // fresh copy of the view. We'll pass the compiler the path of the view. if (! isset($this->compiledOrNotExpired[$path]) && $this->compiler->isExpired($path)) { $this->compiler->compile($path); } // 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. * * @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 $exception = new Exception($flattenException, $request, $this->listener, $this->basePath); $exceptionAsMarkdown = $this->viewFactory->make('laravel-exceptions-renderer::markdown', [ 'exception' => $exception, ])->render(); return $this->viewFactory->make('laravel-exceptions-renderer::show', [ 'exception' => $exception, 'exceptionAsMarkdown' => $exceptionAsMarkdown, ])->render(); try { if (config('app.debug')) { if (app()->has(ExceptionRenderer::class)) { return $this->renderExceptionWithCustomRenderer($e); } elseif ($this->container->bound(Renderer::class)) { return $this->container->make(Renderer::class)->render(request(), $e); } } return $this->renderExceptionWithSymfony($e, config('app.debug')); } catch (Throwable $e) { * @return \Symfony\Component\HttpFoundation\Response */ protected function convertExceptionToResponse(Throwable $e) { return new SymfonyResponse( $this->renderExceptionContent($e), $this->isHttpException($e) ? $e->getStatusCode() : 500, $this->isHttpException($e) ? $e->getHeaders() : [] ); } * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse */ protected function prepareResponse($request, Throwable $e) { if (! $this->isHttpException($e) && config('app.debug')) { return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e)->prepare($request); } if (! $this->isHttpException($e)) { $e = new HttpException(500, $e->getMessage(), $e); } */ 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. * @param \Throwable $e * @return void */ protected function renderHttpResponse(Throwable $e) { $this->getExceptionHandler()->render(static::$app['request'], $e)->send(); } /** * Handle the PHP shutdown event. * if ($exceptionHandlerFailed ?? false) { exit(1); } } else { $this->renderHttpResponse($e); } } /** * Render an exception to the console. * @return callable */ protected function forwardsTo($method) { return fn (...$arguments) => static::$app ? $this->{$method}(...$arguments) : false; } /** * Determine if the error level is a deprecation.|
ErrorException
|
|---|
ErrorException:
tempnam(): file created in the system's temporary directory
at /var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:222
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:262)
at Illuminate\Foundation\Bootstrap\HandleExceptions->{closure:Illuminate\Foundation\Bootstrap\HandleExceptions::forwardsTo():261}()
at tempnam()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:222)
at Illuminate\Filesystem\Filesystem->replace()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/View/Compilers/BladeCompiler.php:201)
at Illuminate\View\Compilers\BladeCompiler->compile()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:68)
at Illuminate\View\Engines\CompilerEngine->get()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/View/View.php:208)
at Illuminate\View\View->getContents()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/View/View.php:191)
at Illuminate\View\View->renderContents()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/View/View.php:160)
at Illuminate\View\View->render()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Renderer/Renderer.php:95)
at Illuminate\Foundation\Exceptions\Renderer\Renderer->render()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:879)
at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:860)
at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:839)
at Illuminate\Foundation\Exceptions\Handler->prepareResponse()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:738)
at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:626)
at Illuminate\Foundation\Exceptions\Handler->render()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:225)
at Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:202)
at Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
(/var/www/lesotho-fiscalcloud/virtual_fiscalization_backend_ls/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:262)
at Illuminate\Foundation\Bootstrap\HandleExceptions->{closure:Illuminate\Foundation\Bootstrap\HandleExceptions::forwardsTo():261}()
|