PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: 'WATCHDOG_ERR'

Warning message

JQuery Cycle must be installed in order to run the slideshow. Please go to Status Report for instructions.

Primary tabs

ERROR :  PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: 'WATCHDOG_ERR' for column 'severity' at row 1: 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] => 0 [:db_insert_placeholder_1] => file [:db_insert_placeholder_2] => The specified file %file could not be copied to %destination. [:db_insert_placeholder_3] => a:2:{s:5:"%file";s:22:"temporary://fileITDlue";s:12:"%destination";s:106:"public://ctools/style/mark_style_2/eb2efeab11aa7cc7f24eabe2b2725ea8/rounded-shadow-top-left-corner_185.png";} [:db_insert_placeholder_4] => WATCHDOG_ERR [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://www.something.com/ [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => [:db_insert_placeholder_9] => 1371318512 ) in dblog_watchdog() (line 157 of /var/www/vhosts/something.com/httpdocs/modules/dblog/dblog.module).
The website encountered an unexpected error. Please try again later.​



It is issue from the drupal core :


but it would not cause a malfunction of the whole Drupal.

If you want to repair this, you have to edit the file :

inside, includes / file.inc line 909 WATCHDOG_ERR, you have to replace this with  WATCHDOG_ERROR


You have to apply the patch from above drupal link.