Hi there!
On my view I have this:
@foreach($get_tracker_data as $get_tracker_data)
<tr>
<td><?php echo $get_tracker_data->neighbourhood;?></td>
<td><?php echo $get_tracker_data->agent_first_name.' '.$get_tracker_data->agent_last_name;?></td>
<td><?php echo $get_tracker_data->add_date;?></td>
</tr>
@endforeach
And I'm getting the error: "Trying to get property of non-object" on the first line in php where I echo.
I did this EXACT same process on another function and view and it worked fine. Thanks.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community