I have this problem, I am trying to register with auth but I keep seeing this error Trying to get property 'name' of non-object
     <div class="wrapper" id="app">
            <div class="sidebar">
<!--Tip 1: You can change the color of the sidebar using: data-color="purple | blue | green | orange | red"
Tip 2: you can also add an image using data-image tag-->
<div class="sidebar-wrapper">
     <div class="logo">
          <a href="http://www.creative-tim.com" class="simple-text">
                    <?php echo e(Auth::user()->name); ?>
                        </a>
                    </div>
                    <ul class="nav">
                        <li class="nav-item active">
                            <a class="nav-link" href="dashboard.html">
                                <i class="nc-icon nc-chart-pie-35"></i>
                                <p>Dashboard</p>
                            </a>
                        </li>
                        <li>
                            <a class="nav-link" href="./user.html">
                                <i class="nc-icon nc-circle-09"></i>
Trying to get property 'name' of non-object
 
     
     
    