fedyakin_d: Блог

Главные вкладки

Ошибка PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'id' cannot be null:

22 марта 2013 в 14:02

Что означает эта ошибка?

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'id' cannot be null: INSERT INTO {file_usage} (fid, module, type, id, count) VALUES (b_insert_placeholder_0, b_insert_placeholder_1, b_insert_placeholder_2, b_insert_placeholder_3, b_insert_placeholder_4); Array ( [b_insert_placeholder_0] => 242 [b_insert_placeholder_1] => file [b_insert_placeholder_2] => node [b_insert_placeholder_3] => [b_insert_placeholder_4] => 1 ) в функции file_usage_add() (строка 661 в файле /home/dima/data/www/knijky.ru/includes/file.inc).