[WMTech] Double Post Merge

[WMTech] Double Post Merge 1.3.1

No permission to download
  • Thread starter Thread starter Syndol
  • Start date Start date
Server Error Log

Error Info

XenForo_Exception: Cannot insert a message in the middle of a discussion. - library/XenForo/DataWriter/DiscussionMessage.php:449
Generated By: madelpagharion, Today at 1:16 PM

Stack Trace
#0 /library/XenForo/DataWriter/DiscussionMessage.php(354): XenForo_DataWriter_DiscussionMessage->_setPosition()
#1 /library/XenForo/DataWriter.php(1446): XenForo_DataWriter_DiscussionMessage->_preSave()
#2 /library/XenForo/ControllerPublic/Thread.php(548): XenForo_DataWriter->preSave()
#3 /library/DoublePost/ControllerPublic/Thread.php(42): XenForo_ControllerPublic_Thread->actionAddReply()
#4 /library/bdSocialShare/XenForo/ControllerPublic/Thread.php(9): DoublePost_ControllerPublic_Thread->actionAddReply()
#5 /library/XenForo/FrontController.php(347): bdSocialShare_XenForo_ControllerPublic_Thread->actionAddReply()
#6 /library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /index.php(13): XenForo_FrontController->run()
#8 {main}

Request State
array(3) {
["url"] => string(130) "/threads/52797/add-reply"
["_GET"] => array(1) {
["/threads/52797/add-reply"] => string(0) ""
}
["_POST"] => array(11) {
["message_html"] => string(186) "<p>tnxs alot poh...nka DL sa wakas.....ung Wattpad2any Converter na
Dinowload ko kasi...d gumagana,,,,ask lng poh...under maintenance po bah
ang site?...d poh kasi ma open...<br></p>"
["_xfRelativeResolver"] => string(127) "/threads/52797/page-9"
["_bdSocialShare_enabled"] => array(1) {
["_default"] => string(1) "1"
}
["_bdSocialShare_included"] => string(1) "1"
["attachment_hash"] => string(32) "b3c7156d6e9ee972d269ff12883e5ab1"
["last_date"] => string(10) "1408192931"
["last_known_date"] => string(10) "1408192931"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(103) "/threads/52797/page-9"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 
@RoldanLT - this seems to either be a conflict with or an error from the Social Share add-on.
Since that is a paid add-on I'm unable to find out which.
Could you please disable the Double Post add-on and see if you still get the error.
 
The ability not to lift the limit for admins because of ascending order permissions made me have to uninstall it sadly :( Wish you can do something regarding that.
 
@Robust - I recommend you create and assign a secondary user group that specifically includes the Double Post time limits. Simply set all Double Post limits on your primary groups to zero and then assign the new secondary group to desired primary groups.
 
@Robust that is mentioned in this thread (early on) and it is also in the readme.txt attached to the file. I tested the secondary group ID thing and it works perfectly, just kind of a pain that's all. There is literally no other way around it.
 
Server Error Log

Error Info

XenForo_Exception: Cannot insert a message in the middle of a discussion. - library/XenForo/DataWriter/DiscussionMessage.php:449
Generated By: madelpagharion, Today at 1:16 PM

Stack Trace
#0 /library/XenForo/DataWriter/DiscussionMessage.php(354): XenForo_DataWriter_DiscussionMessage->_setPosition()
#1 /library/XenForo/DataWriter.php(1446): XenForo_DataWriter_DiscussionMessage->_preSave()
#2 /library/XenForo/ControllerPublic/Thread.php(548): XenForo_DataWriter->preSave()
#3 /library/DoublePost/ControllerPublic/Thread.php(42): XenForo_ControllerPublic_Thread->actionAddReply()
#4 /library/bdSocialShare/XenForo/ControllerPublic/Thread.php(9): DoublePost_ControllerPublic_Thread->actionAddReply()
#5 /library/XenForo/FrontController.php(347): bdSocialShare_XenForo_ControllerPublic_Thread->actionAddReply()
#6 /library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /index.php(13): XenForo_FrontController->run()
#8 {main}

Request State
array(3) {
["url"] => string(130) "/threads/52797/add-reply"
["_GET"] => array(1) {
["/threads/52797/add-reply"] => string(0) ""
}
["_POST"] => array(11) {
["message_html"] => string(186) "<p>tnxs alot poh...nka DL sa wakas.....ung Wattpad2any Converter na
Dinowload ko kasi...d gumagana,,,,ask lng poh...under maintenance po bah
ang site?...d poh kasi ma open...<br></p>"
["_xfRelativeResolver"] => string(127) "/threads/52797/page-9"
["_bdSocialShare_enabled"] => array(1) {
["_default"] => string(1) "1"
}
["_bdSocialShare_included"] => string(1) "1"
["attachment_hash"] => string(32) "b3c7156d6e9ee972d269ff12883e5ab1"
["last_date"] => string(10) "1408192931"
["last_known_date"] => string(10) "1408192931"
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(103) "/threads/52797/page-9"
["_xfNoRedirect"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
I think your problem doesn't relate to Double Post Merge / [bd] Social Share. It may be a problem with some kind of scheduled post/thread. Do you happen to have that?
 
Hi Syndol,

I'm encountering this error..

Error Info
ErrorException: Illegal string offset 'relative' - library/XenForo/Template/Helper/Core.php:310
Generated By: Unknown Account, Today at 4:30 PM

Stack Trace
#0 /home/pinoy/public_html/library/XenForo/Template/Helper/Core.php(310): XenForo_Application::handlePhpError(2, 'Illegal string ...', '/home/pinoy...', 310, Array)
#1 [internal function]: XenForo_Template_Helper_Core::helperDateTimeHtml(1412083187)
#2 /home/pinoy/public_html/library/XenForo/Template/Helper/Core.php(853): call_user_func_array(Array, Array)
#3 /home/pinoy/public_html/library/DoublePost/BbCode/Formatter/Base.php(81): XenForo_Template_Helper_Core::callHelper('datetimehtml', Array)
#4 [internal function]: DoublePost_BbCode_Formatter_Base->renderDoublePost(Array, Array, Object(Tinhte_XenTag_BbCode_Formatter_HashtagPick))
#5 /home/pinoy/public_html/library/XenForo/BbCode/Formatter/Base.php(744): call_user_func(Array, Array, Array, Object(Tinhte_XenTag_BbCode_Formatter_HashtagPick))
#6 /home/pinoy/public_html/library/XenForo/BbCode/Formatter/Base.php(651): XenForo_BbCode_Formatter_Base->renderValidTag(Array, Array, Array)
#7 /home/pinoy/public_html/library/XenForo/BbCode/Formatter/Base.php(564): XenForo_BbCode_Formatter_Base->renderTag(Array, Array, 0)
#8 /home/pinoy/public_html/library/XenForo/BbCode/Formatter/Base.php(545): XenForo_BbCode_Formatter_Base->renderTreeElement(Array, Array, 0)
#9 /home/pinoy/public_html/library/XenForo/BbCode/Formatter/Base.php(525): XenForo_BbCode_Formatter_Base->renderSubTree(Array, Array)
#10 /home/pinoy/public_html/library/Tinhte/XenTag/BbCode/Formatter/HashtagPick.php(34): XenForo_BbCode_Formatter_Base->renderTree(Array, Array)
#11 /home/pinoy/public_html/library/XenForo/BbCode/Parser.php(505): Tinhte_XenTag_BbCode_Formatter_HashtagPick->renderTree(Array, Array)
#12 /home/pinoy/public_html/library/Tinhte/XenTag/Integration.php(413): XenForo_BbCode_Parser->render('Aww auko po ma-...')
#13 /home/pinoy/public_html/library/Tinhte/XenTag/XenForo/Search/DataHandler/Post.php(9): Tinhte_XenTag_Integration::parseHashtags('Aww auko po ma-...')
#14 /home/pinoy/public_html/library/XenForo/Search/DataHandler/Abstract.php(275): Tinhte_XenTag_XenForo_Search_DataHandler_Post->_insertIntoIndex(Object(XenForo_Search_Indexer), Array, Array)
#15 /home/pinoy/public_html/library/XenForo/Search/DataHandler/Post.php(133): XenForo_Search_DataHandler_Abstract->insertIntoIndex(Object(XenForo_Search_Indexer), Array, Array)
#16 /home/pinoy/public_html/library/XenForo/Search/Indexer.php(72): XenForo_Search_DataHandler_Post->quickIndex(Object(XenForo_Search_Indexer), Array)
#17 /home/pinoy/public_html/library/XenForo/Deferred/SearchIndexPartial.php(38): XenForo_Search_Indexer->quickIndex('post', Array)
#18 /home/pinoy/public_html/library/XenForo/Model/Deferred.php(256): XenForo_Deferred_SearchIndexPartial->execute(Array, Array, 7.8277299404144, 'Search Index (P...')
#19 /home/pinoy/public_html/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 7.8277299404144, 'Search Index (P...', false)
#20 /home/pinoy/public_html/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, NULL, 'Search Index (P...', false)
#21 /home/pinoy/public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
#22 {main}

Request State

array(3) {
["url"] => string(39) "http:url.com/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(42) "/index.php?forums/agiieee.144/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
 
Great addition as I'm trying to replace some of vBull add-ons and this was one functionality I was going to miss. Any way to make this work on conversations as well?
 
Hi @Syndol ,

Unfortunately, one of my users encountered the same problem today with the same pattern @Divvens described.
A user commented in a thread and added only attachments to his message (12 images if it matters). Then he replied again with just a text post. Then on the third reply (both previous messages were merged) when he tried to add an attachment or text, he got the exact error above.

Just to note, I also don't have this add-on:
http://xenforo.com/community/resources/minimum-post-length-enforcer.1792/

Thanks.
It still happening and it's completely random. Mostly can be noticed when people upload pictures from Android devices (OS version doesn't really matter). I've disabled the add-on and everything worked well again for quite time until I enabled the add-on again. So it's either some type of a conflict with other add-on(s), or some problem in the add-on itself. I will try to dig in the code to try and find something, but I'm quite hopeless since it happens so randomly - very weird bug.
 
Syndol updated Double Post Merge with a new update entry:

Version 1.1.1

I would like to thank @rellect for finding the elusive character limit bug and thanks @Moshe1010 for persistently pursuing it.

What's new:
  • Fixed a bug that prevented Thread Watch and Forum Watch alerts from being sent out.
  • When the bump thread option is set, if a post has previously been edited and is then merged, the "Last edited" text and date is now removed in order to prevent the date from showing as older than the new post date.

Read the rest of this update entry...
 
Top Bottom