Jump to content

[SOLVED] After login error: Trying to get property of non-object (View: /var/www/html/phpvms/resources/views/layouts/default/home.blade.php)


xavierm

Recommended Posts

Hi i just installed phpVMS on my private server.   I didnt get any issue when installing but when i tried to log in right after the installation i get this error:

ErrorException thrown with message "Trying to get property of non-object (View: /var/www/html/phpvms/resources/views/layouts/default/home.blade.php)"

Here is the highlighted line 29

<h2 class="description text-white"><?php echo $user->home_airport->icao; ?></h2>

here's my server config:

Apache/2.4.18 (Ubuntu)

Mysql: 5.7.21-0ubuntu0.16.04.1 - (Ubuntu)

PHP version: 7.1.14-1+ubuntu16.04.1+deb.sury.org+1

Link to comment
Share on other sites

  • xavierm changed the title to [SOLVED] After login error: Trying to get property of non-object (View: /var/www/html/phpvms/resources/views/layouts/default/home.blade.php)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...