Getting below error, please suggest:
DB Error #1062
[INSERT INTO ost_config
SET namespace
= 'core', key
= 'client_avatar', value
= 'gravatar.mm', updated
= NOW()]
Entrada '0' duplicada para a chave 'PRIMARY'<br />
<br />
---- Backtrace ----<br />
#0 D:\filesdirectory\include\mysqli.php(201): osTicket->logDBError('DB Error #1062', '[INSERT INTO o...')<br />
os...', true, true)<br />
#1 D:\filesdirectory\include\class.orm.php(3466): db_query('INSERT INTO
#2 D:\filesdirectory\include\class.orm.php(658): MySqlExecutor->execute()<br />
#3 D:\filesdirectory\include\class.config.php(173): VerySimpleModel->save(true)<br />
#4 D:\filesdirectory\include\class.config.php(106): ConfigItem->save()<br />
#5 D:\filesdirectory\include\class.config.php(116): Config->create('client_avatar', 'gravatar.mm')<br />
#6 D:\filesdirectory\include\class.config.php(132): Config->update('client_avatar', 'gravatar.mm')<br />
#7 D:\filesdirectory\include\class.config.php(1360): Config->updateAll(Array)<br />
#8 D:\filesdirectory\include\class.config.php(1208): OsticketConfig->updateUsersSettings(Array, Array)<br />
#9 D:\filesdirectory\scp\settings.php(42): OsticketConfig->updateSettings(Array, Array)<br />
#10 {main}
DB Error #1062
[INSERT INTO ost_ticket
SET created
= NOW(), lastupdate
= NOW(), number
= '100225', user_id
= 81, dept_id
= 1, topic_id
= 10, ip_address
= 'xxx.xxx.xxx.xxx', source
= 'Web', updated
= NOW()]
Entrada '0' duplicada para a chave 'PRIMARY'<br />
<br />
---- Backtrace ----<br />
#0 D:\filesdirectory\include\mysqli.php(201): osTicket->logDBError('DB Error #1062', '[INSERT INTO o...')<br />
os...', true, true)<br />
#1 D:\filesdirectory\include\class.orm.php(3466): db_query('INSERT INTO
#2 D:\filesdirectory\include\class.orm.php(658): MySqlExecutor->execute()<br />
#3 D:\filesdirectory\include\class.ticket.php(3637): VerySimpleModel->save(true)<br />
#4 D:\filesdirectory\include\class.ticket.php(4322): Ticket->save()<br />
#5 D:\filesdirectory\open.php(45): Ticket::create(Array, Array, 'Web')<br />
#6 {main}
DB Error #1062
[INSERT INTO ost_draft
SET namespace
= 'ticket.response.783', body
= '<p><br></p>', created
= NOW(), staff_id
= 3]
Entrada '0' duplicada para a chave 'PRIMARY'<br />
<br />
---- Backtrace ----<br />
#0 D:\filesdirectory\include\mysqli.php(201): osTicket->logDBError('DB Error #1062', '[INSERT INTO o...')<br />
os...', true, true)<br />
#1 D:\filesdirectory\include\class.orm.php(3466): db_query('INSERT INTO
#2 D:\filesdirectory\include\class.orm.php(658): MySqlExecutor->execute()<br />
#3 D:\filesdirectory\include\class.draft.php(140): VerySimpleModel->save(false)<br />
#4 D:\filesdirectory\include\ajax.draft.php(16): Draft->save()<br />
#5 D:\filesdirectory\include\ajax.draft.php(261): DraftAjaxAPI->_createDraft(Array)<br />
#6 [internal function]: DraftAjaxAPI->createDraft('ticket.response...')<br />
#7 D:\filesdirectory\include\class.dispatcher.php(145): call_user_func_array(Array, Array)<br />
#8 D:\filesdirectory\include\class.dispatcher.php(38): UrlMatcher->dispatch('ticket.response...', Array)<br />
#9 D:\filesdirectory\include\class.dispatcher.php(120): Dispatcher->resolve('ticket.response...', Array)<br />
#10 D:\filesdirectory\include\class.dispatcher.php(38): UrlMatcher->dispatch('/draft/ticket.r...', NULL)<br />
#11 D:\filesdirectory\scp\ajax.php(314): Dispatcher->resolve('/draft/ticket.r...')<br />
#12 {main}
DB Error #1062
[INSERT INTO ost_thread_entry
SET created
= NOW(), type
= 'R', thread_id
= 1030, format
= 'html', staff_id
= 3, poster
= 'Daniel', flags
= 576, recipients
= '{\"to\":{\"80\":\"Taris xxxxxxxxx@gmail.com\"}}', pid
= 3481, ip_address
= 'xxxxxxxxxxx', body
= '<p>Atualização feita. </p>']
Entrada '0' duplicada para a chave 'PRIMARY'<br />
<br />
---- Backtrace ----<br />
#0 D:\filesdirectory\include\mysqli.php(201): osTicket->logDBError('DB Error #1062', '[INSERT INTO o...')<br />
os...', true, true)<br />
#1 D:\filesdirectory\include\class.orm.php(3466): db_query('INSERT INTO
#2 D:\filesdirectory\include\class.orm.php(658): MySqlExecutor->execute()<br />
#3 D:\filesdirectory\include\class.thread.php(1794): VerySimpleModel->save(true)<br />
#4 D:\filesdirectory\include\class.thread.php(1810): ThreadEntry::create(Array)<br />
#5 D:\filesdirectory\include\class.thread.php(2984): ThreadEntry::add(Array)<br />
#6 D:\filesdirectory\include\class.thread.php(3167): ResponseThreadEntry::add(Array, Array)<br />
#7 D:\filesdirectory\include\class.ticket.php(3330): ObjectThread->addResponse(Array, Array)<br />
#8 D:\filesdirectory\scp\tickets.php(214): Ticket->postReply(Array, Array, 13)<br />
#9 {main}
DB Error #1062
[INSERT INTO ost_config
SET namespace
= 'core', key
= 'client_avatar', value
= 'gravatar.mm', updated
= NOW()]
Entrada '0' duplicada para a chave 'PRIMARY'<br />
<br />
---- Backtrace ----<br />
#0 D:\filesdirectory\include\mysqli.php(201): osTicket->logDBError('DB Error #1062', '[INSERT INTO o...')<br />
os...', true, true)<br />
#1 D:\filesdirectory\include\class.orm.php(3466): db_query('INSERT INTO
#2 D:\filesdirectory\include\class.orm.php(658): MySqlExecutor->execute()<br />
#3 D:\filesdirectory\include\class.config.php(173): VerySimpleModel->save(true)<br />
#4 D:\filesdirectory\include\class.config.php(106): ConfigItem->save()<br />
#5 D:\filesdirectory\include\class.config.php(116): Config->create('client_avatar', 'gravatar.mm')<br />
#6 D:\filesdirectory\include\class.config.php(132): Config->update('client_avatar', 'gravatar.mm')<br />
#7 D:\filesdirectory\include\class.config.php(1360): Config->updateAll(Array)<br />
#8 D:\filesdirectory\include\class.config.php(1208): OsticketConfig->updateUsersSettings(Array, Array)<br />
#9 D:\filesdirectory\scp\settings.php(42): OsticketConfig->updateSettings(Array, Array)<br />
#10 {main}
DB Error #1062
[INSERT INTO ost_config
SET namespace
= 'core', key
= 'client_avatar', value
= 'gravatar.mm', updated
= NOW()]
Entrada '0' duplicada para a chave 'PRIMARY'<br />
<br />
---- Backtrace ----<br />
#0 D:\filesdirectory\include\mysqli.php(201): osTicket->logDBError('DB Error #1062', '[INSERT INTO o...')<br />
os...', true, true)<br />
#1 D:\filesdirectory\include\class.orm.php(3466): db_query('INSERT INTO
#2 D:\filesdirectory\include\class.orm.php(658): MySqlExecutor->execute()<br />
#3 D:\filesdirectory\include\class.config.php(173): VerySimpleModel->save(true)<br />
#4 D:\filesdirectory\include\class.config.php(106): ConfigItem->save()<br />
#5 D:\filesdirectory\include\class.config.php(116): Config->create('client_avatar', 'gravatar.mm')<br />
#6 D:\filesdirectory\include\class.config.php(132): Config->update('client_avatar', 'gravatar.mm')<br />
#7 D:\filesdirectory\include\class.config.php(1360): Config->updateAll(Array)<br />
#8 D:\filesdirectory\include\class.config.php(1208): OsticketConfig->updateUsersSettings(Array, Array)<br />
#9 D:\filesdirectory\scp\settings.php(42): OsticketConfig->updateSettings(Array, Array)<br />
#10 {main}