Unhandled Exception

Message:

Error rendering view: [front.partials.alerts]

Trying to get property of non-object

Location:

/var/www/vhosts/acucomm.net/httpdocs/application/views/front/partials/alerts.php on line 31

Stack Trace:

#0 /var/www/vhosts/acucomm.net/httpdocs/laravel/laravel.php(40): Laravel\Error::native(8, 'Trying to get p...', '/var/www/vhosts...', 31)
#1 /var/www/vhosts/acucomm.net/httpdocs/laravel/view.php(366) : eval()'d code(31): Laravel\{closure}(8, 'Trying to get p...', '/var/www/vhosts...', 31, Array)
#2 /var/www/vhosts/acucomm.net/httpdocs/laravel/view.php(366): eval()
#3 /var/www/vhosts/acucomm.net/httpdocs/laravel/view.php(342): Laravel\View->get()
#4 /var/www/vhosts/acucomm.net/httpdocs/laravel/view.php(570): Laravel\View->render()
#5 /var/www/vhosts/acucomm.net/httpdocs/laravel/response.php(246): Laravel\View->__toString()
#6 /var/www/vhosts/acucomm.net/httpdocs/laravel/laravel.php(178): Laravel\Response->render()
#7 /var/www/vhosts/acucomm.net/httpdocs/public/index.php(34): require('/var/www/vhosts...')
#8 {main}