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