are you including the User model at the top? if not try adding it in i.e.
or try doing new \Article(...) //notice a back slash /
It sounds as though Auth::user() is returning null.
Make sure you import the class. use Auth;
Make sure you are authenticated.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us