henryoladj
5 months ago
685
50
Laravel

Trying to get tags associated to a post

Posted 5 months 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.