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.

Fixed Simple bug with no category choosed

Discussion in 'Showcase Resolved Bug Reports' started by dihuta, Feb 24, 2013.

  1. dihuta

    dihuta New Member Showcase

    When I create a new showcase item without choosing anything category, click Continue then receive this error:

    Argument 1 passed to NFLJ_Showcase_Model_Category::getCategoryBreadCrumbs() must be an array, boolean given, called in /public_html/library/NFLJ/Showcase/ControllerPublic/Index.php on line 244 and defined
    1. XenForo_Application::handlePhpError() in NFLJ/Showcase/Model/Category.php at line 211
    2. NFLJ_Showcase_Model_Category->getCategoryBreadCrumbs() in NFLJ/Showcase/ControllerPublic/Index.php at line 244
    3. NFLJ_Showcase_ControllerPublic_Index->actionAdd() in XenForo/FrontController.php at line 310
    4. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
     
  2. Bob

    Bob Developer Staff Member

    This is only possible when you have NO categories. Step 1 of Configuration (see below) is creating at least 1 category.

    http://addons.nfljunkies.com/threads/installing-configuration-and-upgrading.157/

    I'll toss an if statement into the template to display a initial configuration setup error message.
     
    dihuta likes this.
  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.