1. This area is dedicated to the support of our xF2 add-ons, for support of our xF1 add-ons please use the dedicated forums.
    Note that we only accept support question and bug reports in this section.

    For suggestions, please wait until xF2 stable is released as we'll reorganize our forum at that time and accept them.
Dismiss Notice
We have just posted about our product policy for XF2.
Click HERE to view it.

Media Of The Month An exception occurred: [TypeError] Argument 2 passed to XF\Service\Thread\Replier::

Discussion in 'Add-Ons Support' started by hollosch, Jan 2, 2019.

Tags:
  1. hollosch

    hollosch New Member

    Joined:
    Nov 17, 2015
    Messages:
    25
    Likes Received:
    0
    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
     
  2. MtoR

    MtoR Freaky Coder
    Staff Member

    Joined:
    Nov 14, 2015
    Messages:
    4,705
    Likes Received:
    743
    Hum, this should not happen unless you removed the monthly thread.
    What configuration do you have for threads creation ?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice