CRM / Не объединяются контакты На рассмотрении

2

Попытался объединить контакты, выдало ошибку в error.log 

2020-05-29 11:49:27 176.14.117.149 webasyst/crm/?module=contact&action=mergeRun POST array(  'master_id' => '13346',  'slave_ids' => array(    0 => '13346',    1 => '24561',  ),  'processId' => '5ed0cc8ad2af4', ) Uncaught exception waException: No contact to merge into. (500) ## wa-apps/crm/lib/classes/contact/crmContactsMerger.class.php(118) #0 wa-apps/crm/lib/classes/contact/crmContactsMerger.class.php(76): crmContactsMerger->merge(0, Array) #1 wa-apps/crm/lib/actions/contact/merge/crmContactMergeRun.controller.php(112): crmContactsMerger->mergeChunk(100) #2 wa-system/controller/waLongActionController.class.php(321): crmContactMergeRunController->step() #3 wa-system/controller/waController.class.php(21): waLongActionController->execute() #4 wa-system/controller/waFrontController.class.php(263): waController->run(NULL) #5 wa-apps/crm/lib/classes/crmFrontController.class.php(49): waFrontController->runController(Object(crmContactMergeRunController), NULL) #6 wa-system/controller/waFrontController.class.php(190): crmFrontController->runController(Object(crmContactMergeRunController), NULL) #7 wa-system/controller/waFrontController.class.php(84): waFrontController->execute(NULL, 'contact', 'mergeRun') #8 wa-apps/crm/lib/classes/crmFrontController.class.php(29): waFrontController->dispatch() #9 wa-system/waSystem.class.php(741): crmFrontController->dispatch() #10 wa-system/waSystem.class.php(613): waSystem->dispatchBackend('webasyst/crm/') #11 index.php(7): waSystem->dispatch() #12 {main}

вот db.log

2020-05-29 11:50:05 85.30.248.235 Query Error 1054: Unknown column 'company_id' in 'field list' Query: SELECT `company_id` FROM `crm_notification` WHERE 0 ## wa-system/database/waModel.class.php(266) #0 wa-system/database/waModel.class.php(366): waModel->run('SELECT `company...') #1 wa-apps/crm/lib/updates/1.4/1574841235.php(6): waModel->query('SELECT `company...') #2 wa-system/config/waAppConfig.class.php(418): include('/var/www/admin/...') #3 wa-system/config/waAppConfig.class.php(368): waAppConfig->includeUpdate('/var/www/admin/...') #4 wa-system/waSystem.class.php(101): waAppConfig->checkUpdates() #5 wa-system/waSystem.class.php(1769): waSystem::getInstance('crm', Object(crmConfig), false) #6 wa-system/event/waEvent.class.php(361): wa('crm') #7 wa-system/event/waEvent.class.php(680): waEvent->setPlugins() #8 wa-system/event/waEvent.class.php(519): waEvent->getPlugins() #9 wa-system/event/waEvent.class.php(340): waEvent->parsePluginsHandlers() #10 wa-system/event/waEvent.class.php(302): waEvent->setHandlers() #11 wa-system/event/waEvent.class.php(50): waEvent->setStaticData() #12 wa-system/waSystem.class.php(1707): waEvent->run(Array) #13 wa-apps/shop/lib/config/shopConfig.class.php(34): waSystem->event('backend_rights', Array) #14 wa-system/controller/waFrontController.class.php(149): shopConfig->checkRights('orders', 'loadList') #15 wa-system/controller/waFrontController.class.php(84): waFrontController->execute(NULL, 'orders', 'loadList') #16 wa-system/waSystem.class.php(741): waFrontController->dispatch() #17 wa-system/waSystem.class.php(613): waSystem->dispatchBackend('webasyst/shop/') #18 index.php(7): waSystem->dispatch() #19 {main}

Обновил CRM, после объединения ошибку не выдает , но контакты не объединились

2020-05-29 11:51:42 176.14.117.149 No contact to merge into. #0 /var/www/admin/data/www/sport-dealer.ru/wa-apps/crm/lib/classes/contact/crmContactsMerger.class.php(77): crmContactsMerger->merge(0, Array) #1 /var/www/admin/data/www/sport-dealer.ru/wa-apps/crm/lib/actions/contact/merge/crmContactMergeRun.controller.php(121): crmContactsMerger->mergeChunk(100) #2 /var/www/admin/data/www/sport-dealer.ru/wa-system/controller/waLongActionController.class.php(321): crmContactMergeRunController->step() #3 /var/www/admin/data/www/sport-dealer.ru/wa-system/controller/waController.class.php(21): waLongActionController->execute() #4 /var/www/admin/data/www/sport-dealer.ru/wa-system/controller/waFrontController.class.php(263): waController->run(NULL) #5 /var/www/admin/data/www/sport-dealer.ru/wa-apps/crm/lib/classes/crmFrontController.class.php(49): waFrontController->runController(Object(crmContactMergeRunController), NULL) #6 /var/www/admin/data/www/sport-dealer.ru/wa-system/controller/waFrontController.class.php(190): crmFrontController->runController(Object(crmContactMergeRunController), NULL) #7 /var/www/admin/data/www/sport-dealer.ru/wa-system/controller/waFrontController.class.php(84): waFrontController->execute(NULL, 'contact', 'mergeRun') #8 /var/www/admin/data/www/sport-dealer.ru/wa-apps/crm/lib/classes/crmFrontController.class.php(29): waFrontController->dispatch() #9 /var/www/admin/data/www/sport-dealer.ru/wa-system/waSystem.class.php(741): crmFrontController->dispatch() #10 /var/www/admin/data/www/sport-dealer.ru/wa-system/waSystem.class.php(613): waSystem->dispatchBackend('webasyst/crm/') #11 /var/www/admin/data/www/sport-dealer.ru/index.php(7): waSystem->dispatch() #12 {main}  2020-05-29 11:51:42 176.14.117.149 array (  '$this->data' =>   array (    'slave_ids' =>     array (      1 => 24561,    ),    'master_id' => 13346,    'fails_count' => 5,  ), )

2020-05-29 11:50:05 176.14.117.149 Query Error 1060: Duplicate column name 'company_id' Query: ALTER TABLE `crm_notification` ADD COLUMN `company_id` INT(11) NULL DEFAULT NULL ## wa-system/database/waModel.class.php(266) #0 wa-system/database/waModel.class.php(321): waModel->run('ALTER TABLE `cr...') #1 wa-apps/crm/lib/updates/1.4/1574841235.php(8): waModel->exec('ALTER TABLE `cr...') #2 wa-system/config/waAppConfig.class.php(418): include('/var/www/admin/...') #3 wa-system/config/waAppConfig.class.php(368): waAppConfig->includeUpdate('/var/www/admin/...') #4 wa-system/waSystem.class.php(101): waAppConfig->checkUpdates() #5 wa-system/waSystem.class.php(1769): waSystem::getInstance('crm', Object(crmConfig), false) #6 wa-system/waSystem.class.php(270): wa('crm') #7 wa-system/config/waSystemConfig.class.php(589): waSystem->getCache('default', 'crm') #8 wa-apps/installer/lib/classes/installerHelper.class.php(95): waSystemConfig->clearCache() #9 wa-apps/installer/lib/actions/update/installerUpdateExecute.controller.php(200): installerHelper::flushCache() #10 wa-apps/installer/lib/actions/update/installerUpdateExecute.controller.php(81): installerUpdateExecuteController->cleanup() #11 wa-system/controller/waController.class.php(21): installerUpdateExecuteController->execute() #12 wa-system/controller/waJsonController.class.php(28): waController->run(NULL) #13 wa-system/controller/waFrontController.class.php(263): waJsonController->run(NULL) #14 wa-system/controller/waFrontController.class.php(190): waFrontController->runController(Object(installerUpdateExecuteController), NULL) #15 wa-system/controller/waFrontController.class.php(84): waFrontController->execute(NULL, 'update', 'execute') #16 wa-apps/installer/lib/classes/installerFrontController.class.php(10): waFrontController->dispatch() #17 wa-system/waSystem.class.php(741): installerFrontController->dispatch() #18 wa-system/waSystem.class.php(613): waSystem->dispatchBackend('webasyst/instal...') #19 index.php(7): waSystem->dispatch() #20 {main}

1 комментарий

Добавить комментарий

Чтобы добавить комментарий, зарегистрируйтесь или войдите