Symfony Exception

ErrorException ViewException ViewException

HTTP 500 Internal Server Error

Attempt to read property "name" on null (View: /var/www/seat/vendor/eveseat/web/src/resources/views/corporation/starbase/summary.blade.php) (View: /var/www/seat/vendor/eveseat/web/src/resources/views/corporation/starbase/summary.blade.php)

Illuminate\View\ ViewException

Show exception properties
0 of 0
Illuminate\View\ViewException {#1528 #severity: E_ERROR }
  1.               <?php endif; ?>
  2.             <?php endif; ?>
  3.           </td>
  4.           <td>
  5.             <b><?php echo e($starbase->moon->name); ?></b>
  6.             <span class="
  7.                 <?php if($starbase->moon->security >= 0.5): ?>
  8.                     text-green
  9.                   <?php elseif($starbase->moon->security 0.5 && $starbase->moon->security 0.0): ?>
  10.                     text-warning
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         // Once we have the path to the compiled file, we will evaluate the paths with
  2.         // typical PHP just like any other templates. We also keep a stack of views
  3.         // which have been rendered for right exception messages to be generated.
  4.         try {
  5.             $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         } catch (ViewException $e) {
  7.             if (! str($e->getMessage())->contains(['No such file or directory''File does not exist at path'])) {
  8.                 throw $e;
  9.             }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *