lundi 19 décembre 2016

Trying to get property of non-object error but works when page is refreshed

I get the error in the title sometimes but when I refresh a few times, my application works again.

Laravel.log shows this:

[2016-12-19 13:17:22] local.ERROR: exception 'ErrorException' with message 'Trying to get property of non-object' in

storage\framework\views\e81b4a67320194ba9a4782ec91b02d51:12

storage/framework/views/e81b4a67320194ba9a4782ec91b02d51.php line 12:

<span class="block m-t-xs">
    <strong class="font-bold"><?php echo e(Auth::user()->name); ?></strong> <!--line 12-->
</span>



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire