changed array("%$memberLastName%", "%$memberFirstName%"); to array("$memberLastName%", "$memberFirstName%")  in getJSONMembersAndPastActivities call