• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Duplicate Elasticsearch indexing failed Elasticsearch error: The bulk request must be terminated by a newline [ ]

Affected version
1.1.7

Nirjonadda

Well-known member
#1
I am getting lot of server error log. Please let me know this fix.


Code:
Error Info
XenForo_Exception: Elasticsearch indexing failed Elasticsearch error: The bulk request must be terminated by a newline [ ] - library/XenES/Search/SourceHandler/ElasticSearch.php:1062
Generated By: prinanad, Today at 12:24 PM
Stack Trace

#0 /home/user/public_html/library/XenES/Search/SourceHandler/ElasticSearch.php(1185): XenES_Search_SourceHandler_ElasticSearch->_logSearchResponseError(Object(stdClass), false, 'Elasticsearch i...')
#1 /home/user/public_html/library/XenES/Search/SourceHandler/ElasticSearch.php(117): XenES_Search_SourceHandler_ElasticSearch->_triggerFailedIndexError(Object(stdClass), Array, true)
#2 /home/user/public_html/library/XenForo/Search/Indexer.php(105): XenES_Search_SourceHandler_ElasticSearch->deleteFromIndex('post', Array)
#3 /home/user/public_html/library/XenForo/Search/DataHandler/Post.php(99): XenForo_Search_Indexer->deleteFromIndex('post', Array)
#4 /home/user/public_html/library/XenForo/Search/DataHandler/Abstract.php(316): XenForo_Search_DataHandler_Post->_deleteFromIndex(Object(XenForo_Search_Indexer), Array)
#5 /home/user/public_html/library/XenForo/DataWriter/Discussion.php(731): XenForo_Search_DataHandler_Abstract->deleteFromIndex(Object(XenForo_Search_Indexer), Array)
#6 /home/user/public_html/library/XenForo/DataWriter/Discussion.php(790): XenForo_DataWriter_Discussion->_deleteFromSearchIndex()
#7 /home/user/public_html/library/XenForo/DataWriter.php(1793): XenForo_DataWriter_Discussion->_postDelete()
#8 /home/user/public_html/library/Bookmarks/XenForo/DataWriter/Discussion/Thread.php(19): XenForo_DataWriter->delete()
#9 /home/user/public_html/library/XenForo/Model/Thread.php(2008): Bookmarks_XenForo_DataWriter_Discussion_Thread->delete()
#10 /home/user/public_html/library/XenForo/ControllerPublic/Thread.php(1314): XenForo_Model_Thread->deleteThread(194620, 'hard', Array)
#11 /home/user/public_html/library/Snog/Applications/ControllerPublic/Thread.php(36): XenForo_ControllerPublic_Thread->actionDelete()
#12 /home/user/public_html/library/XenForo/FrontController.php(369): Snog_Applications_ControllerPublic_Thread->actionDelete()
#13 /home/user/public_html/library/XenForo/FrontController.php(152): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#14 /home/user/public_html/index.php(13): XenForo_FrontController->run()
#15 {main}

Request State

array(3) {
  ["url"] => string(87) "/threads/sri-lankan-hot-model-nishi-samaraweera.194620/delete"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(3) {
    ["hard_delete"] => string(1) "1"
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}