henryoladj
1 week ago
211
50
Laravel

Trying to get tags associated to a post

Posted 1 week ago by henryoladj

i am trying to show the category associated with the post i made but it is giving Trying to get property 'name' of non-object

[{{$news->tags->name}}]

Please sign in or create an account to participate in this conversation.