^ ErrorException {#595
#message: "file_put_contents(/var/www/html/laravel-app/shared/storage/framework/views/542a038b61d99e6812bf8acf6f65018cd08327b5.php): failed to open stream: Permission denied"
#code: 0
#file: "/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
#line: 122
#severity: E_WARNING
trace: {
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122 {
Illuminate\Foundation\Bootstrap\HandleExceptions->handleError($level, $message, $file = '', $line = 0, $context = []) …
› {
› return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
› }
}
Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() {}
/var/www/html/laravel-app/releases/747/app/VendorOverrides/pragmarx/tracker/src/Support/Exceptions/Handler.php:58 {
PragmaRX\Tracker\Support\Exceptions\Handler->handleError($err_severity, $err_msg, $err_file, $err_line, array $err_context) …
› // Call Laravel Exception Handler
› return call_user_func($this->originalErrorHandler, $err_severity, $err_msg, $err_file, $err_line);
› }
arguments: {
$function_name: array:2 [ …2]
...$parameters: {
2
"file_put_contents(/var/www/html/laravel-app/shared/storage/framework/views/542a038b61d99e6812bf8acf6f65018cd08327b5.php): failed to open stream: Permission denied"
"/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
122
}
}
}
PragmaRX\Tracker\Support\Exceptions\Handler->handleError() {}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122 {
Illuminate\Filesystem\Filesystem->put($path, $contents, $lock = false) …
› {
› return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
› }
arguments: {
$filename: "/var/www/html/laravel-app/shared/storage/framework/views/542a038b61d99e6812bf8acf6f65018cd08327b5.php"
$data: "<?php echo $content; ?><?php /**PATH /var/www/html/laravel-app/releases/747/resources/views/emails/exception.blade.php ENDPATH**/ ?>"
$flags: 0
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/View/Compilers/BladeCompiler.php:140 {
Illuminate\View\Compilers\BladeCompiler->compile($path = null) …
› $this->files->put(
› $this->getCompiledPath($this->getPath()), $contents
› );
arguments: {
$path: "/var/www/html/laravel-app/shared/storage/framework/views/542a038b61d99e6812bf8acf6f65018cd08327b5.php"
$contents: "<?php echo $content; ?><?php /**PATH /var/www/html/laravel-app/releases/747/resources/views/emails/exception.blade.php ENDPATH**/ ?>"
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:51 {
Illuminate\View\Engines\CompilerEngine->get($path, array $data = []) …
› if ($this->compiler->isExpired($path)) {
› $this->compiler->compile($path);
› }
arguments: {
$path: "/var/www/html/laravel-app/releases/747/resources/views/emails/exception.blade.php"
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/View/View.php:142 {
Illuminate\View\View->getContents() …
› {
› return $this->engine->get($this->path, $this->gatherData());
› }
arguments: {
$path: "/var/www/html/laravel-app/releases/747/resources/views/emails/exception.blade.php"
$data: array:12 [ …12]
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/View/View.php:125 {
Illuminate\View\View->renderContents() …
›
› $contents = $this->getContents();
›
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/View/View.php:90 {
Illuminate\View\View->render(callable $callback = null) …
› try {
› $contents = $this->renderContents();
›
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php:353 {
Illuminate\Mail\Mailer->renderView($view, $data) …
› ? $view->toHtml()
› : $this->views->make($view, $data)->render();
› }
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php:326 {
Illuminate\Mail\Mailer->addContent($message, $view, $plain, $raw, $data) …
› if (isset($view)) {
› $message->setBody($this->renderView($view, $data), 'text/html');
› }
arguments: {
$view: "emails.exception"
$data: array:8 [ …8]
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php:244 {
Illuminate\Mail\Mailer->send($view, array $data = [], $callback = null) …
›
› $this->addContent($message, $view, $plain, $raw, $data);
›
arguments: {
$message: Illuminate\Mail\Message {#575 …}
$view: "emails.exception"
$plain: null
$raw: null
$data: array:8 [ …8]
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Mail/Mailable.php:159 {
Illuminate\Mail\Mailable->Illuminate\Mail\{closure} …
› ->buildAttachments($message);
› });
› });
arguments: {
$view: "emails.exception"
$data: array:8 [ …8]
$callback: Closure($message) {#576 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Support/Traits/Localizable.php:19 {
Illuminate\Mail\Mailable->withLocale($locale, $callback) …
› if (! $locale) {
› return $callback();
› }
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Mail/Mailable.php:160 {
Illuminate\Mail\Mailable->send(Mailer $mailer) …
› });
› });
› }
arguments: {
$locale: null
$callback: Closure() {#553 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php:275 {
Illuminate\Mail\Mailer->sendMailable(Mailable $mailable) …
› ? $mailable->queue($this->queue)
› : $mailable->send($this);
› }
arguments: {
$mailer: Illuminate\Mail\Mailer {#527 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php:229 {
Illuminate\Mail\Mailer->send($view, array $data = [], $callback = null) …
› if ($view instanceof MailableContract) {
› return $this->sendMailable($view);
› }
arguments: {
$mailable: App\Mail\ExceptionOccured {#552 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Mail/PendingMail.php:127 {
Illuminate\Mail\PendingMail->send(Mailable $mailable) …
›
› return $this->mailer->send($this->fill($mailable));
› }
arguments: {
$view: App\Mail\ExceptionOccured {#552 …}
}
}
/var/www/html/laravel-app/releases/747/app/Exceptions/Handler.php:64 {
App\Exceptions\Handler::sendEmail(Exception $exception): void …
› $html = $handler->getHtml($e);
› Mail::to('odovictoma@gmail.com')->send(new ExceptionOccured($html));
› } catch (Exception $ex) {
arguments: {
$mailable: App\Mail\ExceptionOccured {#552 …}
}
}
/var/www/html/laravel-app/releases/747/app/Exceptions/Handler.php:39 {
App\Exceptions\Handler->report(Exception $e) …
› if ($this->shouldReport($e)) {
› self::sendEmail($e);
› }
arguments: {
$exception: ErrorException {#212 …}
}
}
/var/www/html/laravel-app/releases/747/app/VendorOverrides/pragmarx/tracker/src/Support/Exceptions/Handler.php:69 {
PragmaRX\Tracker\Support\Exceptions\Handler->report(Exception $e) …
›
› $this->illuminateHandler->report($e);
› }
arguments: {
$e: ErrorException {#212 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:81 {
Illuminate\Routing\Pipeline->handleException($passable, Exception $e) …
›
› $handler->report($e);
›
arguments: {
$e: ErrorException {#212 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:55 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› } catch (Exception $e) {
› return $this->handleException($passable, $e);
› } catch (Throwable $e) {
arguments: {
$passable: Illuminate\Http\Request {#43 …}
$e: ErrorException {#212 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 {
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle($request, Closure $next) …
› {
› $response = $next($request);
›
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#365 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:66 {
Illuminate\Cookie\Middleware\EncryptCookies->handle($request, Closure $next) …
› {
› return $this->encrypt($next($this->decrypt($request)));
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#365 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Routing/Router.php:682 {
Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
› );
› });
› }
arguments: {
$destination: Closure($request) {#391 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Routing/Router.php:657 {
Illuminate\Routing\Router->runRoute(Request $request, Route $route) …
› return $this->prepareResponse($request,
› $this->runRouteWithinStack($route, $request)
› );
arguments: {
$route: Illuminate\Routing\Route {#339 …}
$request: Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Routing/Router.php:623 {
Illuminate\Routing\Router->dispatchToRoute(Request $request) …
› {
› return $this->runRoute($request, $this->findRoute($request));
› }
arguments: {
$request: Illuminate\Http\Request {#43 …}
$route: Illuminate\Routing\Route {#339 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Routing/Router.php:612 {
Illuminate\Routing\Router->dispatch(Request $request) …
›
› return $this->dispatchToRoute($request);
› }
arguments: {
$request: Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 {
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure} …
›
› return $this->router->dispatch($request);
› };
arguments: {
$request: Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› try {
› return $destination($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/fideloper/proxy/src/TrustProxies.php:57 {
Fideloper\Proxy\TrustProxies->handle(Request $request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#365 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#365 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#365 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 {
Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#365 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:62 {
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#43 …}
$next: Closure($passable) {#365 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
› ->then($this->dispatchToRouter());
› }
arguments: {
$destination: Closure($request) {#362 …}
}
}
/var/www/html/laravel-app/releases/747/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
Illuminate\Foundation\Http\Kernel->handle($request) …
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
arguments: {
$request: Illuminate\Http\Request {#43 …}
}
}
/var/www/html/laravel-app/releases/747/public/index.php:55 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Illuminate\Http\Request {#43 …}
}
}
}
}