add new points to database

Error thrown

Call to a member function read() on bool