1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Error causing site unavailable with latest Showcase and Widget Framework

Discussion in 'Showcase Support' started by mouth, Jan 22, 2014.

  1. mouth

    mouth Member CAS Premium RMS Premium SC Premium UBS Premium Sportsbook

    I have Showcase 1.3.1 and installed latest Widget Framework 2.4.6d, on XF 1.2.3 for my DEV site. After upgrading WidgetFramework, I now get the following error across the whole site ...

    Code:
    An exception occurred: Undefined index: attachments in XF/library/NFLJ/Showcase/WidgetRenderer/TabbedItems.php on line 64
    XenForo_Application::handlePhpError() in NFLJ/Showcase/WidgetRenderer/TabbedItems.php at line 64
    NFLJ_Showcase_WidgetRenderer_TabbedItems->_render() in WidgetFramework/WidgetRenderer.php at line 668
    WidgetFramework_WidgetRenderer->render() in WidgetFramework/Core.php at line 356
    WidgetFramework_Core->_renderWidgetsFor() in WidgetFramework/Core.php at line 273
    WidgetFramework_Core->renderWidgetsFor() in WidgetFramework/Listener.php at line 126
    WidgetFramework_Listener::template_post_render()
    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 604
    XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
    XenForo_FrontController->run() in /XF/index.php at line 13
    PHP 5.5.8-1~dotdeb.1 (cli) (built: Jan 12 2014 02:22:36)
    Copyright (c) 1997-2013 The PHP Group
    Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
    with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies

    It appears if I do a browser forced refresh (CTRL|CMD - R), then it will sometimes work.
     
  2. Bob

    Bob Developer Staff Member

    Its a cache issue with the block. I THINK you can disable the block and re enable it to create a new cache for it (worth a shot). Its happen to me a few times when I upgrade to new versions.
     
  3. mouth

    mouth Member CAS Premium RMS Premium SC Premium UBS Premium Sportsbook

    Thanks. Tried that, but hasn't worked for me. Even tried disabling WidgetFramework add-on entirely, loading site pages, then re-enabling WidgetFramework again, and then enabling the Showcase block. Unfortunately, still get the error.
    I've disabled the block for now.
     
  4. Bob

    Bob Developer Staff Member

    ok, I just upgraded to [bd] Widget Framework 2.4.6d. Im not running any sever cache, so that could also be an issue. The error is with one of the OPTIONS (which the framework caches). Can you EDIT the Block and check and uncheck the 'Display Thumbnail' option?
     
  5. mouth

    mouth Member CAS Premium RMS Premium SC Premium UBS Premium Sportsbook

    That appears to have fixed it. I had that option un-ticked (not showing thumbnails for my widget), so ticked it and refreshed a few site pages, then un-ticked it again.
    Not getting the error anymore.
    Thanks Bob!
     
  6. Bob

    Bob Developer Staff Member

    oh good! Please keep an eye on it to see if it happens again.
     
  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.