we get following message after upgrading to Drupal 7.14. Please help !
Error

The website encountered an unexpected error. Please try again later.
Error message
Notice: Undefined index: uid in dblog_watchdog() (line 143 of /var/www/html/modules/modules/dblog/dblog.module).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'uid' cannot be null: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => [:db_insert_placeholder_1] => user [:db_insert_placeholder_2] => Session opened for %name. [:db_insert_placeholder_3] => a:1:{s:5:"%name";s:5:"freya";} [:db_insert_placeholder_4] => 5 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://mademoisellepia.be/?q=user [:db_insert_placeholder_7] => http://mademoisellepia.be/?q=user [:db_insert_placeholder_8] => 217.21.177.71 [:db_insert_placeholder_9] => 1337950698 ) in dblog_watchdog() (line 154 of /var/www/html/modules/modules/dblog/dblog.module).

Comments

vm’s picture

try clearing the cache tables maually in the DB

if that doesn't work, disable the dblog module by setting its status to 0 in the system table of the database

make sure you take new backups before completing the above steps.

If all else fails, revert to the backup you took before you updated and try again.

hynnot’s picture

I have the same problem...