xavierm Posted February 18, 2018 Report Posted February 18, 2018 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 Quote
xavierm Posted February 20, 2018 Author Report Posted February 20, 2018 ok I change the code for <h4 class="">{!! $user->curr_airport_id !!}</h4> and seem to work well! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.