Live Free
Active member
My server error is throwing several similar errors every minute related to a plugin.
I believe I can identify which portion of the add-on is causing it if I can get the full message that's currently replace with eclipses here:
I understand why the server error log might cut the expression but is there a way to see the expression related to the error?
Code:
Server Error Log
Error Info
ErrorException: Undefined variable: forum - library/WidgetFramework/WidgetRenderer.php(498) : runtime-created function:1
Generated By: Unknown Account, 5 minutes ago
Stack Trace
#0 /home/admin/public_html/library/WidgetFramework/WidgetRenderer.php(498) : runtime-created function(1): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/admin/p...', 1, Array)
#1 [internal function]: __lambda_func(Array)
#2 /home/admin/public_html/library/WidgetFramework/WidgetRenderer.php(502): call_user_func('\x00lambda_127', Array)
#3 /home/admin/public_html/library/WidgetFramework/WidgetRenderer.php(588): WidgetFramework_WidgetRenderer->_executeExpression('!in_array($foru...', Array)
#4 /home/admin/public_html/library/WidgetFramework/Core.php(397): WidgetFramework_WidgetRenderer->render(Array, 'forum_list', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString))
#5 /home/admin/public_html/library/WidgetFramework/Core.php(316): WidgetFramework_Core->_renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n...')
#6 /home/admin/public_html/library/WidgetFramework/Listener.php(126): WidgetFramework_Core->renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), Array)
#7 [internal function]: WidgetFramework_Listener::template_post_render('forum_list', '\n\t\n\n\n\n\n\n\t\n\n\n\n\n\n...', Array, Object(XenForo_Template_Public))
#8 /home/admin/public_html/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array)
#9 /home/admin/public_html/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array, 'forum_list')
#10 /home/admin/public_html/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#11 /home/admin/public_html/library/XenForo/ViewRenderer/HtmlPublic.php(123): XenForo_Template_Public->render()
#12 /home/admin/public_html/library/XenForo/FrontController.php(618): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#13 /home/admin/public_html/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#14 /home/admin/public_html/index.php(13): XenForo_FrontController->run()
#15 {main}
Request State
array(3) {
["url"] => string(29) "http://www.mywebsite.com/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
I believe I can identify which portion of the add-on is causing it if I can get the full message that's currently replace with eclipses here:
Code:
#0 /home/admin/public_html/library/WidgetFramework/WidgetRenderer.php(498) : runtime-created function(1): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/admin/p...', 1, Array)
#1 [internal function]: __lambda_func(Array)
#2 /home/admin/public_html/library/WidgetFramework/WidgetRenderer.php(502): call_user_func('\x00lambda_127', Array)
#3 /home/admin/public_html/library/WidgetFramework/WidgetRenderer.php(588): WidgetFramework_WidgetRenderer->_executeExpression('!in_array($foru...', Array)
I understand why the server error log might cut the expression but is there a way to see the expression related to the error?