Solved 📲 A lot of errors in the xenforo error log

This thread has been added to the roadmap.

Joined
Feb 3, 2019
Messages
54
Likes
14
Location
Italy
Website
www.tuttosullapostaelettronica.it
#1
Board URL
https://forum.kog.it
I've upgraded to 10.29 just to have a lot of these in the error log of Xenforo
Code:
ErrorException: [E_NOTICE] Undefined index: HTTP_USER_AGENT src/addons/Appify/Listener.php:192
Generated by: Unknown account Mar 15, 2019 at 8:41 PM
Stack trace
#0 src/addons/Appify/Listener.php(192): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/kogit/for...', 192, Array)
#1 [internal function]: Appify\Listener::someMobileInformations(Object(Appify\XF\Template\Templater), 'public', 'login', Array)
#2 src/XF/Extension.php(35): call_user_func_array(Array, Array)
#3 src/XF/App.php(2395): XF\Extension->fire('templater_templ...', Array, 'public:login')
#4 src/XF/Template/Templater.php(1232): XF\App->fire('templater_templ...', Array, 'public:login')
#5 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('login', Array)
#6 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#7 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Error\\Regist...', 'public:login', Array)
#8 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/App.php(1934): XF\Mvc\Dispatcher->run()
#11 src/XF.php(333): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}
Request state
array(4) {
  ["url"] => string(24) "/forums/suggerimenti.28/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

JB

Administrator
Staff member
Joined
Feb 17, 2018
Messages
249
Likes
105
#3
I've upgraded to 10.29 just to have a lot of these in the error log of Xenforo
Code:
ErrorException: [E_NOTICE] Undefined index: HTTP_USER_AGENT src/addons/Appify/Listener.php:192
Generated by: Unknown account Mar 15, 2019 at 8:41 PM
Stack trace
#0 src/addons/Appify/Listener.php(192): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/kogit/for...', 192, Array)
#1 [internal function]: Appify\Listener::someMobileInformations(Object(Appify\XF\Template\Templater), 'public', 'login', Array)
#2 src/XF/Extension.php(35): call_user_func_array(Array, Array)
#3 src/XF/App.php(2395): XF\Extension->fire('templater_templ...', Array, 'public:login')
#4 src/XF/Template/Templater.php(1232): XF\App->fire('templater_templ...', Array, 'public:login')
#5 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('login', Array)
#6 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#7 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Error\\Regist...', 'public:login', Array)
#8 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/App.php(1934): XF\Mvc\Dispatcher->run()
#11 src/XF.php(333): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}
Request state
array(4) {
  ["url"] => string(24) "/forums/suggerimenti.28/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
Hello @andreamarucci , sorry about that...

I will fix this error this morning in the 10.31.01 version.

Best regards