Оно само! Выдаёт при попытке отправить комент. Пробовал с разных устройств.
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON DUPLICATE KEY UPDATE `last_time` = '2017-10-06 20:13:38'' at line 3. Failing Query: "INSERT INTO `personal_discussion` (`post_id`,`user_id` , `last_time`) VALUES ON DUPLICATE KEY UPDATE `last_time` = '2017-10-06 20:13:38' "