更新记录时,列计数与第 1 行的值计数不匹配

Column count doesn't match value count at row 1 while updating a record

您好,我看到这个问题已经被问到,但每个问题都是在插入过程中被问到的,在我的情况下,我在更新记录时收到了这个错误,无论是从 PHPmyadmin 还是通过我的应用程序,

UPDATE `posr_order` SET `deletion_date_time` = '2015-11-14 12:47:06' WHERE `order_id`='1'  AND `restaurant_id`='2'

这是我用来更新记录的代码。 查询一直成功,但我收到

的错误

Column count doesn't match value count at row 1

谁能告诉我为什么会出现这个错误。

这是我在 php 中遇到的错误

这就是我用 phpmyadmin 得到的

可能是几件事

  1. The value that you are updating the cell to exceeds the column length
  2. There is a trigger that needs to be changed/removed.

希望对您有所帮助。