i don't know happened here, of sudden, out of blue code
return \auth::user(); after loggin user in isn't fetching anything. if echo $id = \auth::user()->id; "errorexception in usercontroller.php line 20: trying property of non-object" error. thing did before happened inserting:
event::listen('illuminate.query', function($query) { var_dump($query); }); in routes display sql queries, , removing doesn't cure.
Comments
Post a Comment