Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to 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.

Not a Bug Trying to get property of non-object

Discussion in 'Stock Trader Resolved Bug Reports' started by nodle, Mar 27, 2015.

  1. nodle

    nodle New Member

    Hey @Bob . Thought I would post this here since I don't seem to have permission to post under "Stock Trader Support". I had these pop up today. Seems like they are maybe from someone trying to enter a wrong stock name?

    ErrorException: Trying to get property of non-object - library/NFLJ/StockTrader/Model/Stock.php:1176
    Generated By: member, Today at 10:28 AM
    Stack Trace
    #0 /home/site/public_html/library/NFLJ/StockTrader/Model/Stock.php(1176): XenForo_Application::handlePhpError(8, 'Trying to get p...', '/home/site/p...', 1176, Array)
    #1 /home/site/public_html/library/NFLJ/StockTrader/ControllerPublic/StockTrader.php(125): NFLJ_StockTrader_Model_Stock->getAutoCompleteResults('grade')
    #2 /home/site/public_html/library/XenForo/FrontController.php(347): NFLJ_StockTrader_ControllerPublic_StockTrader->actionAutocomplete()
    #3 /home/site/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #4 /home/site/public_html/index.php(13): XenForo_FrontController->run()
    #5 {main}
    Request State
    array(3) {
    ["url"] => string(58) "http://www.site.com/stocktrader/autocomplete?term=grade"
    ["_GET"] => array(1) {
    ["term"] => string(5) "grade"
    ["_POST"] => array(0) {
  2. Bob

    Bob Developer Staff Member

    API issues. There are 3 Yahoo Finance APIs that Stock Trader uses. Stock API, Currency Exchange API and the Symbol Lookup API. The Auto Complete part of the Lookup uses the Symbols Lookup API. Whats happening is the same issue as with the other stuff (empty/malformed data being returned when it should be returning full data).

    Just clear them out. Like with the other API errors, I can suppress the errors, but then you won't know that there are issue with the API (in case you want to close the Markets).
  3. nodle

    nodle New Member

    Ok no biggee I just wanted to check, didn't know if it was something else. Thanks I will just clear them. :)
  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.