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.

Errors in the server error log

Discussion in 'Stock Trader Support' started by andreamarucci, Feb 16, 2013.

  1. andreamarucci

    andreamarucci New Member

    Hello, I've noticed some of these errors in my server error log

    Code:
    ErrorException: Trying to get property of non-object - library/NFLJ/StockTrader/Model/Stock.php:1095
    Generated By: Corrado61, Yesterday at 4:18 PM
    Stack Trace
     
    #0 /home/kogit/forum/library/NFLJ/StockTrader/Model/Stock.php(1095): XenForo_Application::handlePhpError('apple')
    #1 /home/kogit/forum/library/NFLJ/StockTrader/ControllerPublic/Index.php(106): NFLJ_StockTrader_Model_Stock->getAutoCompleteResults()
    #2 /home/kogit/forum/library/XenForo/FrontController.php(310): NFLJ_StockTrader_ControllerPublic_Index->actionAutocomplete(Object(XenForo_RouteMatch))
    #3 /home/kogit/forum/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch()
    #4 /home/kogit/forum/index.php(13): XenForo_FrontController->run()
    #5 {main}
     
    Request State
     
    array(3) {
      ["url"] => string(55) "http://forum.kog.it/stocktrader/autocomplete?term=apple"
      ["_GET"] => array(1) {
        ["term"] => string(5) "apple"
      }
      ["_POST"] => array(0) {
      }
    }
     
    
     
  2. Bob

    Bob Developer Staff Member

    apple is not a valid stock symbol. appl is the symbol for apple corp. So that user is trying to force a lookup of a non existent stock (which is going to write an error to the server logs).
     
  3. andreamarucci

    andreamarucci New Member

    Thanks!
     
  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.