Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What does "Undefined property: Illuminate\Auth\AuthManager::$user" mean in relation to Laravel's "auth()->user()->posts()->create($data)" syntax?