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

Fixed Show Alert Bug

Discussion in 'Resolved Bug Reports' started by Mert, Oct 6, 2010.

  1. Mert

    Mert Well-Known Member

    Hello ,

    When i click Alerts i receive the following bug. This error is not visible on all times you click Alerts , happens from time to time


    Code:
    Error Info
    ErrorException: Undefined index: today - library/XenForo/Locale.php:530
    Generated by: Mert, A moment ago
    Stack Trace
    #0 /var/www/vhosts/xenturk.com/httpdocs/library/XenForo/Locale.php(530): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/vhosts...', 530, Array)
    #1 /var/www/vhosts/xenturk.com/httpdocs/library/XenForo/Locale.php(293): XenForo_Locale::getRelativeDate(Object(DateTime), Array)
    #2 /var/www/vhosts/xenturk.com/httpdocs/library/XenForo/ViewPublic/Helper/Alert.php(52): XenForo_Locale::date(1286345610)
    #3 /var/www/vhosts/xenturk.com/httpdocs/library/XenForo/ViewPublic/Account/Index.php(13): XenForo_ViewPublic_Helper_Alert::dateSplit(Array, 'event_date')
    #4 /var/www/vhosts/xenturk.com/httpdocs/library/XenForo/ViewRenderer/Abstract.php(212): XenForo_ViewPublic_Account_Index->renderHtml()
    #5 /var/www/vhosts/xenturk.com/httpdocs/library/XenForo/ViewRenderer/HtmlPublic.php(69): XenForo_ViewRenderer_Abstract->renderViewObject('XenForo_ViewPub...', 'Html', Array, 'account_alerts')
    #6 /var/www/vhosts/xenturk.com/httpdocs/library/XenForo/ViewRenderer/Abstract.php(234): XenForo_ViewRenderer_HtmlPublic->renderView('XenForo_ViewPub...', Array, 'account_alerts', NULL)
    #7 /var/www/vhosts/xenturk.com/httpdocs/library/XenForo/ViewRenderer/HtmlPublic.php(66): XenForo_ViewRenderer_Abstract->renderSubView(Object(XenForo_ControllerResponse_View))
    #8 /var/www/vhosts/xenturk.com/httpdocs/library/XenForo/FrontController.php(520): XenForo_ViewRenderer_HtmlPublic->renderView('XenForo_ViewPub...', Array, 'account_wrapper', Object(XenForo_ControllerResponse_View))
    #9 /var/www/vhosts/xenturk.com/httpdocs/library/XenForo/FrontController.php(156): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
    #10 /var/www/vhosts/xenturk.com/httpdocs/index.php(15): XenForo_FrontController->run()
    #11 {main}
    Request State
    array(3) {
      ["url"] => string(33) "http://xenturk.com/account/alerts"
      ["_GET"] => array(1) {
        ["/account/alerts"] => string(0) ""
      }
      ["_POST"] => array(0) {
      }
    }
     
  2. Mike

    Mike XenForo Developer Staff Member

    Was this with a custom created language? Did you run into any issues when creating it?
     
  3. Mert

    Mert Well-Known Member

    No , it happens in default language but i faced the installation step error issue.
     
  4. Mike

    Mike XenForo Developer Staff Member

    Can you try reinstalling with the installer fixed? I believe that will prevent the issue.
     
  5. Puntocom

    Puntocom Well-Known Member

    Hello Mike and congratulations for XenForo. Does that mean that maybe I would have to reinstall loosing all data & users? or the problem will get solved in the next upgrade without data loss? or it's possible to import the data after the reinstall?
     
  6. Mike

    Mike XenForo Developer Staff Member

    Try going to <url>/install/ again and re-import the master data. I have seen a report that an error was triggered by doing that though.
     
  7. Puntocom

    Puntocom Well-Known Member

Share This Page