Post Reply

Post Reply [Paid] 4.0.1

PayPal: $30.00
Truonglv I had error below in my admin panel. Could you please check the issue. Thanks in advance..

PHP:
Server error log
Exception: [tl] Post Reply: No root node found. $postId=181723 $postState=visible src/addons/Truonglv/PostReply/XF/ControllerPlugin/Thread.php:91
Generated by: Unknown account 20 January 2021 at 07:39

Stack trace
#0 src/addons/Truonglv/PostReply/XF/ControllerPlugin/Thread.php(17): Truonglv\PostReply\XF\ControllerPlugin\Thread->getTPRPostLink(Object(TickTackk\ChangeContentOwner\XF\Entity\Post))
#1 src/XF/Pub/Controller/Thread.php(289): Truonglv\PostReply\XF\ControllerPlugin\Thread->getPostLink(Object(TickTackk\ChangeContentOwner\XF\Entity\Post))
#2 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Thread->actionLatest(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Latest', Object(XF\Mvc\RouteMatch), Object(SV\WhoReplied\XF\Pub\Controller\Thread), NULL)
#4 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\WhoReplied\XF\Pub\Controller\Thread), NULL)
#5 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#7 src/XF.php(488): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}
   
Request state
array(4) {
  ["url"] => string(80) "/konu/cevre-izin-ve-lisans-uygulamasinin-iyilestirilmesi-projesi.17490/son-mesaj"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
View previous replies…
Truonglv I had error below in my admin panel. Could you please check the issue. Thanks in advance..

PHP:
Server error log
Exception: [tl] Post Reply: No root node found. $postId=181723 $postState=visible src/addons/Truonglv/PostReply/XF/ControllerPlugin/Thread.php:91
Generated by: Unknown account 20 January 2021 at 07:39

Stack trace
#0 src/addons/Truonglv/PostReply/XF/ControllerPlugin/Thread.php(17): Truonglv\PostReply\XF\ControllerPlugin\Thread->getTPRPostLink(Object(TickTackk\ChangeContentOwner\XF\Entity\Post))
#1 src/XF/Pub/Controller/Thread.php(289): Truonglv\PostReply\XF\ControllerPlugin\Thread->getPostLink(Object(TickTackk\ChangeContentOwner\XF\Entity\Post))
#2 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Thread->actionLatest(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Latest', Object(XF\Mvc\RouteMatch), Object(SV\WhoReplied\XF\Pub\Controller\Thread), NULL)
#4 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\WhoReplied\XF\Pub\Controller\Thread), NULL)
#5 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#7 src/XF.php(488): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}
   
Request state
array(4) {
  ["url"] => string(80) "/konu/cevre-izin-ve-lisans-uygulamasinin-iyilestirilmesi-projesi.17490/son-mesaj"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
FatihTruonglv We solved this bug. I will explain later detailed. But as basic, if any post/thread hard deleted no problem, but if post/thread soft deleted addon is going to loop and can not find root id.
 
Hi Truonglv

Does addon work with xenforo new thread types? I tested with question and article thread, it does not work for me. I want to test here but I couldn't find activated article and question thread feature forum.

Can you activate new thread types for one forum for test please?
 
Last edited:
Hi Truonglv

Does addon work with xenforo new thread types? I tested with question and article thread, it does not work for me. I want to test here but I couldn't find activated article and question thread feature forum.

Can you activate new thread types for one forum for test please?
FatihNew version will support all thread types.
 
Truonglv

I will try to explain one bug about comment addon step by step.

User is writing a post in one thread. Another user who follow this thread receiving notification.
1618016520466.webp

When user click this alert post is not opening.

When I check the user profile who wrote message in thread, message seems.
1618016667942.webp

If I click this link, message doesn't open.

Than I try it manually with post id.
1618016785730.webp

192567
I enter this link manually to browser message not open.

I checked this user messages in related thread, there is no message id with 192567.

So, if user delete his post, I am sure we can not see in his profile. I turn off hard delete feature to all users, they can only use soft delete. As an Admin I can see this soft deleted posts but I can not see this post. Mean post not deleted.

This is happening generally in big threads.
1618017311303.webp

I hope I could explain clearly.

Kind regards.
 
Truonglv updated Post Reply with a new update entry:

3.0.0

BREAKING CHANGES:
Version 3.0.0 has made big changes in this add-on. It's almost rewrite add-on so you MUST be careful to upgrade to this version. Once you updated this add-on to version 3.0.0 you MUST rebuild tree caches to re-calculate caches otherwise it's won't work. If you have add-ons which extends to this please disable that and make it compatible with latest version before enabling.

Notable changes:
  • Support all thread types

Read the rest of this update entry...
 
Code:
Error: Call to a member function saveIfChanged() on null in src/addons/Truonglv/PostReply/Entity/Item.php at line 145
Truonglv\PostReply\Entity\Item->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1266
XF\Mvc\Entity\Entity->save() in src/addons/Truonglv/PostReply/Entity/Root.php at line 110
Truonglv\PostReply\Entity\Root->rebuildTree() in src/addons/Truonglv/PostReply/Job/TreeRebuild.php at line 84
Truonglv\PostReply\Job\TreeRebuild->rebuildById() in src/XF/Job/AbstractRebuildJob.php at line 47
XF\Job\AbstractRebuildJob->run() in src/XF/Job/Manager.php at line 258
XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 200
XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 116
XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 120
XF\Admin\Controller\Tools->actionRunJob() 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 admin.php at line 13
 
Code:
Error: Call to a member function saveIfChanged() on null in src/addons/Truonglv/PostReply/Entity/Item.php at line 145
Truonglv\PostReply\Entity\Item->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1266
XF\Mvc\Entity\Entity->save() in src/addons/Truonglv/PostReply/Entity/Root.php at line 110
Truonglv\PostReply\Entity\Root->rebuildTree() in src/addons/Truonglv/PostReply/Job/TreeRebuild.php at line 84
Truonglv\PostReply\Job\TreeRebuild->rebuildById() in src/XF/Job/AbstractRebuildJob.php at line 47
XF\Job\AbstractRebuildJob->run() in src/XF/Job/Manager.php at line 258
XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 200
XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 116
XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 120
XF\Admin\Controller\Tools->actionRunJob() 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 admin.php at line 13
Fatihdid you rebuild all caches?
 
PHP:
Error: Call to a member function saveIfChanged() on null in src/addons/Truonglv/PostReply/Entity/Item.php at line 145
Truonglv\PostReply\Entity\Item->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1266
XF\Mvc\Entity\Entity->save() in src/addons/Truonglv/PostReply/Entity/Root.php at line 110
Truonglv\PostReply\Entity\Root->rebuildTree() in src/addons/Truonglv/PostReply/Job/TreeRebuild.php at line 84
Truonglv\PostReply\Job\TreeRebuild->rebuildById() in src/XF/Job/AbstractRebuildJob.php at line 47
XF\Job\AbstractRebuildJob->run() in src/XF/Job/Manager.php at line 258
XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 200
XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 116
XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 120
XF\Admin\Controller\Tools->actionRunJob() 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 admin.php at line 13
 
PHP:
Error: Call to a member function saveIfChanged() on null in src/addons/Truonglv/PostReply/Entity/Item.php at line 145
Truonglv\PostReply\Entity\Item->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1266
XF\Mvc\Entity\Entity->save() in src/addons/Truonglv/PostReply/Entity/Root.php at line 110
Truonglv\PostReply\Entity\Root->rebuildTree() in src/addons/Truonglv/PostReply/Job/TreeRebuild.php at line 84
Truonglv\PostReply\Job\TreeRebuild->rebuildById() in src/XF/Job/AbstractRebuildJob.php at line 47
XF\Job\AbstractRebuildJob->run() in src/XF/Job/Manager.php at line 258
XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 200
XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 116
XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 120
XF\Admin\Controller\Tools->actionRunJob() 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 admin.php at line 13
FatihTruonglv

When ı click to [tl] Post Reply: Rebuild tree data
I am getting error above.
 
Back
Top