1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Rare Issue with my forum HELP!

Discussion in 'Troubleshooting and Problems' started by Regina Ortega, Feb 20, 2014.

  1. Regina Ortega

    Regina Ortega Active Member

    Hi, today my forum started to show this error when i tried to enter to it. (it never happened before, and i didn't touch it since my last template instalation that i bought from russ.)

    This is the error that it's showing:

    An exception occurred: Argument 2 passed to XenForo_Model_Thread::canViewThread() must be of the type array, null given, called in /var/www/html/foro.muonline.pe/library/WidgetFramework/WidgetRenderer/Threads.php on line 421 and defined in /var/www/html/foro.muonline.pe/library/XenForo/Model/Thread.php on line 759
    XenForo_Application::handlePhpError() in XenForo/Model/Thread.php at line 759
    XenForo_Model_Thread->canViewThread() in WidgetFramework/WidgetRenderer/Threads.php at line 421
    WidgetFramework_WidgetRenderer_Threads->_getThreads() in WidgetFramework/WidgetRenderer/Threads.php at line 168
    WidgetFramework_WidgetRenderer_Threads->_render() in WidgetFramework/WidgetRenderer.php at line 668
    WidgetFramework_WidgetRenderer->render() in WidgetFramework/Core.php at line 352
    WidgetFramework_Core->_renderWidgetsFor() in WidgetFramework/Core.php at line 264
    WidgetFramework_Core->renderWidgetsFor() in WidgetFramework/Listener.php at line 87
    call_user_func_array() in XenForo/CodeEvent.php at line 58
    XenForo_CodeEvent::fire() in XenForo/Template/Abstract.php at line 195
    XenForo_Template_Abstract->render() in XenForo/Template/Public.php at line 110
    XenForo_Template_Public->render() in XenForo/ViewRenderer/HtmlPublic.php at line 119
    XenForo_ViewRenderer_HtmlPublic->renderContainer() in XenForo/FrontController.php at line 614
    XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
    XenForo_FrontController->run() in /var/www/html/foro.muonline.pe/index.php at line 13
    Hope somebody tell me how to fix it, please it's showing a bad image of my forum.

    Thank you.
  2. Jeremy

    Jeremy Well-Known Member

    This is a WidgetFramework issue.
  3. Regina Ortega

    Regina Ortega Active Member

    How do i solve it?

    As far as i can understand what it says, it's related with my widget "last users post" (because it said something about "posts") so basically.. i just desactive it. I don't know if the problem is already fixed; how do i know? Thank you.
  4. Jeremy

    Jeremy Well-Known Member

    You'll need to ask within the resource thread.
    Amaury likes this.
  5. Regina Ortega

    Regina Ortega Active Member

    Ok, but i want to know if it's about that widget, only that; if i only have to desactive it i will be fine with that. I won't use it anymore.
  6. melbo

    melbo Well-Known Member

    I always try disabling things that are broken before doing anything else.
  7. Regina Ortega

    Regina Ortega Active Member

    Seems fixed. It was that widget. Thank you guys. I don't use to upgrade my widgets or addons, so it's my bad; but i don't know why it started to happen today and not a month ago when i updated my xenforum or changed my template.

    Any idea why today and not before?
  8. Chris D

    Chris D XenForo Developer Staff Member

    It may be caused by a specific thread. Such issues can occur, for example, after a thread is moved and a redirect is left.

    I'm sure xfrocks will be happy to clarify any specific details as to why the issue happened. Especially if it has since been fixed in an update.

Share This Page