Post Reply

Post Reply [Paid] 4.0.1

PayPal: $30.00
PHP:
InvalidArgumentException: Too many item depth! in src/addons/Truonglv/PostReply/Entity/Item.php at line 123
Truonglv\PostReply\Entity\Item->_preSave() in src/XF/Mvc/Entity/Entity.php at line 1355
XF\Mvc\Entity\Entity->preSave() in src/XF/Mvc/Entity/Entity.php at line 1208
XF\Mvc\Entity\Entity->save() in src/addons/Truonglv/PostReply/XF/Entity/Post.php at line 180
Truonglv\PostReply\XF\Entity\Post->_postSave() in src/addons/Truonglv/AnonymousPosting/XF/Entity/Post.php at line 178
Truonglv\AnonymousPosting\XF\Entity\Post->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1266
XF\Mvc\Entity\Entity->save() in src/XF/Service/Thread/Replier.php at line 209
XF\Service\Thread\Replier->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 40
XF\Service\Thread\Replier->save() in src/XF/Pub/Controller/Thread.php at line 594
XF\Pub\Controller\Thread->actionAddReply() in src/XF/Mvc/Dispatcher.php at line 350
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2326
XF\App->run() in src/XF.php at line 488
XF::runApp() in index.php at line 20

I got error above when I try to reply any post before rebuild the cache
 
PHP:
InvalidArgumentException: Too many item depth! in src/addons/Truonglv/PostReply/Entity/Item.php at line 123
Truonglv\PostReply\Entity\Item->_preSave() in src/XF/Mvc/Entity/Entity.php at line 1355
XF\Mvc\Entity\Entity->preSave() in src/XF/Mvc/Entity/Entity.php at line 1208
XF\Mvc\Entity\Entity->save() in src/addons/Truonglv/PostReply/XF/Entity/Post.php at line 180
Truonglv\PostReply\XF\Entity\Post->_postSave() in src/addons/Truonglv/AnonymousPosting/XF/Entity/Post.php at line 178
Truonglv\AnonymousPosting\XF\Entity\Post->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1266
XF\Mvc\Entity\Entity->save() in src/XF/Service/Thread/Replier.php at line 209
XF\Service\Thread\Replier->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 40
XF\Service\Thread\Replier->save() in src/XF/Pub/Controller/Thread.php at line 594
XF\Pub\Controller\Thread->actionAddReply() in src/XF/Mvc/Dispatcher.php at line 350
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2326
XF\App->run() in src/XF.php at line 488
XF::runApp() in index.php at line 20

I got error above when I try to reply any post before rebuild the cache
FatihAs i warned it's may break your forums before rebuild.
 
PHP:
Server error log
ErrorException: [E_NOTICE] Undefined index: message_state src/addons/Truonglv/PostReply/Entity/Root.php:137
Generated by: Unknown account 11 April 2021 at 13:41

Code:
Stack trace
#0 src/addons/Truonglv/PostReply/Entity/Root.php(137): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/cmnet/dom...', 137, Array)
#1 [internal function]: Truonglv\PostReply\Entity\Root->Truonglv\PostReply\Entity\{closure}(Array)
#2 src/addons/Truonglv/PostReply/Entity/Root.php(138): array_filter(Array, Object(Closure))
#3 src/addons/Truonglv/PostReply/Data/Collector.php(100): Truonglv\PostReply\Entity\Root->getTree()
#4 src/addons/Truonglv/PostReply/XF/Pub/Controller/Thread.php(35): Truonglv\PostReply\Data\Collector->collectReplies(Object(Truonglv\AnonymousPosting\XF\Entity\Thread), Object(XF\Mvc\Entity\ArrayCollection), Array)
#5 src/XF/Mvc/Dispatcher.php(350): Truonglv\PostReply\XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Index', Object(XF\Mvc\RouteMatch), Object(TickTackk\ChangeContentOwner\XF\Pub\Controller\Thread), NULL)
#7 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(TickTackk\ChangeContentOwner\XF\Pub\Controller\Thread), NULL)
#8 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#10 src/XF.php(488): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}

PHP:
Request state
array(4) {
  ["url"] => string(87) "/konu/aydinlatmada-gelecegin-teknolojisi-led-lambalar-manisada-uretilmeye-baslandi.929/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
PHP:
Server error log
ErrorException: [E_NOTICE] Undefined index: message_state src/addons/Truonglv/PostReply/Entity/Root.php:137
Generated by: Unknown account 11 April 2021 at 13:41

Code:
Stack trace
#0 src/addons/Truonglv/PostReply/Entity/Root.php(137): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/cmnet/dom...', 137, Array)
#1 [internal function]: Truonglv\PostReply\Entity\Root->Truonglv\PostReply\Entity\{closure}(Array)
#2 src/addons/Truonglv/PostReply/Entity/Root.php(138): array_filter(Array, Object(Closure))
#3 src/addons/Truonglv/PostReply/Data/Collector.php(100): Truonglv\PostReply\Entity\Root->getTree()
#4 src/addons/Truonglv/PostReply/XF/Pub/Controller/Thread.php(35): Truonglv\PostReply\Data\Collector->collectReplies(Object(Truonglv\AnonymousPosting\XF\Entity\Thread), Object(XF\Mvc\Entity\ArrayCollection), Array)
#5 src/XF/Mvc/Dispatcher.php(350): Truonglv\PostReply\XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Index', Object(XF\Mvc\RouteMatch), Object(TickTackk\ChangeContentOwner\XF\Pub\Controller\Thread), NULL)
#7 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(TickTackk\ChangeContentOwner\XF\Pub\Controller\Thread), NULL)
#8 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#10 src/XF.php(488): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}

PHP:
Request state
array(4) {
  ["url"] => string(87) "/konu/aydinlatmada-gelecegin-teknolojisi-led-lambalar-manisada-uretilmeye-baslandi.929/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
FatihAnd this is server error log.
 
All old tree data is lost after upgrade. All became normal quote. Do you have solution to recovery old tree in new version?
caoanh204Truonglv I am living same problem. All old replies before upgrade are lost. I rebuild the tree successfully. Can you correct it for also old replies?
 
Back
Top