xxxxxxxxxx
$posts = User::find(Auth::user()->id)->favorite_posts();// Attempt to read property "title" on bool
// Add: ->get();
$posts = User::find(Auth::user()->id)->favorite_posts()->get();
xxxxxxxxxx
$employees = Employees::findOrFail($id);
//Since you are fetching one record from Employee model.So it return single object.