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

Not a bug Crash when moving threads.

Stuart Wright

Well-known member
#1
Xenforo 1.3
In the admin panel, selected 300 threads to move to a different forum.
Hit go and got
An exception occurred: The session has been saved and is now read-only. in /home/sites/avforums/public_html/library/XenForo/Session.php on line 621

  1. XenForo_Session->remove() in AVForums/ThreadProduct/DataWriter/Discussion/Thread.php at line 92
  2. AVForums_ThreadProduct_DataWriter_Discussion_Thread->_discussionPostSave() in CTA/FeaturedThreads/DataWriter/Discussion/Thread.php at line 19
  3. CTA_FeaturedThreads_DataWriter_Discussion_Thread->_discussionPostSave() in AVForums/ModCheckpoint/DataWriter/Discussion/Thread.php at line 21
  4. AVForums_ModCheckpoint_DataWriter_Discussion_Thread->_discussionPostSave() in XenForo/DataWriter/Discussion.php at line 453
  5. XenForo_DataWriter_Discussion->_postSave() in XenForo/DataWriter.php at line 1409
  6. XenForo_DataWriter->save() in XenForo/Deferred/ThreadAction.php at line 111
  7. XenForo_Deferred_ThreadAction->execute() in XenForo/Model/Deferred.php at line 256
  8. XenForo_Model_Deferred->runDeferred() in XenForo/Model/Deferred.php at line 390
  9. XenForo_Model_Deferred->_runInternal() in XenForo/Model/Deferred.php at line 335
  10. XenForo_Model_Deferred->run() in XenForo/ViewRenderer/Abstract.php at line 352
  11. XenForo_ViewRenderer_Abstract::hasManualDeferredToRun() in XenForo/ViewRenderer/HtmlAdmin.php at line 50
  12. XenForo_ViewRenderer_HtmlAdmin->renderRedirect() in XenForo/FrontController.php at line 597
  13. XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
  14. XenForo_FrontController->run() in /home/sites/avforums/public_html/admin.php at line 13
 

AndyB

Well-known member
#2
I would suspect the same thing would have happened moving just one thread.

Try disabling the add-on CTA/FeaturedThreads and verify no error with that add-on disabled.
 

Chris D

XenForo developer
Staff member
#3
This actually could be AVForums_ThreadProduct causing the issue (it accesses the session, that can be clearly seen from the stack trace)

Please try disabling that, and performing the operation again, first.
 

Stuart Wright

Well-known member
#4
Disabled the Thread Product addon by unticking the box in the admin page for addons and got an error.
I could then batch update threads, so the issue is indeed with the thread product addon.
The error I got it this:
The following error occurred:
An exception occurred: The session has been saved and is now read-only. in /home/sites/avforums/public_html/library/XenForo/Session.php on line 621

  1. XenForo_Session->remove() in AVForums/ThreadProduct/DataWriter/Discussion/Thread.php at line 92
  2. AVForums_ThreadProduct_DataWriter_Discussion_Thread->_discussionPostSave() in CTA/FeaturedThreads/DataWriter/Discussion/Thread.php at line 19
  3. CTA_FeaturedThreads_DataWriter_Discussion_Thread->_discussionPostSave() in AVForums/ModCheckpoint/DataWriter/Discussion/Thread.php at line 21
  4. AVForums_ModCheckpoint_DataWriter_Discussion_Thread->_discussionPostSave() in XenForo/DataWriter/Discussion.php at line 453
  5. XenForo_DataWriter_Discussion->_postSave() in XenForo/DataWriter.php at line 1409
  6. XenForo_DataWriter->save() in XenForo/Deferred/ThreadAction.php at line 111
  7. XenForo_Deferred_ThreadAction->execute() in XenForo/Model/Deferred.php at line 256
  8. XenForo_Model_Deferred->runDeferred() in XenForo/Model/Deferred.php at line 390
  9. XenForo_Model_Deferred->_runInternal() in XenForo/Model/Deferred.php at line 335
  10. XenForo_Model_Deferred->run() in XenForo/ViewRenderer/Abstract.php at line 352
  11. XenForo_ViewRenderer_Abstract::hasManualDeferredToRun() in XenForo/ViewRenderer/Json.php at line 147
  12. XenForo_ViewRenderer_Json::_addDefaultParams() in XenForo/ViewRenderer/Json.php at line 185
  13. XenForo_ViewRenderer_Json::jsonEncodeForOutput() in XenForo/ViewRenderer/Json.php at line 37
  14. XenForo_ViewRenderer_Json->renderRedirect() in XenForo/FrontController.php at line 597
  15. XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
  16. XenForo_FrontController->run() in /home/sites/avforums/public_html/admin.php at line 13