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 Undefined index: stocktrader_portfolio_privacy

Discussion in 'Stock Trader Resolved Bug Reports' started by arnaudhc, Oct 23, 2014.

  1. arnaudhc

    arnaudhc New Member

    PHP:
    Server Error

    Undefined index
    stocktrader_portfolio_privacy

    XenForo_Application
    ::handlePhpError() in NFLJ/StockTrader/Model/Stock.php at line 933
    NFLJ_StockTrader_Model_Stock
    ->formatTopPortfolioValues() in NFLJ/StockTrader/ControllerPublic/StockTrader.php at line 558
    NFLJ_StockTrader_ControllerPublic_StockTrader
    ->actionTopPortfolios() in XenForo/FrontController.php at line 347
    XenForo_FrontController
    ->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController
    ->run() in /var/www/public_html/upload/index.php at line 13
    TLDR
    with a new install
    stocktrader_portfolio_privacy is not added to the xf_user table
     
  2. Bob

    Bob Developer Staff Member

    Ah, nice catch. Missed that when I switched to the new installer.

    you can manually run this query to fix that.

    PHP:
    ALTER TABLE xf_user ADD stocktrader_portfolio_privacy tinyint(3unsigned NOT NULL DEFAULT '0' AFTER stocktrader_cash
     
  3. arnaudhc

    arnaudhc New Member

    yep done that no worries
     
  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.