1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon for site causing header errors?

Discussion in 'XenForo Development Discussions' started by KnoxVegas, Aug 2, 2016.

  1. KnoxVegas

    KnoxVegas Member


    We have built our own custom addon for our site, and I'm trying to get rid of these constant errors we are getting on the xenforo side, would anyone be able to help me narrow this down?

    I would assume this is because its a guest viewing the page possibly but not sure?

    Error Info
    ErrorException: Undefined variable: _SESSION - kvtnet/extra/header.php:55
    Generated By: Unknown Account, 16 minutes ago
    Stack Trace
    #0 /..../forums/kvtnet/extra/header.php(55): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/.....', 55, Array)
    #1 /..../forums/kvtnet/index.php(13): require('/home/knoxvegas...')
    #2 {main}
    Request State
    array(3) {
      ["url"] => string(48) "http://forums.knoxvtrucking.com/kvtnet/index.php"
      ["_GET"] => array(0) {
      ["_POST"] => array(0) {
    Last edited: Aug 2, 2016
  2. MtoR

    MtoR Well-Known Member


    You can see from "Unknown Account" that it's indeed a guest.

    Apparently this would come from a file located in kvtnet/extra/header.php, up to you to narrow down what does cause an issue in that file, it's on line 55 as you can see.


Share This Page