I am getting multiple errors since upgrading our civicrm to the latest version.
When I try to enable debugging i receive db constraint issues and log file shows: Apr 06 11:54:29 [error] $Fatal Error Details = Array ( [callback] => Array ( [0] => CRM_Core_Error [1] => exceptionHandler )
[code] => -3
[message] => DB Error: constraint violation
[mode] => 16
[debug_info] => INSERT INTO civicrm_setting (`component_id`,`contact_id`,`created_date`,`created_id`,`domain_id`,`id`,`is_domain`,`name`,`value`) VALUES
(NULL,NULL,"20210406115429","2","1",NULL,"1","debug_enabled","s:1:"1";")
[nativecode=1048 ** Column 'id' cannot be null]
[type] => DB_Error
[user_info] => INSERT INTO civicrm_setting (component_id
,contact_id
,created_date
,created_id
,domain_id
,id
,is_domain
,name
,value
) VALUES
(NULL,NULL,"20210406115429","2","1",NULL,"1","debug_enabled","s:1:"1";")
[nativecode=1048 ** Column 'id' cannot be null]
[to_string] => [db_error: message="DB Error: constraint violation" code=-3 mode=callback callback=CRM_Core_Error::exceptionHandler prefix="" info="INSERT INTO civicrm_setting (component_id
,contact_id
,created_date
,created_id
,domain_id
,id
,is_domain
,name
,value
) VALUES
(NULL,NULL,"20210406115429","2","1",NULL,"1","debug_enabled","s:1:"1";")
[nativecode=1048 ** Column 'id' cannot be null]"]
)
Also when I click on civicrm in wordpress menu the screen only shows: Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred. DB Error: no such field