tried putting data in database

there is an error popping up ! tried to fix. Doing it right now also!
hoping to get a positive result soon