Database Partial Working

DB working partially, still showing error in  listEvent class