Topic: SQL error after login
Hi
I'm using Drupal 6 and SVN Indicia
When I login to the site, I get a box of green text with 3 items: "Why not tell us the area...", "Your account has been configured so that you will receive email updates..." and
"Array ( [error] => general_errors.Validation error code => 2003 [errors] => Array ( [user_email_notification_setting:general] => There was an SQL error: ERROR: new row for relation "user_email_notification_settings" violates check constraint "chk_notification_source_type" DETAIL: Failing row contains (21, 520, PT, D, 2014-11-29 12:47:02, 520, 2014-11-29 12:47:02, 520, f). - INSERT INTO "user_email_notification_settings" ("created_on", "created_by_id", "updated_on", "updated_by_id", "user_id", "notification_source_type", "notification_frequency") VALUES ('20141129 12:47:02', 520, '20141129 12:47:02', 520, 520, 'PT', 'D') ) )"
Any idea how I can fix that error?
Cheers