Error while changing thread prefix

tafreehm

Well-known member
I just tried to change Thread prefix. and it shows error when I try to change thread prefix inline from message list temp.

Here is the error message:
Code:
The following error occurred:
Undefined index: post_id
 
    XenForo_Application::handlePhpError() in XenForo/Search/DataHandler/Post.php at line 33
    XenForo_Search_DataHandler_Post->_insertIntoIndex() in XenForo/Search/DataHandler/Abstract.php at line 227
    XenForo_Search_DataHandler_Abstract->insertIntoIndex() in XenForo/DataWriter/Discussion.php at line 623
    XenForo_DataWriter_Discussion->_updateSearchIndexTitle() in XenForo/DataWriter/Discussion.php at line 550
    XenForo_DataWriter_Discussion->_indexForSearch() in XenForo/DataWriter/Discussion.php at line 388
    XenForo_DataWriter_Discussion->_postSave() in XenForo/DataWriter.php at line 1385
    XenForo_DataWriter->save() in XenForo/ControllerPublic/Thread.php at line 772
    XenForo_ControllerPublic_Thread->actionSave() in XenForo/FrontController.php at line 310
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
    XenForo_FrontController->run() in /home/user/public_html/index.php at line 13
 
I have a suspicion... that the first_post_id is not set for the thread. I can reproduce this error if I deliberately remove that value from the thread record. This should not happen normally except for after an import if the rebuild fails for some reason.

Try running this:

Admin CP -> Tools -> Rebuild Caches -> Rebuild Thread Information

Then try changing the prefix again.
 
I have a suspicion... that the first_post_id is not set for the thread. I can reproduce this error if I deliberately remove that value from the thread record. This should not happen normally except for after an import if the rebuild fails for some reason.

Try running this:

Admin CP -> Tools -> Rebuild Caches -> Rebuild Thread Information

Then try changing the prefix again.
Nope, still same error.
 
Top Bottom