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

Fixed Show Alert Bug

Mert

Well-known member
#1
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) {
  }
}
 

Mike

XenForo developer
Staff member
#2
Was this with a custom created language? Did you run into any issues when creating it?
 

Mike

XenForo developer
Staff member
#4
Can you try reinstalling with the installer fixed? I believe that will prevent the issue.
 

Puntocom

Well-known member
#5
Can you try reinstalling with the installer fixed? I believe that will prevent the issue.
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?
 

Mike

XenForo developer
Staff member
#6
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.