What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Bug Not a bug An exception occurred: [TypeError] Argument 2 passed to XF\Service\Thread\Replier::


An exception occurred: [TypeError] Argument 2 passed to XF\Service\Thread\Replier::__construct() must be an instance of XF\Entity\Thread, null given, called in /data/vhosts/domain.com/httpdocs/src/XF/Container.php on line 274 in src/XF/Service/Thread/Replier.php on line 35

  1. XF\Service\Thread\Replier->__construct() in src/XF/Container.php at line 274
  2. XF\Container->createObject() in src/XF/App.php at line 1362
  3. XF\App->XF\{closure}() in src/XF/Container.php at line 228
  4. XF\Container->create() in src/XF/App.php at line 2511
  5. XF\App->service() in src/addons/XFA/XFMGMediaOfTheMonth/Service/Motm/ThreadNotifier.php at line 197
  6. XFA\XFMGMediaOfTheMonth\Service\Motm\ThreadNotifier->XFA\XFMGMediaOfTheMonth\Service\Motm\{closure}() in src/XF.php at line 397
  7. XF::asVisitor() in src/addons/XFA/XFMGMediaOfTheMonth/Service/Motm/ThreadNotifier.php at line 209
  8. XFA\XFMGMediaOfTheMonth\Service\Motm\ThreadNotifier->notify() in src/addons/XFA/XFMGMediaOfTheMonth/Service/Media/Voter.php at line 78
  9. XFA\XFMGMediaOfTheMonth\Service\Media\Voter->vote() in src/addons/XFA/XFMGMediaOfTheMonth/XFMG/Pub/Controller/Media.php at line 49
  10. XFA\XFMGMediaOfTheMonth\XFMG\Pub\Controller\Media->actionVoteMotm() in src/XF/Mvc/Dispatcher.php at line 249
  11. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
  12. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  13. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1934
  14. XF\App->run() in src/XF.php at line 333
  15. XF::runApp() in index.php at line 13


Freaky Coder
Staff member
Hum, this should not happen unless you removed the monthly thread.
What configuration do you have for threads creation ?