string(107) "INSERT INTO search (search,ip) VALUES ('RPV','916403062') ON DUPLICATE KEY UPDATE created=CURRENT_TIMESTAMP" Invalid query: Duplicate entry '397232' for key 'PRIMARY'