t at path {$path}." ); } return LazyCollection::make(function () use ($path) { $file = new SplFileObject($path); $file->setFlags(SplFileObject::DROP_NEW_LINE); while (! $file->eof()) { yield $file->fgets(); } }); } /** * Get the hash of the file at the given path. * * @param string $path * @param string $algorithm * @return string */ public function hash($path, $algorithm = 'md5') { return hash_file($algorithm, $path); } /** * Write the contents of a file. * * @param string $path * @param string $contents * @param bool $lock * @return int|bool */ public function put($path, $contents, $lock = false) { return file_put_contents($path, $contents, $lock ? LOCK_EX : 0); } /** * Write the contents of a file, replacing it atomically if it already exists. * * @param string $path * @param string $content * @param int|null $mode * @return void */ public function replace($path, $content, $mode = null) { // 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 { chmod($tempPath, 0777 - umask()); } file_put_contents($tempPath, $content); rename($tempPath, $path); } /** * Replace a given string within a given file. * * @param array|string $search * @param array|string $replace * @param string $path * @return void */ public function replaceInFile($search, $replace, $path) { file_put_contents($path, str_replace($search, $replace, file_get_contents($path))); } /** * Prepend to a file. * * @param string $path * @param string $data * @return int */ public function prepend($path, $data) { if ($this->exists($path)) { return $this->put($path, $data.$this->get($path)); } return $this->put($path, $data); } /** * Append to a file. * * @param string $path * @param string $data * @param bool $lock * @return int */ public function append($path, $data, $lock = false) { return file_put_contents($path, $data, FILE_APPEND | ($lock ? LOCK_EX : 0)); } /** * Get or set UNIX mode of a file or directory. * * @param string $path * @param int|null $mode * @return mixed */ public function chmod($path, $mode = null) { if ($mode) { return chmod($path, $mode); } return substr(sprintf('%o', fileperms($path)), -4); } /** * Delete the file at a given path. * * @param string|array $paths * @return bool */ public function delete($paths) { $paths = is_array($paths) ? $paths : func_get_args(); $success = true; foreach ($paths as $path) { try { if (@unlink($path)) { clearstatcache(false, $path); } else { $success = false; } } catch (ErrorException) { $success = false; } } return $success; } /** * Move a file to a new location. * * @param string $path * @param string $target * @return bool */ public function move($path, $target) { return rename($path, $target); } /** * Copy a file to a new location. * * @param string $path * @param string $target * @return bool */ public function copy($path, $target) { return copy($path, $target); } /** * Create a symlink to the target file or directory. On Windows, a hard link is created if the target is a file. * * @param string $target * @param string $link * @return bool|null */ public function link($target, $link) { if (! windows_os()) { return symlink($target, $link); } $mode = $this->isDirectory($target) ? 'J' : 'H'; exec("mklink /{$mode} ".escapeshellarg($link).' '.escapeshellarg($target)); } /** * Create a relative symlink to the target file or directory. * * @param string $target * @param string $link * @return void * * @throws \RuntimeException */ public function relativeLink($target, $link) { if (! class_exists(SymfonyFilesystem::class)) { throw new RuntimeException( 'To enable support for relative links, please install the symfony/filesystem package.' ); } $relativeTarget = (new SymfonyFilesystem)->makePathRelative($target, dirname($link)); $this->link($this->isFile($target) ? rtrim($relativeTarget, '/') : $relativeTarget, $link); } /** * Extract the file name from a file path. * * @param string $path * @return string */ public function name($path) { return pathinfo($path, PATHINFO_FILENAME); } /** * Extract the trailing name component from a file path. * * @param string $path * @return string */ public function basename($path) { return pathinfo($path, PATHINFO_BASENAME); } /** * Extract the parent directory from a file path. * * @param string $path * @return string */ public function dirname($path) { return pathinfo($path, PATHINFO_DIRNAME); } /** * Extract the file extension from a file path. * * @param string $path * @return string */ public function extension($path) { return pathinfo($path, PATHINFO_EXTENSION); } /** * Guess the file extension from the mime-type of a given file. * * @param string $path * @return string|null * * @throws \RuntimeException */ public function guessExtension($path) { if (! class_exists(MimeTypes::class)) { throw new RuntimeException( 'To enable support for guessing extensions, please install the symfony/mime package.' ); } return (new MimeTypes)->getExtensions($this->mimeType($path))[0] ?? null; } /** * Get the file type of a given file. * * @param string $path * @return string */ public function type($path) { return filetype($path); } /** * Get the mime-type of a given file. * * @param string $path * @return string|false */ public function mimeType($path) { return finfo_file(finfo_open(FILEINFO_MIME_TYPE), $path); } /** * Get the file size of a given file. * * @param string $path * @return int */ public function size($path) { return filesize($path); } /** * Get the file's last modification time. * * @param string $path * @return int */ public function lastModified($path) { return filemtime($path); } /** * Determine if the given path is a directory. * * @param string $directory * @return bool */ public function isDirectory($directory) { return is_dir($directory); } /** * Determine if the given path is a directory that does not contain any other files or directories. * * @param string $directory * @param bool $ignoreDotFiles * @return bool */ public function isEmptyDirectory($directory, $ignoreDotFiles = false) { return ! Finder::create()->ignoreDotFiles($ignoreDotFiles)->in($directory)->depth(0)->hasResults(); } /** * Determine if the given path is readable. * * @param string $path * @return bool */ public function isReadable($path) { return is_readable($path); } /** * Determine if the given path is writable. * * @param string $path * @return bool */ public function isWritable($path) { return is_writable($path); } /** * Determine if two files are the same by comparing their hashes. * * @param string $firstFile * @param string $secondFile * @return bool */ public function hasSameHash($firstFile, $secondFile) { $hash = @md5_file($firstFile); return $hash && hash_equals($hash, (string) @md5_file($secondFile)); } /** * Determine if the given path is a file. * * @param string $file * @return bool */ public function isFile($file) { return is_file($file); } /** * Find path names matching a given pattern. * * @param string $pattern * @param int $flags * @return array */ public function glob($pattern, $flags = 0) { return glob($pattern, $flags); } /** * Get an array of all files in a directory. * * @param string $directory * @param bool $hidden * @return \Symfony\Component\Finder\SplFileInfo[] */ public function files($directory, $hidden = false) { return iterator_to_array( Finder::create()->files()->ignoreDotFiles(! $hidden)->in($directory)->depth(0)->sortByName(), false ); } /** * Get all of the files from the given directory (recursive). * * @param string $directory * @param bool $hidden * @return \Symfony\Component\Finder\SplFileInfo[] */ public function allFiles($directory, $hidden = false) { return iterator_to_array( Finder::create()->files()->ignoreDotFiles(! $hidden)->in($directory)->sortByName(), false ); } /** * Get all of the directories within a given directory. * * @param string $directory * @return array */ public function directories($directory) { $directories = []; foreach (Finder::create()->in($directory)->directories()->depth(0)->sortByName() as $dir) { $directories[] = $dir->getPathname(); } return $directories; } /** * Ensure a directory exists. * * @param string $path * @param int $mode * @param bool $recursive * @return void */ public function ensureDirectoryExists($path, $mode = 0755, $recursive = true) { if (! $this->isDirectory($path)) { $this->makeDirectory($path, $mode, $recursive); } } /** * Create a directory. * * @param string $path * @param int $mode * @param bool $recursive * @param bool $force * @return bool */ public function makeDirectory($path, $mode = 0755, $recursive = false, $force = false) { if ($force) { return @mkdir($path, $mode, $recursive); } return mkdir($path, $mode, $recursive); } /** * Move a directory. * * @param string $from * @param string $to * @param bool $overwrite * @return bool */ public function moveDirectory($from, $to, $overwrite = false) { if ($overwrite && $this->isDirectory($to) && ! $this->deleteDirectory($to)) { return false; } return @rename($from, $to) === true; } /** * Copy a directory from one location to another. * * @param string $directory * @param string $destination * @param int|null $options * @return bool */ public function copyDirectory($directory, $destination, $options = null) { if (! $this->isDirectory($directory)) { return false; } $options = $options ?: FilesystemIterator::SKIP_DOTS; // If the destination directory does not actually exist, we will go ahead and // create it recursively, which just gets the destination prepared to copy // the files over. Once we make the directory we'll proceed the copying. $this->ensureDirectoryExists($destination, 0777); $items = new FilesystemIterator($directory, $options); foreach ($items as $item) { // As we spin through items, we will check to see if the current file is actually // a directory or a file. When it is actually a directory we will need to call // back into this function recursively to keep copying these nested folders. $target = $destination.'/'.$item->getBasename(); if ($item->isDir()) { $path = $item->getPathname(); if (! $this->copyDirectory($path, $target, $options)) { return false; } } // If the current items is just a regular file, we will just copy this to the new // location and keep looping. If for some reason the copy fails we'll bail out // and return false, so the developer is aware that the copy process failed. elseif (! $this->copy($item->getPathname(), $target)) { return false; } } return true; } /** * Recursively delete a directory. * * The directory itself may be optionally preserved. * * @param string $directory * @param bool $preserve * @return bool */ public function deleteDirectory($directory, $preserve = false) { if (! $this->isDirectory($directory)) { return false; } $items = new FilesystemIterator($directory); foreach ($items as $item) { // If the item is a directory, we can just recurse into the function and // delete that sub-directory otherwise we'll just delete the file and // keep iterating through each file until the directory is cleaned. if ($item->isDir() && ! $item->isLink()) { $this->deleteDirectory($item->getPathname()); } // If the item is just a file, we can go ahead and delete it since we're // just looping through and waxing all of the files in this directory // and calling directories recursively, so we delete the real path. else { $this->delete($item->getPathname()); } } unset($items); if (! $preserve) { @rmdir($directory); } return true; } /** * Remove all of the directories within a given directory. * * @param string $directory * @return bool */ public function deleteDirectories($directory) { $allDirectories = $this->directories($directory); if (! empty($allDirectories)) { foreach ($allDirectories as $directoryName) { $this->deleteDirectory($directoryName); } return true; } return false; } /** * Empty the specified directory of all files and folders. * * @param string $directory * @return bool */ public function cleanDirectory($directory) { return $this->deleteDirectory($directory, true); } } Class "Illuminate\Filesystem\Filesystem" not found (500 Internal Server Error)

Symfony Exception

Error

HTTP 500 Internal Server Error

Class "Illuminate\Filesystem\Filesystem" not found

Exception

Error

  1. $this->instance(Container::class, $this);
  2. $this->singleton(Mix::class);
  3. $this->singleton(PackageManifest::class, fn () => new PackageManifest(
  4. new Filesystem, $this->basePath(), $this->getCachedPackagesPath()
  5. ));
  6. }
  7. /**
  8. * Register all of the base service providers.
in /htdocs/vendor/laravel/framework/src/Illuminate/Container/Container.php -> Illuminate\Foundation\{closure} (line 908)
  1. {
  2. // If the concrete type is actually a Closure, we will just execute it and
  3. // hand back the results of the functions, which allows functions to be
  4. // used as resolvers for more fine-tuned resolution of these objects.
  5. if ($concrete instanceof Closure) {
  6. return $concrete($this, $this->getLastParameterOverride());
  7. }
  8. try {
  9. $reflector = new ReflectionClass($concrete);
  10. } catch (ReflectionException $e) {
  1. // We're ready to instantiate an instance of the concrete type registered for
  2. // the binding. This will instantiate the types, as well as resolve any of
  3. // its "nested" dependencies recursively until all have gotten resolved.
  4. $object = $this->isBuildable($concrete, $abstract)
  5. ? $this->build($concrete)
  6. : $this->make($concrete);
  7. // If we defined any extenders for this type, we'll need to spin through them
  8. // and apply them to the object being built. This allows for the extension
  9. // of services, such as changing configuration or decorating the object.
  1. */
  2. protected function resolve($abstract, $parameters = [], $raiseEvents = true)
  3. {
  4. $this->loadDeferredProviderIfNeeded($abstract = $this->getAlias($abstract));
  5. return parent::resolve($abstract, $parameters, $raiseEvents);
  6. }
  7. /**
  8. * Load the deferred provider if the given type is a deferred service and the instance has not been loaded.
  9. *
  1. *
  2. * @throws \Illuminate\Contracts\Container\BindingResolutionException
  3. */
  4. public function make($abstract, array $parameters = [])
  5. {
  6. return $this->resolve($abstract, $parameters);
  7. }
  8. /**
  9. * {@inheritdoc}
  10. *
  1. */
  2. public function make($abstract, array $parameters = [])
  3. {
  4. $this->loadDeferredProviderIfNeeded($abstract = $this->getAlias($abstract));
  5. return parent::make($abstract, $parameters);
  6. }
  7. /**
  8. * Resolve the given type from the container.
  9. *
  1. Facade::setFacadeApplication($app);
  2. AliasLoader::getInstance(array_merge(
  3. $app->make('config')->get('app.aliases', []),
  4. $app->make(PackageManifest::class)->aliases()
  5. ))->register();
  6. }
  7. }
  1. $this->hasBeenBootstrapped = true;
  2. foreach ($bootstrappers as $bootstrapper) {
  3. $this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
  4. $this->make($bootstrapper)->bootstrap($this);
  5. $this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
  6. }
  7. }
  1. * @return void
  2. */
  3. public function bootstrap()
  4. {
  5. if (! $this->app->hasBeenBootstrapped()) {
  6. $this->app->bootstrapWith($this->bootstrappers());
  7. }
  8. }
  9. /**
  10. * Get the route dispatcher callback.
  1. {
  2. $this->app->instance('request', $request);
  3. Facade::clearResolvedInstance('request');
  4. $this->bootstrap();
  5. return (new Pipeline($this->app))
  6. ->send($request)
  7. ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  8. ->then($this->dispatchToRouter());
  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. }
Kernel->handle(object(Request)) in /htdocs/public/index.php (line 51)
  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

Error
Error:
Class "Illuminate\Filesystem\Filesystem" not found

  at /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:234
  at Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(object(Application), array())
     (/htdocs/vendor/laravel/framework/src/Illuminate/Container/Container.php:908)
  at Illuminate\Container\Container->build(object(Closure))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Container/Container.php:795)
  at Illuminate\Container\Container->resolve('Illuminate\\Foundation\\PackageManifest', array(), true)
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:963)
  at Illuminate\Foundation\Application->resolve('Illuminate\\Foundation\\PackageManifest', array())
     (/htdocs/vendor/laravel/framework/src/Illuminate/Container/Container.php:731)
  at Illuminate\Container\Container->make('Illuminate\\Foundation\\PackageManifest', array())
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:948)
  at Illuminate\Foundation\Application->make('Illuminate\\Foundation\\PackageManifest')
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php:26)
  at Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(object(Application))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:263)
  at Illuminate\Foundation\Application->bootstrapWith(array('Illuminate\\Foundation\\Bootstrap\\LoadEnvironmentVariables', 'Illuminate\\Foundation\\Bootstrap\\LoadConfiguration', 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'Illuminate\\Foundation\\Bootstrap\\RegisterFacades', 'Illuminate\\Foundation\\Bootstrap\\RegisterProviders', 'Illuminate\\Foundation\\Bootstrap\\BootProviders'))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:186)
  at Illuminate\Foundation\Http\Kernel->bootstrap()
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/htdocs/public/index.php:51)                

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

include(assets/js/exception.js): Failed to open stream: No such file or directory

Exception

ErrorException

Show exception properties
ErrorException {#56
  #severity: E_WARNING
}
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. * @return callable
  2. */
  3. protected function forwardsTo($method)
  4. {
  5. return fn (...$arguments) => static::$app
  6. ? $this->{$method}(...$arguments)
  7. : false;
  8. }
  9. /**
  10. * Determine if the error level is a deprecation.
in /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php -> Illuminate\Foundation\Bootstrap\{closure} (line 339)
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. <?php } ?>
  2. <?= $this->include('views/exception.html.php', $context); ?>
  3. <script>
  4. <?= $this->include('assets/js/exception.js'); ?>
  5. </script>
  6. </body>
  7. </html>
  8. <!-- <?= $_message; ?> -->
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. ]);
  2. }
  3. $exceptionMessage = $this->escape($exception->getMessage());
  4. return $this->include($debugTemplate, [
  5. 'exception' => $exception,
  6. 'exceptionMessage' => $exceptionMessage,
  7. 'statusText' => $statusText,
  8. 'statusCode' => $statusCode,
  9. 'logger' => null !== $this->logger && class_exists(DebugLoggerConfigurator::class) ? DebugLoggerConfigurator::getDebugLogger($this->logger) : null,
  1. $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine();
  2. }
  3. $exception = FlattenException::createWithDataRepresentation($exception, null, $headers);
  4. return $exception->setAsString($this->renderException($exception));
  5. }
  6. /**
  7. * Gets the HTML content associated with the given exception.
  8. */
  1. */
  2. protected function renderExceptionWithSymfony(Throwable $e, $debug)
  3. {
  4. $renderer = new HtmlErrorRenderer($debug);
  5. return $renderer->render($e)->getAsString();
  6. }
  7. /**
  8. * Render the given HttpException.
  9. *
  1. protected function renderExceptionContent(Throwable $e)
  2. {
  3. try {
  4. return config('app.debug') && app()->has(ExceptionRenderer::class)
  5. ? $this->renderExceptionWithCustomRenderer($e)
  6. : $this->renderExceptionWithSymfony($e, config('app.debug'));
  7. } catch (Throwable $e) {
  8. return $this->renderExceptionWithSymfony($e, config('app.debug'));
  9. }
  10. }
  1. * @return \Symfony\Component\HttpFoundation\Response
  2. */
  3. protected function convertExceptionToResponse(Throwable $e)
  4. {
  5. return new SymfonyResponse(
  6. $this->renderExceptionContent($e),
  7. $this->isHttpException($e) ? $e->getStatusCode() : 500,
  8. $this->isHttpException($e) ? $e->getHeaders() : []
  9. );
  10. }
  1. * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
  2. */
  3. protected function prepareResponse($request, Throwable $e)
  4. {
  5. if (! $this->isHttpException($e) && config('app.debug')) {
  6. return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e)->prepare($request);
  7. }
  8. if (! $this->isHttpException($e)) {
  9. $e = new HttpException(500, $e->getMessage(), $e);
  10. }
  1. */
  2. protected function renderExceptionResponse($request, Throwable $e)
  3. {
  4. return $this->shouldReturnJson($request, $e)
  5. ? $this->prepareJsonResponse($request, $e)
  6. : $this->prepareResponse($request, $e);
  7. }
  8. /**
  9. * Convert an authentication exception into a response.
  10. *
  1. return match (true) {
  2. $e instanceof HttpResponseException => $e->getResponse(),
  3. $e instanceof AuthenticationException => $this->unauthenticated($request, $e),
  4. $e instanceof ValidationException => $this->convertValidationExceptionToResponse($e, $request),
  5. default => $this->renderExceptionResponse($request, $e),
  6. };
  7. }
  8. /**
  9. * Prepare exception for rendering.
  1. * @param \Throwable $e
  2. * @return \Symfony\Component\HttpFoundation\Response
  3. */
  4. protected function renderException($request, Throwable $e)
  5. {
  6. return $this->app[ExceptionHandler::class]->render($request, $e);
  7. }
  8. /**
  9. * Get the application's route middleware groups.
  10. *
  1. $response = $this->sendRequestThroughRouter($request);
  2. } catch (Throwable $e) {
  3. $this->reportException($e);
  4. $response = $this->renderException($request, $e);
  5. }
  6. $this->app['events']->dispatch(
  7. new RequestHandled($request, $response)
  8. );
Kernel->handle(object(Request)) in /htdocs/public/index.php (line 51)
  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

ErrorException
ErrorException:
include(assets/js/exception.js): Failed to open stream: No such file or directory

  at /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'include(assets/js/exception.js): Failed to open stream: No such file or directory', '/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 339)
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:255)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(2, 'include(assets/js/exception.js): Failed to open stream: No such file or directory', '/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 339)
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339)
  at include('/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php')
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include('assets/js/exception.js')
     (/htdocs/vendor/symfony/error-handler/Resources/views/exception_full.html.php:38)
  at include('/htdocs/vendor/symfony/error-handler/Resources/views/exception_full.html.php')
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include('views/exception_full.html.php', array('exception' => object(FlattenException), 'exceptionMessage' => 'Class &quot;Illuminate\\Filesystem\\Filesystem&quot; not found', 'statusText' => 'Internal Server Error', 'statusCode' => '500', 'logger' => null, 'currentContent' => ''))
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:138)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->renderException(object(FlattenException))
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:70)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->render(object(FlattenException))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:708)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithSymfony(object(Error), true)
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:680)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(Error))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:663)
  at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(Error))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:642)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(Error))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:556)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(Error))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:473)
  at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(Error))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:509)
  at Illuminate\Foundation\Http\Kernel->renderException(object(Request), object(Error))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:148)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/htdocs/public/index.php:51)                

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

include(assets/js/exception.js): Failed to open stream: No such file or directory

Exception

ErrorException

Show exception properties
ErrorException {#65
  #severity: E_WARNING
}
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. * @return callable
  2. */
  3. protected function forwardsTo($method)
  4. {
  5. return fn (...$arguments) => static::$app
  6. ? $this->{$method}(...$arguments)
  7. : false;
  8. }
  9. /**
  10. * Determine if the error level is a deprecation.
in /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php -> Illuminate\Foundation\Bootstrap\{closure} (line 339)
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. <?php } ?>
  2. <?= $this->include('views/exception.html.php', $context); ?>
  3. <script>
  4. <?= $this->include('assets/js/exception.js'); ?>
  5. </script>
  6. </body>
  7. </html>
  8. <!-- <?= $_message; ?> -->
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. ]);
  2. }
  3. $exceptionMessage = $this->escape($exception->getMessage());
  4. return $this->include($debugTemplate, [
  5. 'exception' => $exception,
  6. 'exceptionMessage' => $exceptionMessage,
  7. 'statusText' => $statusText,
  8. 'statusCode' => $statusCode,
  9. 'logger' => null !== $this->logger && class_exists(DebugLoggerConfigurator::class) ? DebugLoggerConfigurator::getDebugLogger($this->logger) : null,
  1. $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine();
  2. }
  3. $exception = FlattenException::createWithDataRepresentation($exception, null, $headers);
  4. return $exception->setAsString($this->renderException($exception));
  5. }
  6. /**
  7. * Gets the HTML content associated with the given exception.
  8. */
  1. */
  2. protected function renderExceptionWithSymfony(Throwable $e, $debug)
  3. {
  4. $renderer = new HtmlErrorRenderer($debug);
  5. return $renderer->render($e)->getAsString();
  6. }
  7. /**
  8. * Render the given HttpException.
  9. *
  1. try {
  2. return config('app.debug') && app()->has(ExceptionRenderer::class)
  3. ? $this->renderExceptionWithCustomRenderer($e)
  4. : $this->renderExceptionWithSymfony($e, config('app.debug'));
  5. } catch (Throwable $e) {
  6. return $this->renderExceptionWithSymfony($e, config('app.debug'));
  7. }
  8. }
  9. /**
  10. * Render an exception to a string using the registered `ExceptionRenderer`.
  1. * @return \Symfony\Component\HttpFoundation\Response
  2. */
  3. protected function convertExceptionToResponse(Throwable $e)
  4. {
  5. return new SymfonyResponse(
  6. $this->renderExceptionContent($e),
  7. $this->isHttpException($e) ? $e->getStatusCode() : 500,
  8. $this->isHttpException($e) ? $e->getHeaders() : []
  9. );
  10. }
  1. * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
  2. */
  3. protected function prepareResponse($request, Throwable $e)
  4. {
  5. if (! $this->isHttpException($e) && config('app.debug')) {
  6. return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e)->prepare($request);
  7. }
  8. if (! $this->isHttpException($e)) {
  9. $e = new HttpException(500, $e->getMessage(), $e);
  10. }
  1. */
  2. protected function renderExceptionResponse($request, Throwable $e)
  3. {
  4. return $this->shouldReturnJson($request, $e)
  5. ? $this->prepareJsonResponse($request, $e)
  6. : $this->prepareResponse($request, $e);
  7. }
  8. /**
  9. * Convert an authentication exception into a response.
  10. *
  1. return match (true) {
  2. $e instanceof HttpResponseException => $e->getResponse(),
  3. $e instanceof AuthenticationException => $this->unauthenticated($request, $e),
  4. $e instanceof ValidationException => $this->convertValidationExceptionToResponse($e, $request),
  5. default => $this->renderExceptionResponse($request, $e),
  6. };
  7. }
  8. /**
  9. * Prepare exception for rendering.
  1. * @param \Throwable $e
  2. * @return \Symfony\Component\HttpFoundation\Response
  3. */
  4. protected function renderException($request, Throwable $e)
  5. {
  6. return $this->app[ExceptionHandler::class]->render($request, $e);
  7. }
  8. /**
  9. * Get the application's route middleware groups.
  10. *
  1. $response = $this->sendRequestThroughRouter($request);
  2. } catch (Throwable $e) {
  3. $this->reportException($e);
  4. $response = $this->renderException($request, $e);
  5. }
  6. $this->app['events']->dispatch(
  7. new RequestHandled($request, $response)
  8. );
Kernel->handle(object(Request)) in /htdocs/public/index.php (line 51)
  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

ErrorException
ErrorException:
include(assets/js/exception.js): Failed to open stream: No such file or directory

  at /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'include(assets/js/exception.js): Failed to open stream: No such file or directory', '/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 339)
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:255)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(2, 'include(assets/js/exception.js): Failed to open stream: No such file or directory', '/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 339)
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339)
  at include('/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php')
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include('assets/js/exception.js')
     (/htdocs/vendor/symfony/error-handler/Resources/views/exception_full.html.php:38)
  at include('/htdocs/vendor/symfony/error-handler/Resources/views/exception_full.html.php')
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include('views/exception_full.html.php', array('exception' => object(FlattenException), 'exceptionMessage' => 'include(assets/js/exception.js): Failed to open stream: No such file or directory', 'statusText' => 'Internal Server Error', 'statusCode' => '500', 'logger' => null, 'currentContent' => ''))
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:138)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->renderException(object(FlattenException))
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:70)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->render(object(FlattenException))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:708)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithSymfony(object(ErrorException), true)
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:682)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:663)
  at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(Error))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:642)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(Error))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:556)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(Error))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:473)
  at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(Error))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:509)
  at Illuminate\Foundation\Http\Kernel->renderException(object(Request), object(Error))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:148)
  at Illuminate\Foundation\Http\Kernel->handle(object(Request))
     (/htdocs/public/index.php:51)                

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

include(assets/js/exception.js): Failed to open stream: No such file or directory

Exception

ErrorException

Show exception properties
ErrorException {#123
  #severity: E_WARNING
}
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. * @return callable
  2. */
  3. protected function forwardsTo($method)
  4. {
  5. return fn (...$arguments) => static::$app
  6. ? $this->{$method}(...$arguments)
  7. : false;
  8. }
  9. /**
  10. * Determine if the error level is a deprecation.
in /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php -> Illuminate\Foundation\Bootstrap\{closure} (line 339)
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. <?php } ?>
  2. <?= $this->include('views/exception.html.php', $context); ?>
  3. <script>
  4. <?= $this->include('assets/js/exception.js'); ?>
  5. </script>
  6. </body>
  7. </html>
  8. <!-- <?= $_message; ?> -->
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. ]);
  2. }
  3. $exceptionMessage = $this->escape($exception->getMessage());
  4. return $this->include($debugTemplate, [
  5. 'exception' => $exception,
  6. 'exceptionMessage' => $exceptionMessage,
  7. 'statusText' => $statusText,
  8. 'statusCode' => $statusCode,
  9. 'logger' => null !== $this->logger && class_exists(DebugLoggerConfigurator::class) ? DebugLoggerConfigurator::getDebugLogger($this->logger) : null,
  1. $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine();
  2. }
  3. $exception = FlattenException::createWithDataRepresentation($exception, null, $headers);
  4. return $exception->setAsString($this->renderException($exception));
  5. }
  6. /**
  7. * Gets the HTML content associated with the given exception.
  8. */
  1. */
  2. protected function renderExceptionWithSymfony(Throwable $e, $debug)
  3. {
  4. $renderer = new HtmlErrorRenderer($debug);
  5. return $renderer->render($e)->getAsString();
  6. }
  7. /**
  8. * Render the given HttpException.
  9. *
  1. protected function renderExceptionContent(Throwable $e)
  2. {
  3. try {
  4. return config('app.debug') && app()->has(ExceptionRenderer::class)
  5. ? $this->renderExceptionWithCustomRenderer($e)
  6. : $this->renderExceptionWithSymfony($e, config('app.debug'));
  7. } catch (Throwable $e) {
  8. return $this->renderExceptionWithSymfony($e, config('app.debug'));
  9. }
  10. }
  1. * @return \Symfony\Component\HttpFoundation\Response
  2. */
  3. protected function convertExceptionToResponse(Throwable $e)
  4. {
  5. return new SymfonyResponse(
  6. $this->renderExceptionContent($e),
  7. $this->isHttpException($e) ? $e->getStatusCode() : 500,
  8. $this->isHttpException($e) ? $e->getHeaders() : []
  9. );
  10. }
  1. * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
  2. */
  3. protected function prepareResponse($request, Throwable $e)
  4. {
  5. if (! $this->isHttpException($e) && config('app.debug')) {
  6. return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e)->prepare($request);
  7. }
  8. if (! $this->isHttpException($e)) {
  9. $e = new HttpException(500, $e->getMessage(), $e);
  10. }
  1. */
  2. protected function renderExceptionResponse($request, Throwable $e)
  3. {
  4. return $this->shouldReturnJson($request, $e)
  5. ? $this->prepareJsonResponse($request, $e)
  6. : $this->prepareResponse($request, $e);
  7. }
  8. /**
  9. * Convert an authentication exception into a response.
  10. *
  1. return match (true) {
  2. $e instanceof HttpResponseException => $e->getResponse(),
  3. $e instanceof AuthenticationException => $this->unauthenticated($request, $e),
  4. $e instanceof ValidationException => $this->convertValidationExceptionToResponse($e, $request),
  5. default => $this->renderExceptionResponse($request, $e),
  6. };
  7. }
  8. /**
  9. * Prepare exception for rendering.
  1. * @param \Throwable $e
  2. * @return void
  3. */
  4. protected function renderHttpResponse(Throwable $e)
  5. {
  6. $this->getExceptionHandler()->render(static::$app['request'], $e)->send();
  7. }
  8. /**
  9. * Handle the PHP shutdown event.
  10. *
  1. if ($exceptionHandlerFailed ?? false) {
  2. exit(1);
  3. }
  4. } else {
  5. $this->renderHttpResponse($e);
  6. }
  7. }
  8. /**
  9. * Render an exception to the console.
  1. * @return callable
  2. */
  3. protected function forwardsTo($method)
  4. {
  5. return fn (...$arguments) => static::$app
  6. ? $this->{$method}(...$arguments)
  7. : false;
  8. }
  9. /**
  10. * Determine if the error level is a deprecation.
HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(object(ErrorException))

Stack Trace

ErrorException
ErrorException:
include(assets/js/exception.js): Failed to open stream: No such file or directory

  at /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'include(assets/js/exception.js): Failed to open stream: No such file or directory', '/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 339)
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:255)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(2, 'include(assets/js/exception.js): Failed to open stream: No such file or directory', '/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 339)
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339)
  at include('/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php')
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include('assets/js/exception.js')
     (/htdocs/vendor/symfony/error-handler/Resources/views/exception_full.html.php:38)
  at include('/htdocs/vendor/symfony/error-handler/Resources/views/exception_full.html.php')
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include('views/exception_full.html.php', array('exception' => object(FlattenException), 'exceptionMessage' => 'include(assets/js/exception.js): Failed to open stream: No such file or directory', 'statusText' => 'Internal Server Error', 'statusCode' => '500', 'logger' => null, 'currentContent' => ''))
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:138)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->renderException(object(FlattenException))
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:70)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->render(object(FlattenException))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:708)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithSymfony(object(ErrorException), true)
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:680)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(ErrorException))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:663)
  at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(ErrorException))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:642)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(ErrorException))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:556)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(ErrorException))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:473)
  at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(ErrorException))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:218)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(object(ErrorException))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:195)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(object(ErrorException))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:255)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(object(ErrorException))                

Symfony Exception

FatalError

HTTP 500 Internal Server Error

Uncaught ErrorException: include(assets/js/exception.js): Failed to open stream: No such file or directory in /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339
Stack trace:
#0 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'include(assets/...', '/htdocs/vendor/...', 339)
#1 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(2, 'include(assets/...', '/htdocs/vendor/...', 339)
#2 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): include('/htdocs/vendor/...')
#3 /htdocs/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include('assets/js/excep...')
#4 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): include('/htdocs/vendor/...')
#5 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(138): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include('views/exception...', Array)
#6 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(70): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->renderException(Object(Symfony\Component\ErrorHandler\Exception\FlattenException))
#7 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(708): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->render(Object(Symfony\Component\ErrorHandler\Exception\FlattenException))
#8 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(682): Illuminate\Foundation\Exceptions\Handler->renderExceptionWithSymfony(Object(ErrorException), true)
#9 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(663): Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(Object(ErrorException))
#10 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(642): Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(Object(ErrorException))
#11 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(556): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(ErrorException))
#12 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(473): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(Object(Illuminate\Http\Request), Object(ErrorException))
#13 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(218): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(ErrorException))
#14 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(195): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(ErrorException))
#15 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(ErrorException))
#16 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(Object(ErrorException))
#17 {main}
thrown

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

Show exception properties
Symfony\Component\ErrorHandler\Error\FatalError {#92
  -error: array:4 [
    "type" => 1
    "message" => """
      Uncaught ErrorException: include(assets/js/exception.js): Failed to open stream: No such file or directory in /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339\n
      Stack trace:\n
      #0 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'include(assets/...', '/htdocs/vendor/...', 339)\n
      #1 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(2, 'include(assets/...', '/htdocs/vendor/...', 339)\n
      #2 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): include('/htdocs/vendor/...')\n
      #3 /htdocs/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include('assets/js/excep...')\n
      #4 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): include('/htdocs/vendor/...')\n
      #5 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(138): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include('views/exception...', Array)\n
      #6 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(70): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->renderException(Object(Symfony\Component\ErrorHandler\Exception\FlattenException))\n
      #7 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(708): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->render(Object(Symfony\Component\ErrorHandler\Exception\FlattenException))\n
      #8 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(682): Illuminate\Foundation\Exceptions\Handler->renderExceptionWithSymfony(Object(ErrorException), true)\n
      #9 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(663): Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(Object(ErrorException))\n
      #10 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(642): Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(Object(ErrorException))\n
      #11 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(556): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(ErrorException))\n
      #12 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(473): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(Object(Illuminate\Http\Request), Object(ErrorException))\n
      #13 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(218): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(ErrorException))\n
      #14 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(195): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(ErrorException))\n
      #15 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(ErrorException))\n
      #16 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(Object(ErrorException))\n
      #17 {main}\n
        thrown
      """
    "file" => "/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php"
    "line" => 339
  ]
}
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Uncaught ErrorException: include(assets/js/exception.js): Failed to open stream: No such file or directory in /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339
Stack trace:
#0 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'include(assets/...', '/htdocs/vendor/...', 339)
#1 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(2, 'include(assets/...', '/htdocs/vendor/...', 339)
#2 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): include('/htdocs/vendor/...')
#3 /htdocs/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include('assets/js/excep...')
#4 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): include('/htdocs/vendor/...')
#5 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(138): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include('views/exception...', Array)
#6 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(70): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->renderException(Object(Symfony\Component\ErrorHandler\Exception\FlattenException))
#7 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(708): Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->render(Object(Symfony\Component\ErrorHandler\Exception\FlattenException))
#8 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(682): Illuminate\Foundation\Exceptions\Handler->renderExceptionWithSymfony(Object(ErrorException), true)
#9 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(663): Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(Object(ErrorException))
#10 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(642): Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(Object(ErrorException))
#11 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(556): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(ErrorException))
#12 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(473): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(Object(Illuminate\Http\Request), Object(ErrorException))
#13 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(218): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(ErrorException))
#14 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(195): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(ErrorException))
#15 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(ErrorException))
#16 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(Object(ErrorException))
#17 {main}
  thrown

  at /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339                

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

include(assets/js/exception.js): Failed to open stream: No such file or directory

Exception

ErrorException

Show exception properties
ErrorException {#94
  #severity: E_WARNING
}
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. * @return callable
  2. */
  3. protected function forwardsTo($method)
  4. {
  5. return fn (...$arguments) => static::$app
  6. ? $this->{$method}(...$arguments)
  7. : false;
  8. }
  9. /**
  10. * Determine if the error level is a deprecation.
in /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php -> Illuminate\Foundation\Bootstrap\{closure} (line 339)
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. <?php } ?>
  2. <?= $this->include('views/exception.html.php', $context); ?>
  3. <script>
  4. <?= $this->include('assets/js/exception.js'); ?>
  5. </script>
  6. </body>
  7. </html>
  8. <!-- <?= $_message; ?> -->
  1. private function include(string $name, array $context = []): string
  2. {
  3. extract($context, \EXTR_SKIP);
  4. ob_start();
  5. include is_file(\dirname(__DIR__).'/Resources/'.$name) ? \dirname(__DIR__).'/Resources/'.$name : $name;
  6. return trim(ob_get_clean());
  7. }
  8. /**
  1. ]);
  2. }
  3. $exceptionMessage = $this->escape($exception->getMessage());
  4. return $this->include($debugTemplate, [
  5. 'exception' => $exception,
  6. 'exceptionMessage' => $exceptionMessage,
  7. 'statusText' => $statusText,
  8. 'statusCode' => $statusCode,
  9. 'logger' => null !== $this->logger && class_exists(DebugLoggerConfigurator::class) ? DebugLoggerConfigurator::getDebugLogger($this->logger) : null,
  1. $headers['X-Debug-Exception-File'] = rawurlencode($exception->getFile()).':'.$exception->getLine();
  2. }
  3. $exception = FlattenException::createWithDataRepresentation($exception, null, $headers);
  4. return $exception->setAsString($this->renderException($exception));
  5. }
  6. /**
  7. * Gets the HTML content associated with the given exception.
  8. */
  1. */
  2. protected function renderExceptionWithSymfony(Throwable $e, $debug)
  3. {
  4. $renderer = new HtmlErrorRenderer($debug);
  5. return $renderer->render($e)->getAsString();
  6. }
  7. /**
  8. * Render the given HttpException.
  9. *
  1. protected function renderExceptionContent(Throwable $e)
  2. {
  3. try {
  4. return config('app.debug') && app()->has(ExceptionRenderer::class)
  5. ? $this->renderExceptionWithCustomRenderer($e)
  6. : $this->renderExceptionWithSymfony($e, config('app.debug'));
  7. } catch (Throwable $e) {
  8. return $this->renderExceptionWithSymfony($e, config('app.debug'));
  9. }
  10. }
  1. * @return \Symfony\Component\HttpFoundation\Response
  2. */
  3. protected function convertExceptionToResponse(Throwable $e)
  4. {
  5. return new SymfonyResponse(
  6. $this->renderExceptionContent($e),
  7. $this->isHttpException($e) ? $e->getStatusCode() : 500,
  8. $this->isHttpException($e) ? $e->getHeaders() : []
  9. );
  10. }
  1. * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse
  2. */
  3. protected function prepareResponse($request, Throwable $e)
  4. {
  5. if (! $this->isHttpException($e) && config('app.debug')) {
  6. return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e)->prepare($request);
  7. }
  8. if (! $this->isHttpException($e)) {
  9. $e = new HttpException(500, $e->getMessage(), $e);
  10. }
  1. */
  2. protected function renderExceptionResponse($request, Throwable $e)
  3. {
  4. return $this->shouldReturnJson($request, $e)
  5. ? $this->prepareJsonResponse($request, $e)
  6. : $this->prepareResponse($request, $e);
  7. }
  8. /**
  9. * Convert an authentication exception into a response.
  10. *
  1. return match (true) {
  2. $e instanceof HttpResponseException => $e->getResponse(),
  3. $e instanceof AuthenticationException => $this->unauthenticated($request, $e),
  4. $e instanceof ValidationException => $this->convertValidationExceptionToResponse($e, $request),
  5. default => $this->renderExceptionResponse($request, $e),
  6. };
  7. }
  8. /**
  9. * Prepare exception for rendering.
  1. * @param \Throwable $e
  2. * @return void
  3. */
  4. protected function renderHttpResponse(Throwable $e)
  5. {
  6. $this->getExceptionHandler()->render(static::$app['request'], $e)->send();
  7. }
  8. /**
  9. * Handle the PHP shutdown event.
  10. *
  1. if ($exceptionHandlerFailed ?? false) {
  2. exit(1);
  3. }
  4. } else {
  5. $this->renderHttpResponse($e);
  6. }
  7. }
  8. /**
  9. * Render an exception to the console.
  1. public function handleShutdown()
  2. {
  3. self::$reservedMemory = null;
  4. if (! is_null($error = error_get_last()) && $this->isFatal($error['type'])) {
  5. $this->handleException($this->fatalErrorFromPhpError($error, 0));
  6. }
  7. }
  8. /**
  9. * Create a new fatal error instance from an error array.
  1. * @return callable
  2. */
  3. protected function forwardsTo($method)
  4. {
  5. return fn (...$arguments) => static::$app
  6. ? $this->{$method}(...$arguments)
  7. : false;
  8. }
  9. /**
  10. * Determine if the error level is a deprecation.
HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()

Stack Trace

ErrorException
ErrorException:
include(assets/js/exception.js): Failed to open stream: No such file or directory

  at /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'include(assets/js/exception.js): Failed to open stream: No such file or directory', '/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 339)
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:255)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}(2, 'include(assets/js/exception.js): Failed to open stream: No such file or directory', '/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php', 339)
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339)
  at include('/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php')
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include('assets/js/exception.js')
     (/htdocs/vendor/symfony/error-handler/Resources/views/exception_full.html.php:38)
  at include('/htdocs/vendor/symfony/error-handler/Resources/views/exception_full.html.php')
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->include('views/exception_full.html.php', array('exception' => object(FlattenException), 'exceptionMessage' => 'Uncaught ErrorException: include(assets/js/exception.js): Failed to open stream: No such file or directory in /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:339Stack trace:#0 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions-&gt;handleError(2, \'include(assets/...\', \'/htdocs/vendor/...\', 339)#1 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): Illuminate\\Foundation\\Bootstrap\\HandleExceptions-&gt;Illuminate\\Foundation\\Bootstrap\\{closure}(2, \'include(assets/...\', \'/htdocs/vendor/...\', 339)#2 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): include(\'/htdocs/vendor/...\')#3 /htdocs/vendor/symfony/error-handler/Resources/views/exception_full.html.php(38): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer-&gt;include(\'assets/js/excep...\')#4 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(339): include(\'/htdocs/vendor/...\')#5 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(138): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer-&gt;include(\'views/exception...\', Array)#6 /htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php(70): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer-&gt;renderException(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#7 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(708): Symfony\\Component\\ErrorHandler\\ErrorRenderer\\HtmlErrorRenderer-&gt;render(Object(Symfony\\Component\\ErrorHandler\\Exception\\FlattenException))#8 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(682): Illuminate\\Foundation\\Exceptions\\Handler-&gt;renderExceptionWithSymfony(Object(ErrorException), true)#9 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(663): Illuminate\\Foundation\\Exceptions\\Handler-&gt;renderExceptionContent(Object(ErrorException))#10 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(642): Illuminate\\Foundation\\Exceptions\\Handler-&gt;convertExceptionToResponse(Object(ErrorException))#11 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(556): Illuminate\\Foundation\\Exceptions\\Handler-&gt;prepareResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#12 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(473): Illuminate\\Foundation\\Exceptions\\Handler-&gt;renderExceptionResponse(Object(Illuminate\\Http\\Request), Object(ErrorException))#13 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(218): Illuminate\\Foundation\\Exceptions\\Handler-&gt;render(Object(Illuminate\\Http\\Request), Object(ErrorException))#14 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(195): Illuminate\\Foundation\\Bootstrap\\HandleExceptions-&gt;renderHttpResponse(Object(ErrorException))#15 /htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions-&gt;handleException(Object(ErrorException))#16 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions-&gt;Illuminate\\Foundation\\Bootstrap\\{closure}(Object(ErrorException))#17 {main}  thrown', 'statusText' => 'Internal Server Error', 'statusCode' => '500', 'logger' => null, 'currentContent' => ''))
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:138)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->renderException(object(FlattenException))
     (/htdocs/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php:70)
  at Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer->render(object(FlattenException))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:708)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionWithSymfony(object(FatalError), true)
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:680)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionContent(object(FatalError))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:663)
  at Illuminate\Foundation\Exceptions\Handler->convertExceptionToResponse(object(FatalError))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:642)
  at Illuminate\Foundation\Exceptions\Handler->prepareResponse(object(Request), object(FatalError))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:556)
  at Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(object(Request), object(FatalError))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:473)
  at Illuminate\Foundation\Exceptions\Handler->render(object(Request), object(FatalError))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:218)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(object(FatalError))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:195)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(object(FatalError))
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:231)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
     (/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:255)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()