Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

sujancse's avatar

@yansusanto you were suggested to use LIKE operator for first_name and last_name as they are string. You are not getting any match that is why you are getting the error. In order to ignore this use

isset($post->user->fullname) ? $post->user->fullname : '';

In your blade and close the issue.

For new question please open a new discussion.

Previous

Please or to participate in this conversation.